Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001435/0.001435, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001694/0.001694, allocations: 138.1 kB / 24.97 MB, free: 8.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.007/1.007, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.619e-05, allocations: 6.25 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008178/0.008204, allocations: 10.41 MB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006223/0.01443, allocations: 3.861 MB / 282.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.01556, allocations: 71.62 kB / 282.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.01848, allocations: 2.78 MB / 285.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.02218, allocations: 1.874 MB / 287.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.02329, allocations: 0.7445 MB / 287.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1267/0.15, allocations: 4.046 MB / 291.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/0.1538, allocations: 3.066 MB / 294.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.1585, allocations: 2.258 MB / 297.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.1626, allocations: 2.122 MB / 299.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.164, allocations: 318.2 kB / 299.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.1663, allocations: 1.125 MB / 300.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.1683, allocations: 1.962 MB / 302.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.1704, allocations: 1.249 MB / 304 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004951/0.1754, allocations: 4.401 MB / 308.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1754, allocations: 0 / 308.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1754, allocations: 0 / 308.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002405/0.1756, allocations: 3.375 kB / 308.4 MB, free: 12.11 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.007947/0.1836, allocations: 5.003 MB / 313.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1836, allocations: 9.484 kB / 313.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.1876, allocations: 2.401 MB / 315.8 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.1898, allocations: 1.816 MB / 317.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.1898, allocations: 247.5 kB / 317.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.1903, allocations: 388.5 kB / 318.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007593/0.1979, allocations: 6.464 MB / 324.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.198, allocations: 45.92 kB / 324.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.1983, allocations: 155.7 kB / 324.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.2, allocations: 1.862 MB / 326.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006972/0.2069, allocations: 3.546 MB / 330.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.2374, allocations: 43.85 MB / 374.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/0.2427, allocations: 2.641 MB / 376.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.2435, allocations: 0.5679 MB / 377.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005428/0.249, allocations: 4.349 MB / 381.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.249, allocations: 61.88 kB / 381.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.096e-06/0.249, allocations: 0 / 381.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01784/0.2669, allocations: 9.603 MB / 391.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001125/0.268, allocations: 2.052 MB / 393.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.2718, allocations: 3.418 MB / 396.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.272, allocations: 51.36 kB / 396.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.2736, allocations: 3.396 MB / 400.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.2742, allocations: 0.6976 MB / 401 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.2753, allocations: 1.348 MB / 402.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.2754, allocations: 476.8 kB / 402.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.2768, allocations: 0.7031 MB / 403.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.2807, allocations: 6.529 MB / 410 MB, free: 5.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006965/0.2877, allocations: 7.998 MB / 418 MB, free: 10.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.2878, allocations: 40 kB / 418.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01281/0.3006, allocations: 7.086 MB / 425.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/0.3007, allocations: 64.94 kB / 425.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005991/0.3067, allocations: 2.483 MB / 427.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1361/0.4428, allocations: 2.348 MB / 430 MB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.4459, allocations: 1.375 MB / 431.4 MB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.451, allocations: 5.777 MB / 437.2 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/0.4551, allocations: 449.2 kB / 437.6 MB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006286/0.4557, allocations: 392 kB / 438 MB, free: 111.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.4574, allocations: 0.6741 MB / 438.7 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.4579, allocations: 361.2 kB / 439 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.4614, allocations: 1.904 MB / 440.9 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002713/0.4641, allocations: 1.498 MB / 442.4 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4641, allocations: 4.484 kB / 442.4 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4641, allocations: 6.906 kB / 442.4 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008911/0.473, allocations: 6.239 MB / 448.7 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4731, allocations: 3.688 kB / 448.7 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.4735, allocations: 201.9 kB / 448.9 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/0.476, allocations: 1.16 MB / 450 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.4761, allocations: 37.12 kB / 450.1 MB, free: 110 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.4786, allocations: 5.254 MB / 455.3 MB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004438/0.479, allocations: 1.905 MB / 457.2 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.4829, allocations: 2.941 MB / 460.2 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.4835, allocations: 293.9 kB / 460.5 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.4837, allocations: 27.75 kB / 460.5 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.4845, allocations: 151 kB / 460.6 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4846, allocations: 102.4 kB / 460.7 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.4847, allocations: 45.89 kB / 460.8 MB, free: 102.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001687/0.4864, allocations: 1.418 MB / 462.2 MB, free: 102 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4864, allocations: 0 / 462.2 MB, free: 102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003528/0.4899, allocations: 1.108 MB / 463.3 MB, free: 101.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003785/0.4903, allocations: 192.3 kB / 463.5 MB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00479/0.4951, allocations: 3.652 MB / 467.2 MB, free: 98.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4951, allocations: 0 / 467.2 MB, free: 98.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.4968, allocations: 1.37 MB / 468.5 MB, free: 97.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4983, allocations: 363.5 kB / 468.9 MB, free: 97.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.5088, allocations: 7.418 MB / 476.3 MB, free: 89.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/0.5096, allocations: 1.16 MB / 477.5 MB, free: 88.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002114/0.5118, allocations: 1.548 MB / 479 MB, free: 86.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.5121, allocations: 212.4 kB / 479.2 MB, free: 86.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.053e-06/0.5121, allocations: 0 / 479.2 MB, free: 86.75 MB / 378.7 MB Notification: Performance of Templates: time 0.04026/0.5524, allocations: 32.99 MB / 0.5002 GB, free: 54.27 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","",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.206943124067038]