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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 111.9 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 190.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 56.25 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08994, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1928/0.2828, allocations: 10.75 MB / 386.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.2901, allocations: 3.918 MB / 390.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.292, allocations: 62.31 kB / 390.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.2965, allocations: 2.587 MB / 393.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.3014, allocations: 1.752 MB / 394.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.3031, allocations: 0.6866 MB / 395.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006066/0.3092, allocations: 3.696 MB / 399.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004839/0.3141, allocations: 3.565 MB / 402.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.3174, allocations: 1.479 MB / 404.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.3212, allocations: 1.959 MB / 406.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.3224, allocations: 315.4 kB / 406.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.3257, allocations: 1.151 MB / 407.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.3284, allocations: 1.844 MB / 409.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.3325, allocations: 2.138 MB / 411.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008872/0.3413, allocations: 6.701 MB / 418.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3414, allocations: 0 / 418.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3414, allocations: 0 / 418.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.3416, allocations: 0 / 418.4 MB, free: 4.863 MB / 334.1 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.008786/0.3504, allocations: 4.57 MB / 423 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3505, allocations: 8.031 kB / 423 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006616/0.3571, allocations: 1.875 MB / 424.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.3609, allocations: 2.079 MB / 427 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3611, allocations: 250.2 kB / 427.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009804/0.3621, allocations: 395.7 kB / 427.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3803, allocations: 10.06 MB / 437.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.3805, allocations: 39.62 kB / 437.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/0.3809, allocations: 155.9 kB / 437.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/0.3837, allocations: 1.864 MB / 439.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.4004, allocations: 8.32 MB / 448 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.4468, allocations: 39.24 MB / 487.3 MB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.4576, allocations: 3.997 MB / 491.3 MB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.4599, allocations: 1.429 MB / 492.7 MB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.4716, allocations: 7.63 MB / 0.4886 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.4717, allocations: 51.56 kB / 0.4886 GB, free: 276 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.498e-06/0.4717, allocations: 0 / 0.4886 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03399/0.5057, allocations: 12.4 MB / 0.5007 GB, free: 3.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001436/0.5072, allocations: 1.675 MB / 0.5024 GB, free: 1.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/0.5142, allocations: 3.828 MB / 0.5061 GB, free: 14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.5147, allocations: 53.73 kB / 0.5062 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.5171, allocations: 3.111 MB / 0.5092 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000856/0.518, allocations: 0.6443 MB / 0.5098 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00269/0.5207, allocations: 1.265 MB / 0.5111 GB, free: 8.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5208, allocations: 305.1 kB / 0.5114 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/0.5239, allocations: 2.03 MB / 0.5134 GB, free: 6.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/0.5303, allocations: 5.965 MB / 0.5192 GB, free: 14.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.5415, allocations: 8.623 MB / 0.5276 GB, free: 3.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/0.5417, allocations: 40 kB / 0.5276 GB, free: 3.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02558/0.5673, allocations: 9.734 MB / 0.5371 GB, free: 10.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.5675, allocations: 68 kB / 0.5372 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01233/0.5798, allocations: 3.749 MB / 0.5409 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/0.5918, allocations: 2.606 MB / 0.5434 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.5963, allocations: 1.376 MB / 0.5448 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2308/0.8271, allocations: 7.699 MB / 0.5523 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/0.832, allocations: 399.7 kB / 0.5527 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009788/0.833, allocations: 392.6 kB / 0.553 GB, free: 140.5 MB / 478.1 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.003691/0.8367, allocations: 2.015 MB / 0.555 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/0.8374, allocations: 325.2 kB / 0.5553 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/0.8445, allocations: 3.122 MB / 0.5584 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006052/0.8506, allocations: 2.685 MB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.8506, allocations: 9.234 kB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/0.8507, allocations: 7.844 kB / 0.561 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.8681, allocations: 8.549 MB / 0.5693 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.8682, allocations: 1.094 kB / 0.5693 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.869, allocations: 198.9 kB / 0.5695 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004324/0.8734, allocations: 1.427 MB / 0.5709 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.8736, allocations: 39.27 kB / 0.571 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.8796, allocations: 6.007 MB / 0.5768 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007928/0.8804, allocations: 1.55 MB / 0.5783 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008279/0.8887, allocations: 5.314 MB / 0.5835 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.8897, allocations: 365.1 kB / 0.5839 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.8901, allocations: 31.75 kB / 0.5839 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8915, allocations: 119.4 kB / 0.584 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.8917, allocations: 94.44 kB / 0.5841 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.8918, allocations: 47.34 kB / 0.5842 GB, free: 127.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003268/0.8951, allocations: 2.354 MB / 0.5865 GB, free: 126.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8951, allocations: 0 / 0.5865 GB, free: 126.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005218/0.9004, allocations: 1.031 MB / 0.5875 GB, free: 126.7 MB / 478.1 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.0004334/0.9008, allocations: 169.4 kB / 0.5876 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007924/0.9087, allocations: 5.508 MB / 0.593 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.9088, allocations: 0 / 0.593 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.9121, allocations: 2.051 MB / 0.595 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.9145, allocations: 386.1 kB / 0.5954 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.9277, allocations: 9.399 MB / 0.6046 GB, free: 111.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.9301, allocations: 3.111 MB / 0.6076 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/0.9309, allocations: 267.4 kB / 0.6079 GB, free: 108.3 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.9309, allocations: 0 / 0.6079 GB, free: 108.3 MB / 478.1 MB Notification: Performance of Templates: time 0.3615/1.292, allocations: 144 MB / 0.7485 GB, free: 152.9 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches