Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0027/0.0027, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.048e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01483/0.01486, allocations: 9.943 MB / 282.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.02489, allocations: 3.808 MB / 286.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.02666, allocations: 63.75 kB / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00531/0.03197, allocations: 2.211 MB / 288.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.128/0.16, allocations: 1.723 MB / 290.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.162, allocations: 0.7337 MB / 290.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005358/0.1674, allocations: 3.763 MB / 294.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003724/0.1711, allocations: 2.53 MB / 297.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.1747, allocations: 1.92 MB / 299 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.1776, allocations: 1.916 MB / 300.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007594/0.1784, allocations: 266.8 kB / 301.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1805, allocations: 1.05 MB / 302.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.1818, allocations: 1.681 MB / 303.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.1833, allocations: 1.054 MB / 305 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006899/0.1902, allocations: 5.952 MB / 310.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1902, allocations: 2.969 kB / 310.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1902, allocations: 0 / 310.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.1904, allocations: 0 / 310.9 MB, free: 8.574 MB / 266.7 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.009055/0.1994, allocations: 4.883 MB / 315.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1995, allocations: 8.031 kB / 315.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008036/0.2075, allocations: 2.33 MB / 318.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.2121, allocations: 1.726 MB / 319.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2122, allocations: 205.4 kB / 320.1 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.2133, allocations: 267.9 kB / 320.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.2331, allocations: 6.983 MB / 327.3 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.2332, allocations: 38.22 kB / 327.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000458/0.2337, allocations: 138.8 kB / 327.5 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.2376, allocations: 1.855 MB / 329.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.2532, allocations: 4.257 MB / 333.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05997/0.3131, allocations: 43.74 MB / 377.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009088/0.3222, allocations: 2.25 MB / 379.6 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.3238, allocations: 0.6538 MB / 380.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.3354, allocations: 4.676 MB / 384.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.3355, allocations: 54.38 kB / 385 MB, free: 13.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 3.616e-06/0.3355, allocations: 0 / 385 MB, free: 13.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.05284/0.3883, allocations: 13.71 MB / 398.7 MB, free: 168 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.3885, allocations: 145.5 kB / 398.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.3945, allocations: 3.849 MB / 402.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000337/0.3949, allocations: 49.7 kB / 402.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/0.398, allocations: 3.154 MB / 405.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.3992, allocations: 0.727 MB / 406.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/0.4016, allocations: 1.414 MB / 408 MB, free: 6.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.4019, allocations: 484.8 kB / 408.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4039, allocations: 0.7487 MB / 409.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007358/0.4113, allocations: 5.983 MB / 415.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.422, allocations: 7.424 MB / 422.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/0.4222, allocations: 32 kB / 422.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01587/0.4381, allocations: 5.788 MB / 428.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.4382, allocations: 56 kB / 428.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.4383, allocations: 120 kB / 428.7 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/0.4426, allocations: 0.9527 MB / 429.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00443/0.447, allocations: 1.275 MB / 430.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.4545, allocations: 3.781 MB / 434.7 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/0.4587, allocations: 339.5 kB / 435 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008081/0.4595, allocations: 340 kB / 435.3 MB, free: 6.789 MB / 394.7 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.001743/0.4613, allocations: 0.7044 MB / 436 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/0.462, allocations: 336.9 kB / 436.4 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006465/0.4685, allocations: 2.053 MB / 438.4 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/0.4685, allocations: 20 kB / 438.4 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.4686, allocations: 4 kB / 438.4 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.4686, allocations: 11.97 kB / 438.4 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1426/0.6111, allocations: 6.04 MB / 444.5 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.6112, allocations: 1.312 kB / 444.5 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.6125, allocations: 244.7 kB / 444.7 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003826/0.6163, allocations: 0.7807 MB / 445.5 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/0.6166, allocations: 28.62 kB / 445.5 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005887/0.6224, allocations: 3.473 MB / 449 MB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6225, allocations: 3.594 kB / 449 MB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007792/0.6302, allocations: 3.223 MB / 452.2 MB, free: 123.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/0.6311, allocations: 262.4 kB / 452.5 MB, free: 123.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.6315, allocations: 22.72 kB / 452.5 MB, free: 123.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.6329, allocations: 131.6 kB / 452.6 MB, free: 123.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.6332, allocations: 94.3 kB / 452.7 MB, free: 123.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.6333, allocations: 50.38 kB / 452.8 MB, free: 123.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002678/0.636, allocations: 1.51 MB / 454.3 MB, free: 123.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.636, allocations: 0 / 454.3 MB, free: 123.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004694/0.6407, allocations: 0.9638 MB / 455.3 MB, free: 123.6 MB / 394.7 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.0004583/0.6412, allocations: 183 kB / 455.4 MB, free: 123.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006202/0.6474, allocations: 3.341 MB / 458.8 MB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6474, allocations: 3.812 kB / 458.8 MB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.6491, allocations: 0.9594 MB / 459.7 MB, free: 122.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.6511, allocations: 323.4 kB / 460.1 MB, free: 122.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.6624, allocations: 6.643 MB / 466.7 MB, free: 119.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/0.6647, allocations: 2.076 MB / 468.8 MB, free: 119.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00301/0.6677, allocations: 1.439 MB / 470.2 MB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.6682, allocations: 211.5 kB / 470.4 MB, free: 119 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6682, allocations: 0 / 470.4 MB, free: 119 MB / 394.7 MB Notification: Performance of Templates: time 0.04886/0.7171, allocations: 29.16 MB / 499.6 MB, free: 91.15 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_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.4292509510414675]