Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001636/0.001636, allocations: 110 kB / 21.23 MB, free: 0.6602 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.002107/0.002107, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Blocks.IntegratorForceState")
translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.89 kB / 497.7 MB, free: 1.02 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4473, allocations: 64.3 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003165/0.4504, allocations: 1.567 MB / 0.5503 GB, free: 11.89 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002411/0.4507, allocations: 57.67 kB / 0.5504 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.4507, allocations: 1.25 kB / 0.5504 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.4509, allocations: 5.125 kB / 0.5504 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.4509, allocations: 3.938 kB / 0.5504 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.451, allocations: 20.89 kB / 0.5504 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001358/0.4512, allocations: 54.23 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.4513, allocations: 7.312 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.4513, allocations: 17.17 kB / 0.5505 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.4514, allocations: 11.16 kB / 0.5505 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4514, allocations: 2.375 kB / 0.5505 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.4514, allocations: 3.094 kB / 0.5505 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.4514, allocations: 9.453 kB / 0.5505 GB, free: 11.76 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.4515, allocations: 16.5 kB / 0.5505 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.4516, allocations: 36.48 kB / 0.5506 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4516, allocations: 0 / 0.5506 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.182e-06/0.4516, allocations: 0 / 0.5506 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.711e-06/0.4516, allocations: 5.156 kB / 0.5506 GB, free: 11.71 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.0004742/0.4521, allocations: 279.8 kB / 0.5508 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4521, allocations: 9.984 kB / 0.5509 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.4521, allocations: 8.438 kB / 0.5509 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4523, allocations: 121 kB / 0.551 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4524, allocations: 2.594 kB / 0.551 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4524, allocations: 6.438 kB / 0.551 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4526, allocations: 86.09 kB / 0.5511 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4526, allocations: 192 / 0.5511 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4526, allocations: 4.875 kB / 0.5511 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4526, allocations: 1.094 kB / 0.5511 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.4527, allocations: 26.45 kB / 0.5511 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.4532, allocations: 419.6 kB / 0.5515 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4534, allocations: 45.78 kB / 0.5515 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.4535, allocations: 15.91 kB / 0.5516 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4535, allocations: 0 / 0.5516 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4536, allocations: 35.91 kB / 0.5516 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4536, allocations: 0 / 0.5516 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0005346/0.4541, allocations: 111.2 kB / 0.5517 GB, free: 10.58 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4541, allocations: 52.75 kB / 0.5517 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4542, allocations: 109.4 kB / 0.5519 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4543, allocations: 30.95 kB / 0.5519 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.4543, allocations: 94.41 kB / 0.552 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4544, allocations: 17.23 kB / 0.552 GB, free: 10.27 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.4544, allocations: 19.44 kB / 0.552 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001476/0.4546, allocations: 320.2 kB / 0.5523 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.4546, allocations: 16.08 kB / 0.5523 GB, free: 9.918 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.4547, allocations: 42.33 kB / 0.5524 GB, free: 9.875 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.4548, allocations: 56.2 kB / 0.5524 GB, free: 9.828 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4548, allocations: 7.875 kB / 0.5524 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001785/0.455, allocations: 84.53 kB / 0.5525 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.455, allocations: 5.438 kB / 0.5525 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.455, allocations: 5.188 kB / 0.5525 GB, free: 9.758 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.455, allocations: 3.062 kB / 0.5525 GB, free: 9.758 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.4551, allocations: 13.83 kB / 0.5525 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4551, allocations: 0 / 0.5525 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.4551, allocations: 2.656 kB / 0.5525 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4552, allocations: 6.719 kB / 0.5525 GB, free: 9.75 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.000113/0.4553, allocations: 125.8 kB / 0.5527 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4553, allocations: 1.562 kB / 0.5527 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.4553, allocations: 13.23 kB / 0.5527 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4553, allocations: 5.312 kB / 0.5527 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4553, allocations: 384 / 0.5527 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4553, allocations: 0 / 0.5527 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4556, allocations: 146.7 kB / 0.5528 GB, free: 9.422 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4556, allocations: 0 / 0.5528 GB, free: 9.422 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.4556, allocations: 8.5 kB / 0.5528 GB, free: 9.422 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4556, allocations: 5.734 kB / 0.5528 GB, free: 9.418 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4556, allocations: 0 / 0.5528 GB, free: 9.418 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.4556, allocations: 3.984 kB / 0.5528 GB, free: 9.414 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4556, allocations: 1.156 kB / 0.5528 GB, free: 9.414 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.4559, allocations: 186.4 kB / 0.553 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.4559, allocations: 5.297 kB / 0.553 GB, free: 9.242 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.456, allocations: 5.719 kB / 0.553 GB, free: 9.238 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.456, allocations: 5.078 kB / 0.553 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4561, allocations: 1.375 kB / 0.553 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4561, allocations: 1.344 kB / 0.553 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 6.504e-05/0.4561, allocations: 90.89 kB / 0.5531 GB, free: 9.152 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4561, allocations: 4 kB / 0.5531 GB, free: 9.148 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002262/0.4563, allocations: 11.09 kB / 0.5531 GB, free: 9.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.0001053/0.4565, allocations: 93.41 kB / 0.5532 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001744/0.4566, allocations: 42.25 kB / 0.5533 GB, free: 9.035 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4566, allocations: 0 / 0.5533 GB, free: 9.035 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.4567, allocations: 10.19 kB / 0.5533 GB, free: 9.035 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.457, allocations: 20.42 kB / 0.5533 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.4574, allocations: 155 kB / 0.5534 GB, free: 8.883 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4578, allocations: 0.6861 MB / 0.5541 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 3.492e-05/0.4578, allocations: 6.797 kB / 0.5541 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.4579, allocations: 9.688 kB / 0.5541 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.4579, allocations: 3.938 kB / 0.5541 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of Templates: time 0.003325/0.4612, allocations: 0.5402 MB / 0.5547 GB, free: 7.895 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.379245799034834]