Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.001605/0.001605, 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.001927/0.001927, 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 8.02 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.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [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.002017/0.002017, allocations: 68.75 kB / 379 MB, free: 2.629 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2517, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01311/0.2648, allocations: 10.75 MB / 443.2 MB, free: 12.15 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009065/0.2738, allocations: 3.926 MB / 447.1 MB, free: 8.219 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2757, allocations: 71.69 kB / 447.2 MB, free: 8.148 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004691/0.2804, allocations: 2.277 MB / 449.4 MB, free: 5.863 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004919/0.2853, allocations: 1.844 MB / 451.3 MB, free: 4.012 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.2869, allocations: 0.7174 MB / 452 MB, free: 3.293 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006817/0.2937, allocations: 4.32 MB / 456.3 MB, free: 14.96 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.297, allocations: 2.216 MB / 458.5 MB, free: 12.7 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.2996, allocations: 1.491 MB / 460 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.3029, allocations: 2.255 MB / 462.3 MB, free: 8.945 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007911/0.3037, allocations: 299.9 kB / 462.6 MB, free: 8.652 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.3059, allocations: 0.9441 MB / 463.5 MB, free: 7.707 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002039/0.308, allocations: 1.85 MB / 465.4 MB, free: 5.852 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00252/0.3105, allocations: 2.085 MB / 467.4 MB, free: 3.754 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007723/0.3182, allocations: 6.376 MB / 473.8 MB, free: 13.35 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3182, allocations: 4 kB / 473.8 MB, free: 13.35 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.733e-06/0.3182, allocations: 0 / 473.8 MB, free: 13.35 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0001393/0.3183, allocations: 0 / 473.8 MB, free: 13.35 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1469
 * Number of variables: 1469
Notification: Performance of Generate backend data structure: time 0.009208/0.3276, allocations: 4.606 MB / 478.4 MB, free: 8.684 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3276, allocations: 8.031 kB / 478.4 MB, free: 8.676 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007601/0.3352, allocations: 1.948 MB / 480.4 MB, free: 6.723 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.3399, allocations: 2.167 MB / 482.6 MB, free: 4.504 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.3401, allocations: 233.6 kB / 482.8 MB, free: 4.273 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006126/0.3407, allocations: 295.8 kB / 483.1 MB, free: 3.984 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.3577, allocations: 9.655 MB / 492.7 MB, free: 9.566 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.3578, allocations: 47.58 kB / 492.8 MB, free: 9.52 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.3582, allocations: 143.9 kB / 492.9 MB, free: 9.379 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003101/0.3613, allocations: 1.919 MB / 494.8 MB, free: 7.457 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.3776, allocations: 7.641 MB / 0.4907 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.4283, allocations: 37.55 MB / 0.5274 GB, free: 9.074 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007035/0.4353, allocations: 2.344 MB / 0.5297 GB, free: 6.691 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4367, allocations: 0.8065 MB / 0.5304 GB, free: 5.875 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006477/0.4432, allocations: 3.086 MB / 0.5335 GB, free: 2.758 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.4432, allocations: 51.22 kB / 0.5335 GB, free: 2.699 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=134): time 3.727e-06/0.4432, allocations: 0 / 0.5335 GB, free: 2.699 MB / 446.1 MB
Notification: Performance of matching and sorting (n=152): time 0.2342/0.6774, allocations: 9.112 MB / 0.5424 GB, free: 98.43 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.6774, allocations: 151.4 kB / 0.5426 GB, free: 98.27 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005556/0.683, allocations: 3.924 MB / 0.5464 GB, free: 96.96 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.6832, allocations: 42.95 kB / 0.5464 GB, free: 96.92 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.685, allocations: 3.211 MB / 0.5496 GB, free: 94.71 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.6856, allocations: 0.6342 MB / 0.5502 GB, free: 94.26 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.6867, allocations: 1.176 MB / 0.5513 GB, free: 93.67 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 5.536e-05/0.6867, allocations: 308.4 kB / 0.5516 GB, free: 93.38 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.6887, allocations: 1.585 MB / 0.5532 GB, free: 92.9 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003195/0.6919, allocations: 5.358 MB / 0.5584 GB, free: 87.3 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/0.6977, allocations: 7.554 MB / 0.5658 GB, free: 79.87 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.999e-05/0.6978, allocations: 36 kB / 0.5658 GB, free: 79.83 MB / 446.1 MB
Notification: Performance of matching and sorting (n=770) (initialization): time 0.009396/0.7072, allocations: 6.688 MB / 0.5723 GB, free: 73.77 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.7072, allocations: 64.19 kB / 0.5724 GB, free: 73.71 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-05/0.7073, allocations: 138.4 kB / 0.5725 GB, free: 73.58 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.7074, allocations: 180 kB / 0.5727 GB, free: 73.4 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.711, allocations: 1.384 MB / 0.5741 GB, free: 72.02 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001304/0.7111, allocations: 262.6 kB / 0.5743 GB, free: 71.76 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.7148, allocations: 289.8 kB / 0.5746 GB, free: 71.48 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/0.7152, allocations: 375.3 kB / 0.5749 GB, free: 71.12 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 612
 * Number of states: 0 ()
 * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (746):
 * Single equations (assignments): 743
 * Array equations: 3
 * 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.002288/0.7174, allocations: 1.971 MB / 0.5769 GB, free: 69.13 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.7179, allocations: 357.4 kB / 0.5772 GB, free: 68.79 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.7185, allocations: 397.3 kB / 0.5776 GB, free: 68.39 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.7185, allocations: 23.56 kB / 0.5776 GB, free: 68.37 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.7185, allocations: 0 / 0.5776 GB, free: 68.37 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.7185, allocations: 7.984 kB / 0.5776 GB, free: 68.36 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.7259, allocations: 5.726 MB / 0.5832 GB, free: 62.36 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.7259, allocations: 20 kB / 0.5832 GB, free: 62.34 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/0.7268, allocations: 279.6 kB / 0.5835 GB, free: 62.06 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/0.7268, allocations: 24 kB / 0.5835 GB, free: 62.04 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.7269, allocations: 48 kB / 0.5836 GB, free: 61.99 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-05/0.7269, allocations: 39.8 kB / 0.5836 GB, free: 61.95 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/0.7269, allocations: 27.88 kB / 0.5836 GB, free: 61.93 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.7303, allocations: 3.248 MB / 0.5868 GB, free: 58.42 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.7317, allocations: 353.5 kB / 0.5871 GB, free: 58.07 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006999/0.7324, allocations: 59.19 kB / 0.5872 GB, free: 58.02 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.7339, allocations: 59.91 kB / 0.5873 GB, free: 57.96 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.734, allocations: 155.3 kB / 0.5874 GB, free: 57.81 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.7341, allocations: 64 kB / 0.5875 GB, free: 57.75 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.003188/0.7373, allocations: 2.434 MB / 0.5898 GB, free: 55.33 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.7373, allocations: 0.75 kB / 0.5898 GB, free: 55.33 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.004775/0.7421, allocations: 0.8437 MB / 0.5907 GB, free: 54.49 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 82
 * Number of states: 4 (p1.s,p1.v,p2.s,p2.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 (142):
 * Single equations (assignments): 139
 * Array equations: 3
 * 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.0003667/0.7425, allocations: 206.3 kB / 0.5909 GB, free: 54.28 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004746/0.7472, allocations: 3.551 MB / 0.5943 GB, free: 50.77 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.7472, allocations: 4.375 kB / 0.5943 GB, free: 50.76 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.7481, allocations: 0.6949 MB / 0.595 GB, free: 50.07 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.7507, allocations: 451.2 kB / 0.5954 GB, free: 49.64 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7623, allocations: 8.63 MB / 0.6039 GB, free: 40.73 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/0.7648, allocations: 3.097 MB / 0.6069 GB, free: 37.59 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.003322/0.7681, allocations: 1.764 MB / 0.6086 GB, free: 35.82 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.7686, allocations: 235.4 kB / 0.6088 GB, free: 35.59 MB / 446.1 MB
Notification: Performance of SimCode: time 1.172e-06/0.7686, allocations: 0 / 0.6088 GB, free: 35.59 MB / 446.1 MB
Notification: Performance of Templates: time 0.05107/0.8196, allocations: 27.81 MB / 0.636 GB, free: 8.055 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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: 6.369913526810706]