Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 180 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 51.91 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2774, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01132/0.2887, allocations: 10.39 MB / 407.2 MB, free: 2.195 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008653/0.2973, allocations: 3.931 MB / 411.1 MB, free: 15.59 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.2999, allocations: 64.56 kB / 411.2 MB, free: 15.57 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004934/0.3048, allocations: 2.119 MB / 413.3 MB, free: 14.55 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006065/0.3109, allocations: 1.684 MB / 415 MB, free: 13.38 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.313, allocations: 0.6878 MB / 415.7 MB, free: 12.91 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00581/0.3188, allocations: 3.387 MB / 419.1 MB, free: 11.09 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00303/0.3218, allocations: 2.035 MB / 421.1 MB, free: 9.68 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.3245, allocations: 1.289 MB / 422.4 MB, free: 8.965 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.328, allocations: 1.912 MB / 424.3 MB, free: 7.797 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000834/0.3288, allocations: 262.7 kB / 424.6 MB, free: 7.574 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.3316, allocations: 1.147 MB / 425.7 MB, free: 6.426 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001961/0.3336, allocations: 1.616 MB / 427.3 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002447/0.336, allocations: 1.864 MB / 429.2 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009282/0.3453, allocations: 5.977 MB / 435.2 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3453, allocations: 0 / 435.2 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of FrontEnd: time 3.026e-06/0.3453, allocations: 4 kB / 435.2 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.0002165/0.3455, allocations: 0 / 435.2 MB, free: 12.93 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1349
 * Number of variables: 1349
Notification: Performance of Generate backend data structure: time 0.01072/0.3562, allocations: 4.168 MB / 439.4 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3563, allocations: 11.98 kB / 439.4 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/0.3637, allocations: 1.874 MB / 441.2 MB, free: 6.816 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.3688, allocations: 1.904 MB / 443.1 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.369, allocations: 205.2 kB / 443.3 MB, free: 4.668 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008087/0.3698, allocations: 271.8 kB / 443.6 MB, free: 4.402 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.3905, allocations: 9.977 MB / 453.6 MB, free: 9.75 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.3906, allocations: 43.64 kB / 453.6 MB, free: 9.707 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.3911, allocations: 135.9 kB / 453.8 MB, free: 9.574 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/0.3945, allocations: 1.848 MB / 455.6 MB, free: 7.723 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.4145, allocations: 8.54 MB / 464.1 MB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05247/0.467, allocations: 36.66 MB / 0.4891 GB, free: 9.465 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.4775, allocations: 3.063 MB / 0.4921 GB, free: 6.363 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.4805, allocations: 1.705 MB / 0.4937 GB, free: 4.645 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.494, allocations: 6.624 MB / 0.5002 GB, free: 13.97 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/0.4941, allocations: 51.56 kB / 0.5002 GB, free: 13.91 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=150): time 4.979e-06/0.4941, allocations: 0 / 0.5002 GB, free: 13.91 MB / 430.1 MB
Notification: Performance of matching and sorting (n=166): time 0.05955/0.5537, allocations: 17.41 MB / 0.5172 GB, free: 12.45 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5538, allocations: 153.5 kB / 0.5174 GB, free: 12.27 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/0.5589, allocations: 3.486 MB / 0.5208 GB, free: 8.777 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.5592, allocations: 57.69 kB / 0.5209 GB, free: 8.715 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002207/0.5614, allocations: 2.846 MB / 0.5236 GB, free: 5.844 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008058/0.5622, allocations: 0.6709 MB / 0.5243 GB, free: 5.168 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.5637, allocations: 1.128 MB / 0.5254 GB, free: 4.031 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001277/0.5639, allocations: 305.1 kB / 0.5257 GB, free: 3.73 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.5669, allocations: 1.959 MB / 0.5276 GB, free: 1.766 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00612/0.573, allocations: 5.374 MB / 0.5328 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.5837, allocations: 7.927 MB / 0.5406 GB, free: 1.047 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.5839, allocations: 36 kB / 0.5406 GB, free: 1.012 MB / 462.1 MB
Notification: Performance of matching and sorting (n=728) (initialization): time 0.01737/0.6012, allocations: 8.175 MB / 0.5486 GB, free: 8.82 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.6013, allocations: 56 kB / 0.5487 GB, free: 8.766 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.6014, allocations: 123.9 kB / 0.5488 GB, free: 8.645 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/0.6058, allocations: 1.301 MB / 0.55 GB, free: 7.34 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/0.6102, allocations: 1.267 MB / 0.5513 GB, free: 6.07 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2263/0.8365, allocations: 6.435 MB / 0.5576 GB, free: 141.5 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/0.8408, allocations: 297.4 kB / 0.5578 GB, free: 141.5 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/0.8415, allocations: 339.9 kB / 0.5582 GB, free: 141.5 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 552
 * Number of states: 0 ()
 * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685):
 * Single equations (assignments): 681
 * Array equations: 3
 * 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
   {(3,17,88.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002968/0.8445, allocations: 1.816 MB / 0.5599 GB, free: 141.3 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.8451, allocations: 323.2 kB / 0.5603 GB, free: 141.3 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007923/0.853, allocations: 3.351 MB / 0.5635 GB, free: 140.4 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/0.8531, allocations: 18.72 kB / 0.5635 GB, free: 140.4 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.8531, allocations: 4.031 kB / 0.5635 GB, free: 140.4 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.8531, allocations: 8.359 kB / 0.5636 GB, free: 140.4 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.8688, allocations: 7.536 MB / 0.5709 GB, free: 137.8 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.8688, allocations: 1.219 kB / 0.5709 GB, free: 137.8 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.87, allocations: 237.1 kB / 0.5711 GB, free: 137.8 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003845/0.8738, allocations: 1.119 MB / 0.5722 GB, free: 137.7 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.874, allocations: 33.41 kB / 0.5723 GB, free: 137.6 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008092/0.8821, allocations: 6.07 MB / 0.5782 GB, free: 134.8 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8821, allocations: 9.781 kB / 0.5782 GB, free: 134.8 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.8911, allocations: 5.704 MB / 0.5838 GB, free: 132.8 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.8926, allocations: 0.5085 MB / 0.5843 GB, free: 132.7 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.8929, allocations: 23.09 kB / 0.5843 GB, free: 132.7 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.8942, allocations: 95.72 kB / 0.5844 GB, free: 132.7 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.8944, allocations: 100.4 kB / 0.5845 GB, free: 132.6 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.8945, allocations: 45.58 kB / 0.5845 GB, free: 132.6 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.00269/0.8972, allocations: 2.155 MB / 0.5866 GB, free: 131.5 MB / 478.1 MB
Notification: Performance of sort global known variables: time 3.01e-07/0.8972, allocations: 0 / 0.5866 GB, free: 131.5 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.004124/0.9013, allocations: 0.9189 MB / 0.5875 GB, free: 131.4 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129):
 * Single equations (assignments): 125
 * Array equations: 3
 * 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
   {(2,15,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003992/0.9017, allocations: 167.7 kB / 0.5877 GB, free: 131.3 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.005627/0.9074, allocations: 4.603 MB / 0.5922 GB, free: 128.5 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9074, allocations: 0 / 0.5922 GB, free: 128.5 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001829/0.9092, allocations: 1.429 MB / 0.5936 GB, free: 127.1 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.911, allocations: 354.2 kB / 0.5939 GB, free: 126.7 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.9224, allocations: 8.21 MB / 0.6019 GB, free: 118.5 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.9245, allocations: 2.86 MB / 0.6047 GB, free: 115.6 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.00306/0.9276, allocations: 1.699 MB / 0.6064 GB, free: 113.9 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.928, allocations: 211.4 kB / 0.6066 GB, free: 113.7 MB / 478.1 MB
Notification: Performance of SimCode: time 1.072e-06/0.928, allocations: 4 kB / 0.6066 GB, free: 113.7 MB / 478.1 MB
Notification: Performance of Templates: time 0.05431/0.9824, allocations: 35.41 MB / 0.6412 GB, free: 78.43 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.785424953326583]