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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 192 kB / 22.98 MB, free: 5.078 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.24 MB / 330.2 MB, free: 9.637 MB / 270.1 MB
"
[Timeout remaining time 179]
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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState")
translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 467.9 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.143, allocations: 61.03 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003092/0.1461, allocations: 1.565 MB / 0.5181 GB, free: 5.316 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002459/0.1464, allocations: 55.75 kB / 0.5182 GB, free: 5.262 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.1464, allocations: 7.938 kB / 0.5182 GB, free: 5.254 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1466, allocations: 7.922 kB / 0.5182 GB, free: 5.246 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.1466, allocations: 11.92 kB / 0.5182 GB, free: 5.234 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1468, allocations: 15.98 kB / 0.5182 GB, free: 5.219 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1469, allocations: 39.86 kB / 0.5182 GB, free: 5.18 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.147, allocations: 7.984 kB / 0.5182 GB, free: 5.172 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.1471, allocations: 11.94 kB / 0.5183 GB, free: 5.16 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.1471, allocations: 15.92 kB / 0.5183 GB, free: 5.145 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1472, allocations: 7.938 kB / 0.5183 GB, free: 5.137 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.1472, allocations: 0 / 0.5183 GB, free: 5.137 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.1472, allocations: 11.94 kB / 0.5183 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.1472, allocations: 15.92 kB / 0.5183 GB, free: 5.109 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1474, allocations: 35.83 kB / 0.5183 GB, free: 5.074 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1474, allocations: 4 kB / 0.5183 GB, free: 5.07 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.503e-06/0.1474, allocations: 0 / 0.5183 GB, free: 5.07 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.344e-06/0.1474, allocations: 0 / 0.5183 GB, free: 5.07 MB / 398.1 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.0005079/0.1479, allocations: 274.2 kB / 0.5186 GB, free: 4.77 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1479, allocations: 12.03 kB / 0.5186 GB, free: 4.758 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.148, allocations: 4.891 kB / 0.5186 GB, free: 4.754 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1482, allocations: 126.5 kB / 0.5187 GB, free: 4.605 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1482, allocations: 4.375 kB / 0.5187 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1482, allocations: 12.36 kB / 0.5188 GB, free: 4.59 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1484, allocations: 76.73 kB / 0.5188 GB, free: 4.5 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1484, allocations: 192 / 0.5188 GB, free: 4.5 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1484, allocations: 7.938 kB / 0.5188 GB, free: 4.492 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1484, allocations: 0 / 0.5188 GB, free: 4.492 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.1485, allocations: 27.92 kB / 0.5189 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.1491, allocations: 408.3 kB / 0.5192 GB, free: 4.016 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1493, allocations: 42.5 kB / 0.5193 GB, free: 3.965 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1493, allocations: 16.95 kB / 0.5193 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1493, allocations: 7.984 kB / 0.5193 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1493, allocations: 30.56 kB / 0.5193 GB, free: 3.898 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1494, allocations: 0 / 0.5193 GB, free: 3.898 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0005073/0.1499, allocations: 109.4 kB / 0.5194 GB, free: 3.785 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1499, allocations: 55.41 kB / 0.5195 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.15, allocations: 117.7 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.15, allocations: 29.7 kB / 0.5196 GB, free: 3.559 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1501, allocations: 96.08 kB / 0.5197 GB, free: 3.461 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1501, allocations: 15.84 kB / 0.5197 GB, free: 3.445 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1502, allocations: 25.7 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.1503, allocations: 318.8 kB / 0.5201 GB, free: 3.094 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.1504, allocations: 11.98 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1504, allocations: 47.42 kB / 0.5201 GB, free: 3.023 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1506, allocations: 59.36 kB / 0.5202 GB, free: 2.953 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1506, allocations: 0 / 0.5202 GB, free: 2.953 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.1507, allocations: 89.59 kB / 0.5203 GB, free: 2.859 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1508, allocations: 8 kB / 0.5203 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1508, allocations: 4 kB / 0.5203 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1508, allocations: 0 / 0.5203 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1508, allocations: 8 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1508, allocations: 4 kB / 0.5203 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.1509, allocations: 3.984 kB / 0.5203 GB, free: 2.832 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1509, allocations: 4 kB / 0.5203 GB, free: 2.828 MB / 398.1 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 ()
 * Number of clocked 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.151, allocations: 117.8 kB / 0.5204 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.151, allocations: 7.953 kB / 0.5204 GB, free: 2.695 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1511, allocations: 12.38 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1511, allocations: 0 / 0.5204 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1511, allocations: 0 / 0.5204 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1511, allocations: 3.938 kB / 0.5204 GB, free: 2.672 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1512, allocations: 152.6 kB / 0.5206 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1513, allocations: 0 / 0.5206 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.1513, allocations: 11.98 kB / 0.5206 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1513, allocations: 0 / 0.5206 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1513, allocations: 0 / 0.5206 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1513, allocations: 0 / 0.5206 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1513, allocations: 4 kB / 0.5206 GB, free: 2.465 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1516, allocations: 179.5 kB / 0.5208 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.1516, allocations: 7.984 kB / 0.5208 GB, free: 2.266 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1516, allocations: 0 / 0.5208 GB, free: 2.266 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1517, allocations: 384 / 0.5208 GB, free: 2.266 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.1517, allocations: 7.984 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1517, allocations: 4 kB / 0.5208 GB, free: 2.254 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 5.966e-05/0.1518, allocations: 103.2 kB / 0.5209 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1518, allocations: 0 / 0.5209 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002264/0.152, allocations: 8 kB / 0.5209 GB, free: 2.145 MB / 398.1 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 ()
 * Number of clocked 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.1521, allocations: 99.17 kB / 0.521 GB, free: 2.039 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001782/0.1523, allocations: 39.92 kB / 0.521 GB, free: 2 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1523, allocations: 0 / 0.521 GB, free: 2 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.1524, allocations: 16.17 kB / 0.521 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1526, allocations: 13.34 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.1531, allocations: 162.7 kB / 0.5212 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1535, allocations: 0.6846 MB / 0.5219 GB, free: 1.078 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 3.725e-05/0.1535, allocations: 0 / 0.5219 GB, free: 1.078 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1536, allocations: 11.44 kB / 0.5219 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of SimCode: time 3.5e-07/0.1536, allocations: 4 kB / 0.5219 GB, free: 1.062 MB / 398.1 MB
Notification: Performance of Templates: time 0.003722/0.1573, allocations: 0.544 MB / 0.5224 GB, free: 0.5195 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.229605169035494]