Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 230.3 MB / 258 MB, free: 8.457 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.89 MB / 361.3 MB, free: 4.527 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState")
translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 75.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2631, allocations: 66.03 MB / 0.5615 GB, free: 4.688 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002562/0.2656, allocations: 1.574 MB / 0.5631 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002213/0.2659, allocations: 79.72 kB / 0.5631 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.2659, allocations: 0 / 0.5631 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 9.716e-05/0.266, allocations: 11.88 kB / 0.5631 GB, free: 3.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.266, allocations: 3.938 kB / 0.5631 GB, free: 3.016 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.2662, allocations: 19.92 kB / 0.5632 GB, free: 2.996 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.2663, allocations: 31.86 kB / 0.5632 GB, free: 2.965 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.2663, allocations: 18.78 kB / 0.5632 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.2664, allocations: 15.94 kB / 0.5632 GB, free: 2.934 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.2664, allocations: 15.92 kB / 0.5632 GB, free: 2.918 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2664, allocations: 0 / 0.5632 GB, free: 2.918 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.2665, allocations: 8 kB / 0.5633 GB, free: 2.91 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.2665, allocations: 4 kB / 0.5633 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.2665, allocations: 19.86 kB / 0.5633 GB, free: 2.887 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.2666, allocations: 31.83 kB / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2666, allocations: 0 / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.2666, allocations: 3.938 kB / 0.5633 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.459e-06/0.2666, allocations: 4 kB / 0.5633 GB, free: 2.848 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.0003773/0.267, allocations: 277.9 kB / 0.5636 GB, free: 2.547 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.267, allocations: 8.031 kB / 0.5636 GB, free: 2.539 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.267, allocations: 12.89 kB / 0.5636 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.2672, allocations: 118.5 kB / 0.5637 GB, free: 2.387 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.2672, allocations: 384 / 0.5637 GB, free: 2.387 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2672, allocations: 4.375 kB / 0.5637 GB, free: 2.383 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2674, allocations: 76.73 kB / 0.5638 GB, free: 2.293 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2674, allocations: 192 / 0.5638 GB, free: 2.293 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2674, allocations: 7.938 kB / 0.5638 GB, free: 2.285 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2674, allocations: 4 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.2675, allocations: 19.98 kB / 0.5638 GB, free: 2.262 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.268, allocations: 424.2 kB / 0.5642 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.2681, allocations: 42.56 kB / 0.5643 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.2682, allocations: 16.94 kB / 0.5643 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2682, allocations: 4 kB / 0.5643 GB, free: 1.723 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.2682, allocations: 34.5 kB / 0.5643 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2682, allocations: 0 / 0.5643 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0004262/0.2686, allocations: 109.5 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2687, allocations: 55.41 kB / 0.5645 GB, free: 1.5 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.2688, allocations: 121.7 kB / 0.5646 GB, free: 1.371 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2688, allocations: 25.7 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.2688, allocations: 92.09 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2689, allocations: 23.77 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.2689, allocations: 17.72 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000128/0.269, allocations: 322.8 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.2691, allocations: 16 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.2691, allocations: 43.41 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2693, allocations: 63.36 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2693, allocations: 0 / 0.5652 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.2694, allocations: 85.56 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2694, allocations: 7.984 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2694, allocations: 0 / 0.5653 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2695, allocations: 4 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.2695, allocations: 11.94 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2695, allocations: 4 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.2696, allocations: 4.094 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2696, allocations: 7.984 kB / 0.5653 GB, free: 0.6016 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 8.221e-05/0.2697, allocations: 117.8 kB / 0.5654 GB, free: 488 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2697, allocations: 3.953 kB / 0.5654 GB, free: 484 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2697, allocations: 12 kB / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2697, allocations: 0 / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2697, allocations: 0 / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2697, allocations: 0 / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2699, allocations: 144.7 kB / 0.5656 GB, free: 276 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2699, allocations: 0 / 0.5656 GB, free: 276 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.2699, allocations: 23.98 kB / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.27, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.27, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.27, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.27, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2702, allocations: 179.4 kB / 0.5657 GB, free: 56 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.2702, allocations: 7.984 kB / 0.5658 GB, free: 48 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2702, allocations: 8.062 kB / 0.5658 GB, free: 40 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2703, allocations: 0 / 0.5658 GB, free: 40 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.2703, allocations: 3.984 kB / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.2703, allocations: 4 kB / 0.5658 GB, free: 32 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 6.678e-05/0.2704, allocations: 91.59 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 0 / 0.5659 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000214/0.2706, allocations: 7.938 kB / 0.5659 GB, free: 15.93 MB / 414.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 8.018e-05/0.2707, allocations: 99.59 kB / 0.566 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001567/0.2708, allocations: 39.92 kB / 0.566 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2708, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.2709, allocations: 24.02 kB / 0.566 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2711, allocations: 10.28 kB / 0.566 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.2714, allocations: 162 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2717, allocations: 0.6848 MB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 2.996e-05/0.2717, allocations: 7.984 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.2718, allocations: 11.44 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.2718, allocations: 0 / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of Templates: time 0.002604/0.2744, allocations: 475.6 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.433457755483687]