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.001347/0.001347, allocations: 115 kB / 17.93 MB, free: 5.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.001391/0.001391, allocations: 189.4 kB / 18.86 MB, free: 4.645 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.369/1.369, allocations: 205.1 MB / 224.7 MB, free: 12.3 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.001183/0.001183, allocations: 51.92 kB / 280.8 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07897/0.08017, allocations: 46.62 MB / 327.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0383/0.1185, allocations: 42.2 MB / 369.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.1367, allocations: 9.059 MB / 378.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006995/0.1437, allocations: 175.6 kB / 378.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1736/0.3174, allocations: 2.484 MB / 381.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3222, allocations: 1.631 MB / 383 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.324, allocations: 0.6377 MB / 383.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006966/0.331, allocations: 3.728 MB / 387.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005292/0.3363, allocations: 3.75 MB / 391.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.3397, allocations: 1.505 MB / 392.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.3433, allocations: 2.168 MB / 394.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.3446, allocations: 315.7 kB / 395.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3473, allocations: 1.171 MB / 396.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.3496, allocations: 1.85 MB / 398.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002943/0.3525, allocations: 2.172 MB / 400.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006203/0.3587, allocations: 5.278 MB / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3588, allocations: 0 / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3588, allocations: 9.25 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003653/0.3592, allocations: 0 / 405.6 MB, free: 4.672 MB / 318.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.01078/0.37, allocations: 4.568 MB / 410.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.37, allocations: 7.188 kB / 410.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00678/0.3768, allocations: 1.878 MB / 412 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004819/0.3817, allocations: 2.043 MB / 414.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.382, allocations: 245.6 kB / 414.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.3835, allocations: 401.6 kB / 414.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.4056, allocations: 10.07 MB / 424.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.4059, allocations: 37.94 kB / 424.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/0.4072, allocations: 165.7 kB / 425 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/0.4105, allocations: 1.855 MB / 426.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.4294, allocations: 8.337 MB / 435.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05002/0.4795, allocations: 39.38 MB / 474.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4898, allocations: 4.005 MB / 478.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.4921, allocations: 1.428 MB / 480 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.5036, allocations: 7.631 MB / 487.6 MB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.5037, allocations: 51.55 kB / 487.6 MB, free: 4.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 7.384e-06/0.5037, allocations: 4 kB / 487.6 MB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03481/0.5385, allocations: 12.4 MB / 0.4883 GB, free: 8.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001446/0.54, allocations: 1.685 MB / 0.49 GB, free: 6.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00587/0.5459, allocations: 3.82 MB / 0.4937 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004387/0.5464, allocations: 45.7 kB / 0.4937 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.549, allocations: 3.111 MB / 0.4968 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.5501, allocations: 0.6511 MB / 0.4974 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.5519, allocations: 1.262 MB / 0.4987 GB, free: 13.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.552, allocations: 301.1 kB / 0.4989 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.5553, allocations: 2.03 MB / 0.5009 GB, free: 11.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006478/0.5618, allocations: 5.976 MB / 0.5068 GB, free: 3.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.572, allocations: 8.623 MB / 0.5152 GB, free: 9.434 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/0.5722, allocations: 44 kB / 0.5152 GB, free: 9.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02664/0.5988, allocations: 9.727 MB / 0.5247 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.5991, allocations: 72 kB / 0.5248 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01223/0.6113, allocations: 3.747 MB / 0.5284 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/0.6234, allocations: 2.617 MB / 0.531 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/0.6279, allocations: 1.365 MB / 0.5323 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.217/0.8449, allocations: 7.718 MB / 0.5399 GB, free: 171.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007556/0.8525, allocations: 398.8 kB / 0.5403 GB, free: 171.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/0.854, allocations: 394 kB / 0.5406 GB, free: 171.1 MB / 462.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.004605/0.8587, allocations: 2.019 MB / 0.5426 GB, free: 170.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.8594, allocations: 326.7 kB / 0.5429 GB, free: 170.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00695/0.8663, allocations: 3.12 MB / 0.546 GB, free: 170.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005984/0.8724, allocations: 2.686 MB / 0.5486 GB, free: 169.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.8724, allocations: 2.312 kB / 0.5486 GB, free: 169.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/0.8724, allocations: 7.453 kB / 0.5486 GB, free: 169.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.8886, allocations: 8.564 MB / 0.557 GB, free: 166.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.8887, allocations: 3.938 kB / 0.557 GB, free: 166.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.8895, allocations: 190.4 kB / 0.5571 GB, free: 166.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/0.8938, allocations: 1.436 MB / 0.5585 GB, free: 166.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.894, allocations: 42.67 kB / 0.5586 GB, free: 166.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/0.8991, allocations: 6.017 MB / 0.5645 GB, free: 162.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007038/0.8998, allocations: 1.546 MB / 0.566 GB, free: 161 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.9077, allocations: 5.29 MB / 0.5711 GB, free: 159.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.9087, allocations: 374.2 kB / 0.5715 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.9092, allocations: 28.41 kB / 0.5715 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.9105, allocations: 131.5 kB / 0.5716 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.9107, allocations: 91.02 kB / 0.5717 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.9108, allocations: 44.38 kB / 0.5718 GB, free: 159.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003505/0.9144, allocations: 2.352 MB / 0.5741 GB, free: 158.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.9144, allocations: 0 / 0.5741 GB, free: 158.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005462/0.9199, allocations: 1.033 MB / 0.5751 GB, free: 158.2 MB / 462.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.0004604/0.9203, allocations: 163.1 kB / 0.5752 GB, free: 158 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009191/0.9295, allocations: 5.989 MB / 0.5811 GB, free: 154.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.9296, allocations: 0 / 0.5811 GB, free: 154.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003433/0.933, allocations: 2.045 MB / 0.5831 GB, free: 152.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.9358, allocations: 389 kB / 0.5835 GB, free: 152.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.952, allocations: 11.42 MB / 0.5946 GB, free: 140.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/0.9549, allocations: 3.107 MB / 0.5976 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008473/0.9558, allocations: 267.4 kB / 0.5979 GB, free: 137.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.9558, allocations: 0 / 0.5979 GB, free: 137.4 MB / 462.1 MB Notification: Performance of Templates: time 0.3416/1.297, allocations: 143.4 MB / 0.7379 GB, free: 162.7 MB / 462.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches