Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 17.92 MB, free: 3.855 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.2/1.2, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.00103/0.00103, allocations: 104.9 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008361/0.0008364, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1902, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.02867/0.2189, allocations: 46.98 MB / 420.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2366, allocations: 9.971 MB / 430.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006826/0.2434, allocations: 199.5 kB / 431 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005016/0.2485, allocations: 2.727 MB / 433.7 MB, free: 5.441 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.2529, allocations: 1.848 MB / 435.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.2545, allocations: 0.7489 MB / 436.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006479/0.261, allocations: 6.568 MB / 442.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004024/0.265, allocations: 3.535 MB / 446.4 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.2672, allocations: 1.526 MB / 447.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.2703, allocations: 2.504 MB / 450.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008295/0.2712, allocations: 260 kB / 450.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.2735, allocations: 1.244 MB / 451.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.2756, allocations: 2.057 MB / 454 MB, free: 1.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002814/0.2784, allocations: 2.353 MB / 456.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.2851, allocations: 7.192 MB / 463.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2852, allocations: 0 / 463.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2852, allocations: 3.938 kB / 463.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.2854, allocations: 0 / 463.5 MB, free: 7.488 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009245/0.2946, allocations: 5.281 MB / 468.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2947, allocations: 8.031 kB / 468.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/0.3017, allocations: 2.112 MB / 470.9 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.3066, allocations: 2.587 MB / 473.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3068, allocations: 274.8 kB / 473.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007641/0.3075, allocations: 431.6 kB / 474.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.3263, allocations: 12.22 MB / 486.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.3265, allocations: 47.62 kB / 486.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.3268, allocations: 171.8 kB / 486.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.3297, allocations: 2.166 MB / 488.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.3483, allocations: 10.2 MB / 499 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/0.5252, allocations: 44.34 MB / 0.5306 GB, free: 74.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008857/0.5341, allocations: 4.615 MB / 0.5351 GB, free: 71.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.5357, allocations: 1.729 MB / 0.5368 GB, free: 69.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008813/0.5445, allocations: 8.23 MB / 0.5448 GB, free: 60.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5446, allocations: 51.88 kB / 0.5449 GB, free: 60.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 3.477e-06/0.5446, allocations: 0 / 0.5449 GB, free: 60.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.03136/0.576, allocations: 15.95 MB / 0.5605 GB, free: 44.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008018/0.5768, allocations: 1.601 MB / 0.562 GB, free: 42.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.5806, allocations: 4.215 MB / 0.5661 GB, free: 38.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.5807, allocations: 61.64 kB / 0.5662 GB, free: 38.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.5818, allocations: 3.4 MB / 0.5695 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.5823, allocations: 0.8068 MB / 0.5703 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.5834, allocations: 1.36 MB / 0.5716 GB, free: 33.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.5834, allocations: 305.1 kB / 0.5719 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.5862, allocations: 2.271 MB / 0.5742 GB, free: 30.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003484/0.5896, allocations: 6.394 MB / 0.5804 GB, free: 22.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/0.5959, allocations: 9.324 MB / 0.5895 GB, free: 10.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.101e-05/0.596, allocations: 44 kB / 0.5895 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01742/0.6134, allocations: 10.06 MB / 0.5994 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.6135, allocations: 69 kB / 0.5994 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/0.6242, allocations: 3.789 MB / 0.6031 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009752/0.6339, allocations: 2.164 MB / 0.6052 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/0.6385, allocations: 1.587 MB / 0.6068 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/0.6464, allocations: 6.063 MB / 0.6127 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/0.6507, allocations: 435.3 kB / 0.6131 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006842/0.6514, allocations: 420 kB / 0.6135 GB, free: 1.754 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00303/0.6544, allocations: 2.217 MB / 0.6157 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/0.655, allocations: 375.1 kB / 0.6161 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.661, allocations: 3.292 MB / 0.6193 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004754/0.6658, allocations: 2.738 MB / 0.6219 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6658, allocations: 4 kB / 0.6219 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6658, allocations: 11.91 kB / 0.622 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.6821, allocations: 10.34 MB / 0.6321 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.6822, allocations: 16.94 kB / 0.6321 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6835, allocations: 367.4 kB / 0.6324 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.6864, allocations: 0.9864 MB / 0.6334 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.6865, allocations: 63.91 kB / 0.6335 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.691, allocations: 4.581 MB / 0.6379 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008917/0.6919, allocations: 1.478 MB / 0.6394 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1888/0.8807, allocations: 31.92 MB / 0.6705 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.8819, allocations: 0.6632 MB / 0.6712 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.8823, allocations: 54.67 kB / 0.6712 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.8837, allocations: 149 kB / 0.6714 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.884, allocations: 180.3 kB / 0.6716 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8842, allocations: 80.47 kB / 0.6716 GB, free: 130.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002755/0.8869, allocations: 2.609 MB / 0.6742 GB, free: 129.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8869, allocations: 0 / 0.6742 GB, free: 129.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004841/0.8918, allocations: 1.533 MB / 0.6757 GB, free: 127.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003931/0.8922, allocations: 218.2 kB / 0.6759 GB, free: 127.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007687/0.8999, allocations: 5.976 MB / 0.6817 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8999, allocations: 6.969 kB / 0.6817 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.9029, allocations: 2.191 MB / 0.6839 GB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.9051, allocations: 484.5 kB / 0.6843 GB, free: 118.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.9211, allocations: 15.35 MB / 0.6993 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/0.9238, allocations: 3.533 MB / 0.7028 GB, free: 99.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004161/0.928, allocations: 2.058 MB / 0.7048 GB, free: 97.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/0.9287, allocations: 287.4 kB / 0.7051 GB, free: 97.33 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9287, allocations: 0 / 0.7051 GB, free: 97.33 MB / 426.7 MB Notification: Performance of Templates: time 0.05907/0.9877, allocations: 50.3 MB / 0.7542 GB, free: 47.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches