Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 94.59 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3538/0.3538, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.289e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 58.85 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5189, allocations: 84.97 MB / 0.5558 GB, free: 18.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.5191, allocations: 65.52 kB / 0.5558 GB, free: 18.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002326/0.5215, allocations: 1.031 MB / 0.5568 GB, free: 17.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5215, allocations: 0 / 0.5568 GB, free: 17.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.5215, allocations: 8 kB / 0.5569 GB, free: 17.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002324/0.5218, allocations: 331.1 kB / 0.5572 GB, free: 17.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5218, allocations: 12.03 kB / 0.5572 GB, free: 17.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.5218, allocations: 10.94 kB / 0.5572 GB, free: 17.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.522, allocations: 177.7 kB / 0.5574 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.522, allocations: 0 / 0.5574 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.522, allocations: 4 kB / 0.5574 GB, free: 17.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.5221, allocations: 67.33 kB / 0.5574 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5221, allocations: 4 kB / 0.5574 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5221, allocations: 0 / 0.5574 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5222, allocations: 7.297 kB / 0.5574 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.5222, allocations: 18.69 kB / 0.5575 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.5226, allocations: 452.9 kB / 0.5579 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5227, allocations: 33.59 kB / 0.5579 GB, free: 16.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.5228, allocations: 11.86 kB / 0.5579 GB, free: 16.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5228, allocations: 4 kB / 0.5579 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.5228, allocations: 31.88 kB / 0.558 GB, free: 16.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5228, allocations: 4 kB / 0.558 GB, free: 16.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003216/0.5231, allocations: 79.05 kB / 0.558 GB, free: 16.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.5232, allocations: 55.36 kB / 0.5581 GB, free: 16.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.5232, allocations: 112.6 kB / 0.5582 GB, free: 16.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.5232, allocations: 28.05 kB / 0.5582 GB, free: 16.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.5233, allocations: 89.61 kB / 0.5583 GB, free: 16.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.5233, allocations: 16.14 kB / 0.5583 GB, free: 16.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.5233, allocations: 0 / 0.5583 GB, free: 16.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.5234, allocations: 324.8 kB / 0.5586 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.5234, allocations: 7.688 kB / 0.5587 GB, free: 15.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.5234, allocations: 38.88 kB / 0.5587 GB, free: 15.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.5235, allocations: 13.52 kB / 0.5587 GB, free: 15.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5235, allocations: 4 kB / 0.5587 GB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.284e-05/0.5236, allocations: 75.62 kB / 0.5588 GB, free: 15.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.5236, allocations: 8 kB / 0.5588 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5236, allocations: 1.688 kB / 0.5588 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5236, allocations: 0 / 0.5588 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.5237, allocations: 17.2 kB / 0.5588 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5237, allocations: 0 / 0.5588 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.5237, allocations: 9.219 kB / 0.5588 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.5238, allocations: 4.094 kB / 0.5588 GB, free: 15.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.5238, allocations: 109.7 kB / 0.5589 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.5238, allocations: 9.266 kB / 0.5589 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.5239, allocations: 7.281 kB / 0.5589 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5239, allocations: 1.641 kB / 0.5589 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5239, allocations: 4 kB / 0.5589 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5239, allocations: 0 / 0.5589 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.524, allocations: 172.2 kB / 0.5591 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.524, allocations: 0 / 0.5591 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.5241, allocations: 11.94 kB / 0.5591 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5241, allocations: 8 kB / 0.5591 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5241, allocations: 0.6562 kB / 0.5591 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5241, allocations: 0 / 0.5591 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5241, allocations: 0 / 0.5591 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5243, allocations: 170.8 kB / 0.5593 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.5243, allocations: 81.02 kB / 0.5594 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.5243, allocations: 9 kB / 0.5594 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.5244, allocations: 7.562 kB / 0.5594 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.5244, allocations: 5.359 kB / 0.5594 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5244, allocations: 2.688 kB / 0.5594 GB, free: 15.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.5245, allocations: 90.62 kB / 0.5595 GB, free: 14.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5245, allocations: 0 / 0.5595 GB, free: 14.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.5247, allocations: 11.88 kB / 0.5595 GB, free: 14.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.495e-05/0.5248, allocations: 95.25 kB / 0.5596 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.5249, allocations: 31.66 kB / 0.5596 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5249, allocations: 4.062 kB / 0.5596 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.5249, allocations: 17.62 kB / 0.5596 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.5251, allocations: 9.891 kB / 0.5596 GB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.5254, allocations: 103.5 kB / 0.5597 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.5255, allocations: 0.6894 MB / 0.5604 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.5256, allocations: 1.453 kB / 0.5604 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.5256, allocations: 19.38 kB / 0.5604 GB, free: 13.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5256, allocations: 0 / 0.5604 GB, free: 13.98 MB / 394.7 MB Notification: Performance of Templates: time 0.002173/0.5278, allocations: 454.1 kB / 0.5609 GB, free: 13.72 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches