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.PendulumWithSpringDamper.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.001463/0.001463, allocations: 106.5 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.001564/0.001564, allocations: 212 kB / 24.54 MB, free: 4.016 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [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.002278/0.002278, allocations: 63.89 kB / 379 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3016, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01392/0.3156, allocations: 10.34 MB / 442.7 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009399/0.325, allocations: 3.925 MB / 446.7 MB, free: 8.629 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3272, allocations: 67.69 kB / 446.7 MB, free: 8.562 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005173/0.3324, allocations: 2.102 MB / 448.8 MB, free: 6.453 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006025/0.3384, allocations: 1.661 MB / 450.5 MB, free: 4.785 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.3406, allocations: 0.6862 MB / 451.2 MB, free: 4.098 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006893/0.3475, allocations: 3.392 MB / 454.6 MB, free: 0.6992 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.3522, allocations: 2.02 MB / 456.6 MB, free: 14.63 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.356, allocations: 1.269 MB / 457.9 MB, free: 13.36 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004984/0.361, allocations: 1.9 MB / 459.8 MB, free: 11.45 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002255/0.3632, allocations: 264 kB / 460 MB, free: 11.19 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.3673, allocations: 1.143 MB / 461.2 MB, free: 10.05 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002821/0.3701, allocations: 1.605 MB / 462.8 MB, free: 8.438 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003665/0.3738, allocations: 1.84 MB / 464.6 MB, free: 6.586 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008864/0.3826, allocations: 5.913 MB / 470.5 MB, free: 0.6523 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3827, allocations: 0 / 470.5 MB, free: 0.6523 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.054e-06/0.3827, allocations: 3.938 kB / 470.5 MB, free: 0.6484 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0002378/0.3829, allocations: 0 / 470.5 MB, free: 0.6484 MB / 366.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.01071/0.3936, allocations: 4.137 MB / 474.7 MB, free: 12.46 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.3937, allocations: 12.03 kB / 474.7 MB, free: 12.45 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/0.4009, allocations: 1.878 MB / 476.6 MB, free: 10.56 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/0.406, allocations: 1.818 MB / 478.4 MB, free: 8.703 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.4063, allocations: 209.2 kB / 478.6 MB, free: 8.496 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.4075, allocations: 267.8 kB / 478.8 MB, free: 8.234 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/0.4323, allocations: 10 MB / 488.9 MB, free: 13.55 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.4326, allocations: 39.64 kB / 488.9 MB, free: 13.51 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.4338, allocations: 135.9 kB / 489 MB, free: 13.38 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003545/0.4374, allocations: 1.864 MB / 490.9 MB, free: 11.52 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.4575, allocations: 8.563 MB / 499.4 MB, free: 2.945 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05593/0.5134, allocations: 36.67 MB / 0.5235 GB, free: 13.22 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.5235, allocations: 3.098 MB / 0.5266 GB, free: 10.09 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/0.5264, allocations: 1.697 MB / 0.5282 GB, free: 8.387 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.5392, allocations: 6.628 MB / 0.5347 GB, free: 1.715 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.5393, allocations: 59.48 kB / 0.5348 GB, free: 1.648 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=150): time 4.157e-06/0.5393, allocations: 0 / 0.5348 GB, free: 1.648 MB / 446.1 MB
Notification: Performance of matching and sorting (n=166): time 0.2813/0.8205, allocations: 17.5 MB / 0.5518 GB, free: 98.12 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.8206, allocations: 149.2 kB / 0.552 GB, free: 97.95 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.824, allocations: 3.468 MB / 0.5554 GB, free: 95.42 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000173/0.8242, allocations: 57.14 kB / 0.5554 GB, free: 95.36 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.8252, allocations: 2.845 MB / 0.5582 GB, free: 92.79 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.8256, allocations: 0.6692 MB / 0.5589 GB, free: 92.12 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.8267, allocations: 1.124 MB / 0.56 GB, free: 90.99 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 3.833e-05/0.8267, allocations: 305.1 kB / 0.5603 GB, free: 90.69 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.8289, allocations: 1.967 MB / 0.5622 GB, free: 88.72 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.8321, allocations: 5.381 MB / 0.5674 GB, free: 81.62 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006361/0.8384, allocations: 7.956 MB / 0.5752 GB, free: 71.98 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.437e-05/0.8385, allocations: 36 kB / 0.5752 GB, free: 71.95 MB / 446.1 MB
Notification: Performance of matching and sorting (n=728) (initialization): time 0.0129/0.8514, allocations: 8.201 MB / 0.5832 GB, free: 63.74 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.8515, allocations: 56.94 kB / 0.5833 GB, free: 63.69 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.8516, allocations: 123.9 kB / 0.5834 GB, free: 63.57 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/0.8552, allocations: 1.296 MB / 0.5847 GB, free: 62.27 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.8585, allocations: 1.267 MB / 0.5859 GB, free: 61 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.8657, allocations: 6.44 MB / 0.5922 GB, free: 54.44 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/0.8693, allocations: 307.6 kB / 0.5925 GB, free: 54.14 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005877/0.8699, allocations: 340 kB / 0.5928 GB, free: 53.81 MB / 446.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.0024/0.8723, allocations: 1.822 MB / 0.5946 GB, free: 51.98 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.8728, allocations: 317.8 kB / 0.5949 GB, free: 51.67 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/0.8792, allocations: 3.369 MB / 0.5982 GB, free: 48.28 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.8792, allocations: 22.34 kB / 0.5982 GB, free: 48.26 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.8792, allocations: 7.984 kB / 0.5982 GB, free: 48.25 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.8792, allocations: 7.984 kB / 0.5982 GB, free: 48.25 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.8917, allocations: 7.549 MB / 0.6056 GB, free: 40.66 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.8917, allocations: 0 / 0.6056 GB, free: 40.66 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.8928, allocations: 247.7 kB / 0.6058 GB, free: 40.42 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/0.8961, allocations: 1.109 MB / 0.6069 GB, free: 39.3 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.8962, allocations: 31.98 kB / 0.607 GB, free: 39.27 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006828/0.9031, allocations: 6.08 MB / 0.6129 GB, free: 33.09 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9031, allocations: 0 / 0.6129 GB, free: 33.09 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00837/0.9114, allocations: 5.744 MB / 0.6185 GB, free: 27.32 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.9123, allocations: 293.8 kB / 0.6188 GB, free: 27.03 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006131/0.9129, allocations: 20 kB / 0.6188 GB, free: 27.01 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.9144, allocations: 99.86 kB / 0.6189 GB, free: 26.91 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.9147, allocations: 96.77 kB / 0.619 GB, free: 26.82 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.9148, allocations: 47.98 kB / 0.619 GB, free: 26.77 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.003101/0.9179, allocations: 2.142 MB / 0.6211 GB, free: 24.64 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.9179, allocations: 0 / 0.6211 GB, free: 24.64 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.004192/0.9221, allocations: 0.8939 MB / 0.622 GB, free: 23.75 MB / 446.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.0003946/0.9225, allocations: 164 kB / 0.6222 GB, free: 23.58 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.006269/0.9287, allocations: 4.626 MB / 0.6267 GB, free: 18.98 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9287, allocations: 384 / 0.6267 GB, free: 18.98 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001918/0.9307, allocations: 1.468 MB / 0.6281 GB, free: 17.5 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.9328, allocations: 345.4 kB / 0.6284 GB, free: 17.16 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.9438, allocations: 8.208 MB / 0.6364 GB, free: 8.914 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.9459, allocations: 2.848 MB / 0.6392 GB, free: 6.035 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.003101/0.949, allocations: 1.696 MB / 0.6409 GB, free: 4.336 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.9495, allocations: 215.4 kB / 0.6411 GB, free: 4.129 MB / 446.1 MB
Notification: Performance of SimCode: time 9.62e-07/0.9495, allocations: 0 / 0.6411 GB, free: 4.129 MB / 446.1 MB
Notification: Performance of Templates: time 0.06965/1.019, allocations: 35.18 MB / 0.6754 GB, free: 1.234 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.6064599165692925]