Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001756/0.001756, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002174/0.002174, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.439/1.439, 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.89 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2565, allocations: 53.36 MB / 432.1 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003785/0.2603, allocations: 2.506 MB / 434.6 MB, free: 4.531 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00051/0.2608, allocations: 255.1 kB / 434.9 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2609, allocations: 7.938 kB / 434.9 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2611, allocations: 39.58 kB / 434.9 MB, free: 4.234 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2613, allocations: 103.1 kB / 435 MB, free: 4.133 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2614, allocations: 67.91 kB / 435.1 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000367/0.2618, allocations: 314.5 kB / 435.4 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.262, allocations: 75.52 kB / 435.5 MB, free: 3.68 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2621, allocations: 119.6 kB / 435.6 MB, free: 3.562 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2623, allocations: 135.4 kB / 435.7 MB, free: 3.43 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.2624, allocations: 28 kB / 435.7 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.2624, allocations: 24 kB / 435.8 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.2625, allocations: 51.84 kB / 435.8 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2626, allocations: 151.3 kB / 436 MB, free: 3.18 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.2631, allocations: 320.3 kB / 436.3 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2631, allocations: 0 / 436.3 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.2631, allocations: 3.938 kB / 436.3 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.037e-05/0.2631, allocations: 4 kB / 436.3 MB, free: 2.863 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.000883/0.264, allocations: 0.4898 MB / 436.8 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.264, allocations: 8.031 kB / 436.8 MB, free: 2.332 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.654e-05/0.2641, allocations: 32.75 kB / 436.8 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.2644, allocations: 194.8 kB / 437 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2644, allocations: 25.03 kB / 437 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.2645, allocations: 32.34 kB / 437.1 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.2649, allocations: 260.4 kB / 437.3 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2649, allocations: 4.188 kB / 437.3 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.265, allocations: 15.94 kB / 437.3 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.265, allocations: 8 kB / 437.3 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.2653, allocations: 175.8 kB / 437.5 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2664, allocations: 0.7141 MB / 438.2 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.2668, allocations: 256 kB / 438.5 MB, free: 0.5391 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.267, allocations: 117.9 kB / 438.6 MB, free: 428 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.267, allocations: 4 kB / 438.6 MB, free: 424 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.2671, allocations: 42.56 kB / 438.6 MB, free: 372 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.2671, allocations: 0 / 438.6 MB, free: 372 kB / 334.1 MB
Notification: Performance of matching and sorting (n=48): time 0.002689/0.2698, allocations: 1.421 MB / 440.1 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.2698, allocations: 89.05 kB / 440.1 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.27, allocations: 180.1 kB / 440.3 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2701, allocations: 33.7 kB / 440.4 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.2702, allocations: 140.8 kB / 440.5 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2703, allocations: 190.4 kB / 440.7 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2704, allocations: 70.2 kB / 440.7 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000176/0.2706, allocations: 342.8 kB / 441.1 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2708, allocations: 108.9 kB / 441.2 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.271, allocations: 156.8 kB / 441.3 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.2714, allocations: 282.1 kB / 441.6 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2714, allocations: 0 / 441.6 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.000566/0.272, allocations: 370 kB / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.272, allocations: 4 kB / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.272, allocations: 0 / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2721, allocations: 4 kB / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.2724, allocations: 107.8 kB / 442.1 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2725, allocations: 0 / 442.1 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2726, allocations: 16.06 kB / 442.1 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.2726, allocations: 16 kB / 442.1 MB, free: 12.7 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.0001501/0.2728, allocations: 145.8 kB / 442.3 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.2729, allocations: 39.69 kB / 442.3 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.273, allocations: 41.95 kB / 442.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.273, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.273, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.273, allocations: 0 / 442.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.2743, allocations: 0.9159 MB / 443.3 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2743, allocations: 3.938 kB / 443.3 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.2748, allocations: 95.89 kB / 443.4 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2748, allocations: 4 kB / 443.4 MB, free: 11.38 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.2748, allocations: 11.94 kB / 443.4 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2748, allocations: 0 / 443.4 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2748, allocations: 8.062 kB / 443.4 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.2756, allocations: 0.6433 MB / 444 MB, free: 10.7 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.2757, allocations: 31.78 kB / 444.1 MB, free: 10.67 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.2757, allocations: 7.938 kB / 444.1 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2759, allocations: 12 kB / 444.1 MB, free: 10.65 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.276, allocations: 31.95 kB / 444.1 MB, free: 10.62 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.276, allocations: 12 kB / 444.1 MB, free: 10.61 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001683/0.2762, allocations: 135.2 kB / 444.3 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.2762, allocations: 0 / 444.3 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004127/0.2766, allocations: 84 kB / 444.3 MB, free: 10.39 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.0001528/0.2768, allocations: 103.2 kB / 444.4 MB, free: 10.28 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005285/0.2773, allocations: 287.6 kB / 444.7 MB, free: 9.996 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2773, allocations: 0 / 444.7 MB, free: 9.996 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.2776, allocations: 144.6 kB / 444.9 MB, free: 9.855 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.2782, allocations: 74.95 kB / 444.9 MB, free: 9.785 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2799, allocations: 1.009 MB / 445.9 MB, free: 8.742 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.2803, allocations: 0.7765 MB / 446.7 MB, free: 7.934 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001336/0.2805, allocations: 30.95 kB / 446.7 MB, free: 7.902 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.2805, allocations: 27.44 kB / 446.8 MB, free: 7.875 MB / 350.1 MB
Notification: Performance of SimCode: time 6.22e-07/0.2805, allocations: 4 kB / 446.8 MB, free: 7.871 MB / 350.1 MB
Notification: Performance of Templates: time 0.007539/0.2881, allocations: 3.341 MB / 450.1 MB, free: 4.551 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.555509625934064]