Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.001275/0.001275, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001392/0.001392, allocations: 208 kB / 24.54 MB, free: 4.055 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.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First")
translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003195/0.003195, allocations: 63.89 kB / 378.7 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2675, allocations: 53.36 MB / 432.1 MB, free: 7.051 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003743/0.2713, allocations: 2.394 MB / 434.5 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001135/0.2724, allocations: 0.6582 MB / 435.2 MB, free: 3.988 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2725, allocations: 7.938 kB / 435.2 MB, free: 3.98 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2727, allocations: 39.59 kB / 435.2 MB, free: 3.941 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.2728, allocations: 75.33 kB / 435.3 MB, free: 3.867 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2731, allocations: 67.86 kB / 435.4 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003236/0.2734, allocations: 274.6 kB / 435.6 MB, free: 3.531 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2736, allocations: 71.25 kB / 435.7 MB, free: 3.457 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2738, allocations: 123.6 kB / 435.8 MB, free: 3.336 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.274, allocations: 111.5 kB / 435.9 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.274, allocations: 20 kB / 435.9 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.2741, allocations: 35.92 kB / 436 MB, free: 3.172 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.2741, allocations: 47.84 kB / 436 MB, free: 3.125 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2743, allocations: 119.4 kB / 436.1 MB, free: 3.008 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.2746, allocations: 268.6 kB / 436.4 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2746, allocations: 0 / 436.4 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.2746, allocations: 0 / 436.4 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.582e-06/0.2747, allocations: 7.938 kB / 436.4 MB, free: 2.746 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 54
 * Number of variables: 54
Notification: Performance of Generate backend data structure: time 0.000798/0.2754, allocations: 465.5 kB / 436.9 MB, free: 2.262 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2755, allocations: 12.03 kB / 436.9 MB, free: 2.25 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2757, allocations: 36.73 kB / 436.9 MB, free: 2.215 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.276, allocations: 190.8 kB / 437.1 MB, free: 2 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2761, allocations: 16.81 kB / 437.1 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.2761, allocations: 32.33 kB / 437.1 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.2765, allocations: 191.6 kB / 437.3 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2765, allocations: 3.938 kB / 437.3 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.2766, allocations: 15.94 kB / 437.3 MB, free: 1.742 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2766, allocations: 4 kB / 437.4 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2769, allocations: 141.7 kB / 437.5 MB, free: 1.598 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2779, allocations: 0.5949 MB / 438.1 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.2782, allocations: 166.6 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2784, allocations: 88.81 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2784, allocations: 4 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2785, allocations: 34.55 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.2785, allocations: 4 kB / 438.4 MB, free: 0.6484 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002027/0.2805, allocations: 0.9196 MB / 439.3 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2805, allocations: 63.34 kB / 439.4 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2808, allocations: 179.2 kB / 439.5 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2808, allocations: 33.7 kB / 439.6 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2809, allocations: 136.9 kB / 439.7 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.281, allocations: 119 kB / 439.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.2811, allocations: 57.69 kB / 439.9 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001533/0.2812, allocations: 330.8 kB / 440.2 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2814, allocations: 75.95 kB / 440.3 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.2816, allocations: 107.2 kB / 440.4 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.2819, allocations: 188.1 kB / 440.6 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2819, allocations: 0 / 440.6 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.000552/0.2825, allocations: 303.1 kB / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2825, allocations: 8 kB / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2825, allocations: 0 / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.2827, allocations: 44.83 kB / 440.9 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2829, allocations: 59.91 kB / 441 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.2846, allocations: 1.629 MB / 442.6 MB, free: 12.19 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2848, allocations: 12.09 kB / 442.6 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2848, allocations: 8 kB / 442.6 MB, free: 12.17 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (32):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.285, allocations: 142 kB / 442.8 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.285, allocations: 27.78 kB / 442.8 MB, free: 12 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.2851, allocations: 26.66 kB / 442.8 MB, free: 11.97 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2851, allocations: 7.938 kB / 442.8 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2851, allocations: 0 / 442.8 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2851, allocations: 8.109 kB / 442.8 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2863, allocations: 0.7657 MB / 443.6 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2863, allocations: 0 / 443.6 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.2866, allocations: 55.91 kB / 443.6 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.2867, allocations: 44.92 kB / 443.7 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2867, allocations: 4 kB / 443.7 MB, free: 11.01 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.288, allocations: 1.389 MB / 445.1 MB, free: 9.504 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.288, allocations: 0 / 445.1 MB, free: 9.504 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.2888, allocations: 490.6 kB / 445.6 MB, free: 8.996 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.2888, allocations: 19.89 kB / 445.6 MB, free: 8.977 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2889, allocations: 8 kB / 445.6 MB, free: 8.969 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.289, allocations: 12 kB / 445.6 MB, free: 8.957 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.2891, allocations: 19.95 kB / 445.6 MB, free: 8.938 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.2891, allocations: 12 kB / 445.6 MB, free: 8.926 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001191/0.2892, allocations: 136.4 kB / 445.8 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.2892, allocations: 0 / 445.8 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003914/0.2896, allocations: 68 kB / 445.8 MB, free: 8.727 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel)
 * 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 (29):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.2897, allocations: 99.19 kB / 445.9 MB, free: 8.621 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006671/0.2904, allocations: 330.4 kB / 446.2 MB, free: 8.285 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2904, allocations: 4.125 kB / 446.2 MB, free: 8.281 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.2908, allocations: 234.5 kB / 446.5 MB, free: 8.039 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.2912, allocations: 44.14 kB / 446.5 MB, free: 7.996 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2926, allocations: 0.7437 MB / 447.3 MB, free: 7.219 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.293, allocations: 0.7525 MB / 448 MB, free: 6.441 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.719e-05/0.2931, allocations: 22.28 kB / 448 MB, free: 6.418 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.2931, allocations: 23.44 kB / 448.1 MB, free: 6.398 MB / 350.1 MB
Notification: Performance of SimCode: time 5.61e-07/0.2931, allocations: 0 / 448.1 MB, free: 6.398 MB / 350.1 MB
Notification: Performance of Templates: time 0.007297/0.3004, allocations: 2.901 MB / 451 MB, free: 3.512 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.4256839929148555]