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.002532/0.002532, allocations: 95.86 kB / 20.96 MB, free: 3.469 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.002903/0.002903, allocations: 153.1 kB / 24.26 MB, free: 172 kB / 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.54/1.54, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.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.",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.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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.225e-05, allocations: 6.25 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01574/0.01577, allocations: 10.38 MB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00886/0.02463, allocations: 3.861 MB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.02634, allocations: 71.69 kB / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008022/0.03436, allocations: 2.78 MB / 284.4 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.03995, allocations: 1.874 MB / 286.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.04198, allocations: 0.7366 MB / 287 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1322/0.1741, allocations: 4.038 MB / 291.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004876/0.179, allocations: 3.07 MB / 294.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/0.1841, allocations: 2.256 MB / 296.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.1882, allocations: 2.118 MB / 298.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.1894, allocations: 319.3 kB / 298.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.192, allocations: 1.13 MB / 300 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.194, allocations: 1.969 MB / 301.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.1957, allocations: 1.249 MB / 303.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.2021, allocations: 6.744 MB / 309.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2021, allocations: 0 / 309.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2021, allocations: 0 / 309.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.2023, allocations: 0 / 309.9 MB, free: 10.59 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.009021/0.2113, allocations: 5.426 MB / 315.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2113, allocations: 7.297 kB / 315.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/0.2183, allocations: 2.397 MB / 317.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.2225, allocations: 1.831 MB / 319.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.2226, allocations: 248.9 kB / 319.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009698/0.2236, allocations: 392.1 kB / 320.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.2387, allocations: 6.927 MB / 327.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.2388, allocations: 41.14 kB / 327.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005333/0.2394, allocations: 150.6 kB / 327.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003206/0.2426, allocations: 1.865 MB / 329.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.2564, allocations: 3.903 MB / 333.1 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06273/0.3192, allocations: 47.4 MB / 380.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.3294, allocations: 2.591 MB / 383.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.3309, allocations: 0.5982 MB / 383.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.3422, allocations: 4.449 MB / 388.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.3423, allocations: 52.83 kB / 388.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.949e-06/0.3423, allocations: 0 / 388.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.03244/0.3747, allocations: 9.732 MB / 397.9 MB, free: 3.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00184/0.3766, allocations: 2.057 MB / 400 MB, free: 1.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007031/0.3836, allocations: 4.355 MB / 404.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003858/0.384, allocations: 45.7 kB / 404.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003483/0.3875, allocations: 3.593 MB / 408 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.3886, allocations: 0.7311 MB / 408.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002483/0.3911, allocations: 1.578 MB / 410.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003085/0.3914, allocations: 476.8 kB / 410.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.3933, allocations: 0.7618 MB / 411.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007707/0.401, allocations: 6.784 MB / 418.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.4122, allocations: 8.332 MB / 426.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/0.4124, allocations: 44 kB / 426.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.1589/0.5713, allocations: 7.217 MB / 433.9 MB, free: 111.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.5714, allocations: 64.31 kB / 433.9 MB, free: 111.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01089/0.5823, allocations: 2.542 MB / 436.5 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/0.5954, allocations: 2.375 MB / 438.9 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004249/0.5996, allocations: 1.373 MB / 440.2 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007181/0.6068, allocations: 5.879 MB / 446.1 MB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.6117, allocations: 452.1 kB / 446.5 MB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000879/0.6126, allocations: 389.7 kB / 446.9 MB, free: 106.9 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.002056/0.6146, allocations: 0.7736 MB / 447.7 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.6152, allocations: 353.4 kB / 448 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/0.6205, allocations: 1.957 MB / 450 MB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00445/0.625, allocations: 1.557 MB / 451.6 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.625, allocations: 3.594 kB / 451.6 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.625, allocations: 7.031 kB / 451.6 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.6416, allocations: 7.169 MB / 458.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.6416, allocations: 0 / 458.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.6425, allocations: 199.7 kB / 458.9 MB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004853/0.6473, allocations: 1.192 MB / 460.1 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.6475, allocations: 35.97 kB / 460.2 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.6517, allocations: 5.356 MB / 465.5 MB, free: 96.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007562/0.6524, allocations: 1.916 MB / 467.4 MB, free: 94.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006433/0.6589, allocations: 3.088 MB / 470.5 MB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/0.6597, allocations: 299.1 kB / 470.8 MB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.6601, allocations: 31.98 kB / 470.8 MB, free: 91.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6615, allocations: 147.4 kB / 471 MB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.6618, allocations: 100.7 kB / 471.1 MB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6619, allocations: 47.97 kB / 471.1 MB, free: 91.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002517/0.6644, allocations: 1.711 MB / 472.8 MB, free: 89.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6644, allocations: 0 / 472.8 MB, free: 89.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004978/0.6694, allocations: 1.105 MB / 474 MB, free: 88.57 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.0004493/0.6698, allocations: 190.4 kB / 474.1 MB, free: 88.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007386/0.6772, allocations: 3.943 MB / 478.1 MB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6772, allocations: 0 / 478.1 MB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.6804, allocations: 1.421 MB / 479.5 MB, free: 82.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.6826, allocations: 366.5 kB / 479.9 MB, free: 82.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6931, allocations: 7.488 MB / 487.3 MB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.6953, allocations: 2.328 MB / 489.7 MB, free: 72.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003381/0.6987, allocations: 1.552 MB / 491.2 MB, free: 71.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.6992, allocations: 212.5 kB / 491.4 MB, free: 70.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6992, allocations: 0 / 491.4 MB, free: 70.92 MB / 378.7 MB Notification: Performance of Templates: time 0.05292/0.7521, allocations: 32.96 MB / 0.5121 GB, free: 38.47 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.617129405960441]