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.0009561/0.0009562, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.41/1.41, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007701/0.00077, allocations: 90.36 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 11.98 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2544, allocations: 47.58 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3591, allocations: 93.06 MB / 470.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3594, allocations: 95.94 kB / 470.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4119/0.7713, allocations: 79.33 MB / 0.5366 GB, free: 81.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7714, allocations: 0 / 0.5366 GB, free: 81.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.7716, allocations: 83.94 kB / 0.5367 GB, free: 80.94 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.01543/0.7871, allocations: 4.279 MB / 0.5409 GB, free: 76.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.7872, allocations: 16.03 kB / 0.5409 GB, free: 76.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00949/0.7967, allocations: 2.222 MB / 0.5431 GB, free: 74.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008295/0.805, allocations: 3.333 MB / 0.5463 GB, free: 70.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.8053, allocations: 324.9 kB / 0.5466 GB, free: 70.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.8073, allocations: 432.2 kB / 0.5471 GB, free: 70.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.8308, allocations: 10.52 MB / 0.5573 GB, free: 58.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.831, allocations: 67.31 kB / 0.5574 GB, free: 58.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/0.8325, allocations: 211.9 kB / 0.5576 GB, free: 58.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001384/0.8339, allocations: 1.029 MB / 0.5586 GB, free: 57.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.85, allocations: 8.329 MB / 0.5667 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.8944, allocations: 49.08 MB / 0.6147 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.9046, allocations: 3.962 MB / 0.6185 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.9067, allocations: 1.396 MB / 0.6199 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.9179, allocations: 7.638 MB / 0.6274 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.918, allocations: 43.56 kB / 0.6274 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 3.937e-06/0.918, allocations: 4 kB / 0.6274 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.03151/0.9495, allocations: 12.28 MB / 0.6394 GB, free: 4.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001103/0.9507, allocations: 1.596 MB / 0.641 GB, free: 2.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1928/1.144, allocations: 3.827 MB / 0.6447 GB, free: 105.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/1.144, allocations: 48.48 kB / 0.6447 GB, free: 105.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.146, allocations: 3.122 MB / 0.6478 GB, free: 104.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/1.146, allocations: 0.6447 MB / 0.6484 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.146, allocations: 125.7 kB / 0.6485 GB, free: 103.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/1.147, allocations: 0.5625 MB / 0.6491 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.15, allocations: 2.004 MB / 0.651 GB, free: 103.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/1.155, allocations: 5.939 MB / 0.6568 GB, free: 98.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008345/1.163, allocations: 8.564 MB / 0.6652 GB, free: 93.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/1.163, allocations: 39.34 kB / 0.6652 GB, free: 93.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01511/1.178, allocations: 8.77 MB / 0.6738 GB, free: 90.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.178, allocations: 64.91 kB / 0.6739 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005792/1.184, allocations: 2.785 MB / 0.6766 GB, free: 89.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/1.189, allocations: 1.51 MB / 0.6781 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/1.193, allocations: 1.382 MB / 0.6794 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/1.198, allocations: 5.513 MB / 0.6848 GB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005165/1.203, allocations: 444.4 kB / 0.6852 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000999/1.204, allocations: 389.2 kB / 0.6856 GB, free: 85.54 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.004004/1.208, allocations: 2.012 MB / 0.6876 GB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007479/1.209, allocations: 329.2 kB / 0.6879 GB, free: 84.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006268/1.215, allocations: 3.12 MB / 0.6909 GB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004894/1.22, allocations: 2.666 MB / 0.6935 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.22, allocations: 2.875 kB / 0.6935 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/1.22, allocations: 13.11 kB / 0.6935 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/1.239, allocations: 8.582 MB / 0.7019 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.239, allocations: 2.859 kB / 0.7019 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/1.24, allocations: 191.2 kB / 0.7021 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/1.244, allocations: 1.432 MB / 0.7035 GB, free: 76.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.244, allocations: 39.56 kB / 0.7035 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/1.249, allocations: 5.716 MB / 0.7091 GB, free: 70.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006637/1.25, allocations: 1.448 MB / 0.7105 GB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007689/1.258, allocations: 5.293 MB / 0.7157 GB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009333/1.258, allocations: 382.6 kB / 0.7161 GB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/1.259, allocations: 32.94 kB / 0.7161 GB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.26, allocations: 140.8 kB / 0.7162 GB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/1.26, allocations: 91.14 kB / 0.7163 GB, free: 64.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.26, allocations: 47.73 kB / 0.7164 GB, free: 64.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00335/1.264, allocations: 2.356 MB / 0.7187 GB, free: 62.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.264, allocations: 0 / 0.7187 GB, free: 62.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005344/1.269, allocations: 1.019 MB / 0.7197 GB, free: 61.14 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.000443/1.27, allocations: 175.8 kB / 0.7198 GB, free: 60.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008179/1.278, allocations: 5.375 MB / 0.7251 GB, free: 56.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.278, allocations: 0 / 0.7251 GB, free: 56.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003244/1.281, allocations: 2.014 MB / 0.727 GB, free: 54.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.284, allocations: 376.9 kB / 0.7274 GB, free: 54.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/1.3, allocations: 10.66 MB / 0.7378 GB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.303, allocations: 3.105 MB / 0.7408 GB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004332/1.308, allocations: 1.818 MB / 0.7426 GB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/1.308, allocations: 215.4 kB / 0.7428 GB, free: 39.16 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/1.308, allocations: 0 / 0.7428 GB, free: 39.16 MB / 410.7 MB Notification: Performance of Templates: time 0.05569/1.364, allocations: 33.94 MB / 0.776 GB, free: 5.48 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/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