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.001046/0.001046, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.55/1.55, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008058/0.0008059, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.903e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.0979, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4504, allocations: 92.84 MB / 462.9 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4507, allocations: 87.83 kB / 463 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2169/0.6677, allocations: 80.3 MB / 0.5305 GB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6678, allocations: 4 kB / 0.5305 GB, free: 1.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.668, allocations: 83.98 kB / 0.5306 GB, free: 0.9414 MB / 410.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.2449/0.9129, allocations: 4.142 MB / 0.5346 GB, free: 90.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.913, allocations: 10.55 kB / 0.5347 GB, free: 90.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.925, allocations: 2.258 MB / 0.5369 GB, free: 90.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.9406, allocations: 4.393 MB / 0.5412 GB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004945/0.9411, allocations: 330.2 kB / 0.5415 GB, free: 90.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.9431, allocations: 431.5 kB / 0.5419 GB, free: 90.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.9644, allocations: 10.52 MB / 0.5522 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.9646, allocations: 55.41 kB / 0.5522 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006824/0.9653, allocations: 209.8 kB / 0.5524 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.9667, allocations: 1.029 MB / 0.5534 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.9821, allocations: 8.281 MB / 0.5615 GB, free: 87.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/1.029, allocations: 49.14 MB / 0.6095 GB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009791/1.039, allocations: 3.947 MB / 0.6133 GB, free: 49.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/1.041, allocations: 1.378 MB / 0.6147 GB, free: 48.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/1.052, allocations: 7.68 MB / 0.6222 GB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.052, allocations: 45.94 kB / 0.6222 GB, free: 43.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.809e-06/1.052, allocations: 0 / 0.6222 GB, free: 43.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.03119/1.083, allocations: 10.12 MB / 0.6321 GB, free: 36.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001022/1.084, allocations: 1.592 MB / 0.6337 GB, free: 34.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/1.09, allocations: 3.359 MB / 0.6369 GB, free: 31.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004064/1.09, allocations: 49.7 kB / 0.637 GB, free: 31.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.092, allocations: 3.119 MB / 0.64 GB, free: 29.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007504/1.093, allocations: 0.6492 MB / 0.6407 GB, free: 28.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.093, allocations: 128 kB / 0.6408 GB, free: 28.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000252/1.093, allocations: 0.567 MB / 0.6414 GB, free: 27.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.095, allocations: 1.932 MB / 0.6432 GB, free: 26.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/1.099, allocations: 5.842 MB / 0.6489 GB, free: 18.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/1.103, allocations: 3.334 MB / 0.6522 GB, free: 15.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.517e-05/1.103, allocations: 40 kB / 0.6522 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01409/1.117, allocations: 8.616 MB / 0.6607 GB, free: 8.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/1.117, allocations: 65.25 kB / 0.6607 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005246/1.123, allocations: 2.753 MB / 0.6634 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004541/1.127, allocations: 1.533 MB / 0.6649 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/1.132, allocations: 1.377 MB / 0.6662 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/1.137, allocations: 5.515 MB / 0.6716 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.143, allocations: 435.3 kB / 0.672 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.145, allocations: 391.9 kB / 0.6724 GB, free: 13.59 MB / 426.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 () * 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.002284/1.147, allocations: 0.59 MB / 0.673 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.148, allocations: 323.8 kB / 0.6733 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008304/1.157, allocations: 3.105 MB / 0.6763 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006132/1.163, allocations: 2.64 MB / 0.6789 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.163, allocations: 4 kB / 0.6789 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/1.163, allocations: 11.97 kB / 0.6789 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2643/1.427, allocations: 8.558 MB / 0.6873 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.427, allocations: 5.375 kB / 0.6873 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.428, allocations: 192.2 kB / 0.6875 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004937/1.433, allocations: 1.422 MB / 0.6889 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/1.434, allocations: 38.88 kB / 0.6889 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006863/1.441, allocations: 5.702 MB / 0.6945 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007704/1.441, allocations: 1.449 MB / 0.6959 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009354/1.451, allocations: 5.314 MB / 0.7011 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/1.452, allocations: 378.8 kB / 0.7014 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/1.452, allocations: 30.66 kB / 0.7015 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.454, allocations: 139.2 kB / 0.7016 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.454, allocations: 98 kB / 0.7017 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.454, allocations: 48.58 kB / 0.7017 GB, free: 89.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003957/1.458, allocations: 2.297 MB / 0.704 GB, free: 89.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.458, allocations: 0 / 0.704 GB, free: 89.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004851/1.463, allocations: 1.014 MB / 0.705 GB, free: 89.3 MB / 426.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 () * 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.0004446/1.463, allocations: 173 kB / 0.7051 GB, free: 89.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008331/1.472, allocations: 5.286 MB / 0.7103 GB, free: 88.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.472, allocations: 3.969 kB / 0.7103 GB, free: 88.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/1.475, allocations: 2.002 MB / 0.7123 GB, free: 88.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.477, allocations: 350.5 kB / 0.7126 GB, free: 88.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.489, allocations: 7.414 MB / 0.7198 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/1.492, allocations: 3.195 MB / 0.7229 GB, free: 85.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004297/1.496, allocations: 1.813 MB / 0.7247 GB, free: 85.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/1.497, allocations: 221.9 kB / 0.7249 GB, free: 85.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.497, allocations: 0 / 0.7249 GB, free: 85.87 MB / 426.7 MB Notification: Performance of Templates: time 0.05752/1.554, allocations: 33.88 MB / 0.758 GB, free: 77.11 MB / 426.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