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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 94.64 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 7.984 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2668, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3915, allocations: 92.93 MB / 468.7 MB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.3919, allocations: 91.95 kB / 468.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4183/0.8102, allocations: 80.25 MB / 0.5362 GB, free: 80.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8103, allocations: 0 / 0.5362 GB, free: 80.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002189/0.8105, allocations: 83.94 kB / 0.5363 GB, free: 80.36 MB / 378.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.01594/0.8264, allocations: 4.329 MB / 0.5405 GB, free: 75.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8265, allocations: 8.031 kB / 0.5405 GB, free: 75.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009841/0.8364, allocations: 2.256 MB / 0.5427 GB, free: 73.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.8498, allocations: 4.421 MB / 0.5471 GB, free: 69.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.8502, allocations: 324.5 kB / 0.5474 GB, free: 68.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.8522, allocations: 431.8 kB / 0.5478 GB, free: 68.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.8757, allocations: 10.62 MB / 0.5581 GB, free: 56.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.876, allocations: 63.48 kB / 0.5582 GB, free: 56.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/0.8777, allocations: 211.9 kB / 0.5584 GB, free: 56.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.8791, allocations: 1.025 MB / 0.5594 GB, free: 55.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.895, allocations: 8.466 MB / 0.5677 GB, free: 46.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05326/0.9483, allocations: 49.12 MB / 0.6157 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.9592, allocations: 3.96 MB / 0.6195 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/0.9745, allocations: 7.689 MB / 0.627 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.9746, allocations: 51.5 kB / 0.6271 GB, free: 15.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 7.243e-06/0.9746, allocations: 0 / 0.6271 GB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.03595/1.011, allocations: 12.5 MB / 0.6393 GB, free: 3.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001574/1.012, allocations: 1.604 MB / 0.6409 GB, free: 1.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2548/1.267, allocations: 3.427 MB / 0.6442 GB, free: 104.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.267, allocations: 45.58 kB / 0.6442 GB, free: 104.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.27, allocations: 3.118 MB / 0.6473 GB, free: 103.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008745/1.271, allocations: 0.6468 MB / 0.6479 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/1.271, allocations: 122.7 kB / 0.648 GB, free: 103.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003068/1.271, allocations: 0.5669 MB / 0.6486 GB, free: 102.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/1.275, allocations: 2.007 MB / 0.6505 GB, free: 102.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.281, allocations: 5.919 MB / 0.6563 GB, free: 97.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007856/1.289, allocations: 3.357 MB / 0.6596 GB, free: 97.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003204/1.289, allocations: 39.97 kB / 0.6596 GB, free: 97.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02134/1.31, allocations: 8.765 MB / 0.6682 GB, free: 96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000334/1.311, allocations: 71.7 kB / 0.6683 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00689/1.318, allocations: 2.783 MB / 0.671 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005803/1.324, allocations: 1.529 MB / 0.6725 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007358/1.331, allocations: 1.378 MB / 0.6738 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008271/1.339, allocations: 5.596 MB / 0.6793 GB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/1.35, allocations: 433.5 kB / 0.6797 GB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/1.353, allocations: 390.3 kB / 0.6801 GB, free: 90.81 MB / 410.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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.008153/1.361, allocations: 2.012 MB / 0.682 GB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.362, allocations: 331.2 kB / 0.6824 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.374, allocations: 3.118 MB / 0.6854 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01051/1.385, allocations: 2.667 MB / 0.688 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.385, allocations: 3.75 kB / 0.688 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.776e-05/1.385, allocations: 13.69 kB / 0.688 GB, free: 87.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.414, allocations: 8.576 MB / 0.6964 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/1.414, allocations: 0 / 0.6964 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.415, allocations: 200.4 kB / 0.6966 GB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004532/1.42, allocations: 1.422 MB / 0.698 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/1.42, allocations: 39.03 kB / 0.698 GB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/1.425, allocations: 5.798 MB / 0.7037 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007575/1.426, allocations: 1.463 MB / 0.7051 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009487/1.436, allocations: 5.355 MB / 0.7103 GB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.437, allocations: 385.7 kB / 0.7107 GB, free: 70.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009597/1.438, allocations: 31.8 kB / 0.7107 GB, free: 70.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.44, allocations: 138.7 kB / 0.7109 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/1.441, allocations: 97.16 kB / 0.711 GB, free: 70 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.441, allocations: 44.31 kB / 0.711 GB, free: 69.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005038/1.446, allocations: 2.357 MB / 0.7133 GB, free: 68.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.446, allocations: 4 kB / 0.7133 GB, free: 68.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00765/1.454, allocations: 1.013 MB / 0.7143 GB, free: 67.04 MB / 410.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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007841/1.454, allocations: 170.9 kB / 0.7145 GB, free: 66.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.465, allocations: 5.379 MB / 0.7197 GB, free: 62.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.465, allocations: 3.938 kB / 0.7197 GB, free: 62.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003818/1.469, allocations: 2.015 MB / 0.7217 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.472, allocations: 368.4 kB / 0.722 GB, free: 60.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.495, allocations: 10.6 MB / 0.7324 GB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005402/1.501, allocations: 3.187 MB / 0.7355 GB, free: 47.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004365/1.505, allocations: 1.822 MB / 0.7373 GB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/1.505, allocations: 215.4 kB / 0.7375 GB, free: 45.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/1.505, allocations: 0 / 0.7375 GB, free: 45.47 MB / 410.7 MB Notification: Performance of Templates: time 0.06242/1.568, allocations: 33.86 MB / 0.7706 GB, free: 11.89 MB / 410.7 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/jenkins/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