Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.0007456/0.0007456, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001897, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006826/0.0006826, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009103/0.001593, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9073/0.9073, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1759/1.083, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] 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.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.99e-05, allocations: 10.11 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007879/0.007899, allocations: 10.24 MB / 232.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.0136, allocations: 3.997 MB / 236.1 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.01433, allocations: 75.69 kB / 236.2 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.01685, allocations: 2.643 MB / 238.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.0193, allocations: 1.827 MB / 240.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.02023, allocations: 0.6938 MB / 241.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.02339, allocations: 3.942 MB / 245.3 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.02583, allocations: 2.863 MB / 248.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.02801, allocations: 2.365 MB / 250.5 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.02976, allocations: 2.026 MB / 252.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.03014, allocations: 320 kB / 252.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.03158, allocations: 1.143 MB / 254 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.03273, allocations: 1.765 MB / 255.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.03375, allocations: 1.02 MB / 256.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.03725, allocations: 4.094 MB / 260.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.03727, allocations: 0 / 260.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.03727, allocations: 0 / 260.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.868e-05/0.03735, allocations: 0 / 260.8 MB, free: 8.949 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.005007/0.04235, allocations: 5.211 MB / 266.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.0424, allocations: 12.03 kB / 266.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.04495, allocations: 1.082 MB / 267.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.04676, allocations: 1.553 MB / 268.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.0469, allocations: 246.4 kB / 268.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004895/0.04739, allocations: 391.6 kB / 269.3 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/0.05264, allocations: 5.146 MB / 274.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/0.0527, allocations: 47.67 kB / 274.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.05295, allocations: 159.8 kB / 274.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001361/0.05432, allocations: 1.701 MB / 276.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.05816, allocations: 2.658 MB / 279 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1547/0.2129, allocations: 31.02 MB / 310.1 MB, free: 20.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.2181, allocations: 2.163 MB / 312.2 MB, free: 20.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.2187, allocations: 398.7 kB / 312.6 MB, free: 20.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004262/0.2229, allocations: 3.853 MB / 316.5 MB, free: 19.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2229, allocations: 54.81 kB / 316.5 MB, free: 19.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=152): time 2.915e-06/0.223, allocations: 0 / 316.5 MB, free: 19.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=159): time 0.009852/0.2328, allocations: 5.235 MB / 321.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004977/0.2333, allocations: 1.473 MB / 323.2 MB, free: 17.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.2351, allocations: 3.072 MB / 326.3 MB, free: 16.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.2352, allocations: 48.33 kB / 326.3 MB, free: 16.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008112/0.236, allocations: 3.089 MB / 329.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.2363, allocations: 0.6639 MB / 330.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008161/0.2371, allocations: 1.185 MB / 331.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.2371, allocations: 301.1 kB / 331.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2382, allocations: 0.8069 MB / 332.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.2403, allocations: 4.6 MB / 337 MB, free: 5.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.2441, allocations: 6.067 MB / 343.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.2441, allocations: 40 kB / 343.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007596/0.2517, allocations: 4.96 MB / 348 MB, free: 8.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.2518, allocations: 67.98 kB / 348.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003429/0.2552, allocations: 1.293 MB / 349.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/0.2592, allocations: 1.099 MB / 350.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.2614, allocations: 1.481 MB / 352 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.2646, allocations: 3.848 MB / 355.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.2666, allocations: 291.7 kB / 356.1 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/0.2669, allocations: 332 kB / 356.4 MB, free: 168 kB / 298.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.0009726/0.2679, allocations: 0.6266 MB / 357.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.2682, allocations: 207.8 kB / 357.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.2703, allocations: 1.389 MB / 358.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001639/0.272, allocations: 0.9846 MB / 359.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.272, allocations: 4 kB / 359.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.272, allocations: 7.969 kB / 359.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.2779, allocations: 4.16 MB / 363.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2779, allocations: 0 / 363.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.2784, allocations: 183.7 kB / 364 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2786, allocations: 277.8 kB / 364.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.2808, allocations: 1.034 MB / 365.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.2809, allocations: 35.92 kB / 365.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.2832, allocations: 3.579 MB / 368.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005486/0.2838, allocations: 1.336 MB / 370.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.2865, allocations: 2.188 MB / 372.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.2867, allocations: 27.98 kB / 372.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.2872, allocations: 28 kB / 372.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2874, allocations: 100.7 kB / 372.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.2874, allocations: 31.98 kB / 372.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008373/0.2883, allocations: 1.083 MB / 373.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2883, allocations: 0 / 373.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002689/0.291, allocations: 1.113 MB / 374.8 MB, free: 13.21 MB / 330.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.0003166/0.2913, allocations: 176.1 kB / 375 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.2946, allocations: 2.947 MB / 377.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001496/0.2947, allocations: 108.1 kB / 378 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.2959, allocations: 0.9182 MB / 379 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.2973, allocations: 0.7818 MB / 379.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.306, allocations: 7.265 MB / 387 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.307, allocations: 1.159 MB / 388.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009627/0.3079, allocations: 471 kB / 388.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.3086, allocations: 0.4972 MB / 389.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3086, allocations: 0 / 389.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Templates: time 0.1529/0.4615, allocations: 36.47 MB / 425.6 MB, free: 114.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.7472458258271217]