Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001949/0.001949, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002328/0.002328, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions")
translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 68.77 kB / 379 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2671, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004103/0.2712, allocations: 2.508 MB / 434.9 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006498/0.2719, allocations: 267 kB / 435.2 MB, free: 4.156 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.2721, allocations: 7.938 kB / 435.2 MB, free: 4.148 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000162/0.2722, allocations: 43.58 kB / 435.2 MB, free: 4.105 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.2724, allocations: 95.19 kB / 435.3 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.2726, allocations: 59.91 kB / 435.4 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003782/0.273, allocations: 326.4 kB / 435.7 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2732, allocations: 75.58 kB / 435.8 MB, free: 3.555 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2733, allocations: 119.6 kB / 435.9 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2735, allocations: 127.4 kB / 436 MB, free: 3.312 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.2735, allocations: 24 kB / 436 MB, free: 3.289 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.2736, allocations: 28 kB / 436.1 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.2736, allocations: 59.81 kB / 436.1 MB, free: 3.203 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2738, allocations: 143.3 kB / 436.2 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.2741, allocations: 320.4 kB / 436.6 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2741, allocations: 0 / 436.6 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.302e-06/0.2741, allocations: 0 / 436.6 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.061e-06/0.2741, allocations: 0 / 436.6 MB, free: 2.754 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: 64
 * Number of variables: 64
Notification: Performance of Generate backend data structure: time 0.0008347/0.275, allocations: 0.5015 MB / 437.1 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.275, allocations: 15.95 kB / 437.1 MB, free: 2.203 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.2751, allocations: 32.75 kB / 437.1 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.2754, allocations: 190.8 kB / 437.3 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2754, allocations: 21.03 kB / 437.3 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.2754, allocations: 24.38 kB / 437.3 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.2759, allocations: 264.3 kB / 437.6 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2759, allocations: 192 / 437.6 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.2759, allocations: 19.94 kB / 437.6 MB, free: 1.629 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2759, allocations: 8 kB / 437.6 MB, free: 1.621 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.2762, allocations: 171.9 kB / 437.8 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2773, allocations: 0.7102 MB / 438.5 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.2777, allocations: 257.3 kB / 438.8 MB, free: 436 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2779, allocations: 117.9 kB / 438.9 MB, free: 312 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2779, allocations: 11.92 kB / 438.9 MB, free: 300 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.278, allocations: 38.56 kB / 438.9 MB, free: 252 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.278, allocations: 4 kB / 438.9 MB, free: 248 kB / 334.1 MB
Notification: Performance of matching and sorting (n=48): time 0.002676/0.2806, allocations: 1.419 MB / 440.3 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2807, allocations: 81.11 kB / 440.4 MB, free: 14.63 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.2809, allocations: 192.7 kB / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.2809, allocations: 29.7 kB / 440.6 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.281, allocations: 144.8 kB / 440.8 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.2812, allocations: 182.4 kB / 441 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2813, allocations: 82.19 kB / 441 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001619/0.2814, allocations: 338.8 kB / 441.4 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2816, allocations: 105 kB / 441.5 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2819, allocations: 156.8 kB / 441.6 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.2823, allocations: 286.1 kB / 441.9 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2823, allocations: 0 / 441.9 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005524/0.2829, allocations: 370 kB / 442.3 MB, free: 12.72 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2829, allocations: 4 kB / 442.3 MB, free: 12.72 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2829, allocations: 0 / 442.3 MB, free: 12.72 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2829, allocations: 4 kB / 442.3 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.2833, allocations: 99.83 kB / 442.4 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2833, allocations: 4 kB / 442.4 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2834, allocations: 12 kB / 442.4 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.2834, allocations: 12 kB / 442.4 MB, free: 12.59 MB / 350.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (58):
 * Single equations (assignments): 58
 * 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.0001588/0.2836, allocations: 161.8 kB / 442.6 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.2837, allocations: 35.75 kB / 442.6 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/0.2838, allocations: 37.97 kB / 442.6 MB, free: 12.35 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2838, allocations: 4 kB / 442.6 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2838, allocations: 3.938 kB / 442.6 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2838, allocations: 3.984 kB / 442.6 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.2851, allocations: 0.9117 MB / 443.6 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2851, allocations: 0 / 443.6 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.2855, allocations: 91.91 kB / 443.6 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.2856, allocations: 7.984 kB / 443.7 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2856, allocations: 15.94 kB / 443.7 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2856, allocations: 0 / 443.7 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.2856, allocations: 7.938 kB / 443.7 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.2864, allocations: 0.6395 MB / 444.3 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.2865, allocations: 27.73 kB / 444.3 MB, free: 10.56 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2865, allocations: 12 kB / 444.4 MB, free: 10.55 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2867, allocations: 8 kB / 444.4 MB, free: 10.54 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2867, allocations: 35.94 kB / 444.4 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2867, allocations: 12 kB / 444.4 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001186/0.2869, allocations: 139.2 kB / 444.5 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2869, allocations: 0 / 444.5 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003686/0.2872, allocations: 79.94 kB / 444.6 MB, free: 10.28 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v)
 * 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 (48):
 * Single equations (assignments): 48
 * 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.0001291/0.2874, allocations: 111.2 kB / 444.7 MB, free: 10.16 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000476/0.2878, allocations: 277.5 kB / 445 MB, free: 9.887 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2878, allocations: 4.125 kB / 445 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2881, allocations: 143.8 kB / 445.1 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2886, allocations: 69.53 kB / 445.2 MB, free: 9.68 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2902, allocations: 1.01 MB / 446.2 MB, free: 8.633 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.2906, allocations: 0.7765 MB / 447 MB, free: 7.828 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001241/0.2907, allocations: 38.89 kB / 447 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.2908, allocations: 27.44 kB / 447.1 MB, free: 7.762 MB / 350.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.2908, allocations: 0 / 447.1 MB, free: 7.762 MB / 350.1 MB
Notification: Performance of Templates: time 0.007443/0.2982, allocations: 3.346 MB / 450.4 MB, free: 4.438 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.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.609344274736941]