Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007823/0.0007858, allocations: 179.2 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006923/0.0006923, allocations: 89.86 kB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002199/0.0002199, allocations: 11.98 kB / 351.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 50.42 MB / 402.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0264/0.2024, allocations: 42.53 MB / 444.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.2224, allocations: 9.424 MB / 454.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.2274, allocations: 199.4 kB / 454.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.2317, allocations: 2.189 MB / 456.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.2453, allocations: 6.587 MB / 463.1 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.2473, allocations: 0.6982 MB / 463.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.2528, allocations: 5.181 MB / 469 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005175/0.258, allocations: 4.518 MB / 473.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.2598, allocations: 1.382 MB / 474.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.2621, allocations: 2.185 MB / 477.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.2625, allocations: 160 kB / 477.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.2642, allocations: 0.9947 MB / 478.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.2655, allocations: 1.866 MB / 480.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.2662, allocations: 0.8972 MB / 481 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.2705, allocations: 5.706 MB / 486.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2705, allocations: 0 / 486.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2705, allocations: 0 / 486.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.925e-05/0.2706, allocations: 0 / 486.7 MB, free: 11.76 MB / 362.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.006399/0.277, allocations: 4.385 MB / 491.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2771, allocations: 16.02 kB / 491.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/0.284, allocations: 2.162 MB / 493.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.2876, allocations: 2.442 MB / 495.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2878, allocations: 274.8 kB / 496 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/0.2886, allocations: 431.5 kB / 496.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.3063, allocations: 12.22 MB / 0.4967 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.3064, allocations: 47.53 kB / 0.4968 GB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.3068, allocations: 175.8 kB / 0.4969 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002817/0.3096, allocations: 2.162 MB / 0.499 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1659/0.4755, allocations: 10.18 MB / 0.509 GB, free: 92.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/0.5101, allocations: 44.29 MB / 0.5522 GB, free: 50.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.5193, allocations: 4.609 MB / 0.5567 GB, free: 45.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.5211, allocations: 1.719 MB / 0.5584 GB, free: 44.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008962/0.53, allocations: 8.22 MB / 0.5664 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5301, allocations: 55.88 kB / 0.5665 GB, free: 35.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 3.997e-06/0.5301, allocations: 0 / 0.5665 GB, free: 35.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.03234/0.5624, allocations: 15.92 MB / 0.582 GB, free: 19.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008361/0.5633, allocations: 1.597 MB / 0.5836 GB, free: 17.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/0.5682, allocations: 4.167 MB / 0.5877 GB, free: 13.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.5683, allocations: 61.53 kB / 0.5877 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.5697, allocations: 3.397 MB / 0.591 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/0.5702, allocations: 0.8004 MB / 0.5918 GB, free: 9.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.5705, allocations: 143.4 kB / 0.592 GB, free: 9.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.5708, allocations: 0.5953 MB / 0.5925 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.5736, allocations: 2.239 MB / 0.5947 GB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/0.5779, allocations: 6.371 MB / 0.6009 GB, free: 13.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/0.5825, allocations: 3.655 MB / 0.6045 GB, free: 10.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.06e-05/0.5826, allocations: 44 kB / 0.6046 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01922/0.6018, allocations: 10.01 MB / 0.6143 GB, free: 224 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.6019, allocations: 68.19 kB / 0.6144 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009919/0.6118, allocations: 3.785 MB / 0.6181 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/0.6212, allocations: 2.184 MB / 0.6202 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/0.6259, allocations: 1.583 MB / 0.6218 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.6336, allocations: 6.058 MB / 0.6277 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/0.6379, allocations: 435.3 kB / 0.6281 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007935/0.6387, allocations: 416 kB / 0.6285 GB, free: 1.41 MB / 410.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003513/0.6423, allocations: 2.211 MB / 0.6307 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.6429, allocations: 375.8 kB / 0.631 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.6488, allocations: 3.285 MB / 0.6342 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004736/0.6535, allocations: 2.734 MB / 0.6369 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.6535, allocations: 11.94 kB / 0.6369 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.6536, allocations: 7.969 kB / 0.6369 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.6699, allocations: 10.34 MB / 0.647 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.6699, allocations: 19.94 kB / 0.647 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.6713, allocations: 371.4 kB / 0.6474 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.674, allocations: 0.9828 MB / 0.6483 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.6742, allocations: 59.97 kB / 0.6484 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00441/0.6786, allocations: 4.598 MB / 0.6529 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008944/0.6795, allocations: 1.458 MB / 0.6543 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008041/0.6875, allocations: 5.889 MB / 0.6601 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009281/0.6885, allocations: 444.2 kB / 0.6605 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005848/0.6891, allocations: 64.17 kB / 0.6605 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.6908, allocations: 151.7 kB / 0.6607 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.691, allocations: 180.1 kB / 0.6609 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.6912, allocations: 75.98 kB / 0.6609 GB, free: 15.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004029/0.6952, allocations: 2.57 MB / 0.6634 GB, free: 12.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6952, allocations: 3.938 kB / 0.6635 GB, free: 12.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00473/0.7, allocations: 1.161 MB / 0.6646 GB, free: 11.49 MB / 458.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.7004, allocations: 219.1 kB / 0.6648 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009247/0.7097, allocations: 5.947 MB / 0.6706 GB, free: 5.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.7097, allocations: 8 kB / 0.6706 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/0.7133, allocations: 2.173 MB / 0.6727 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.716, allocations: 499.4 kB / 0.6732 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1608/0.8767, allocations: 13.08 MB / 0.686 GB, free: 155.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.8793, allocations: 3.45 MB / 0.6894 GB, free: 154.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/0.8801, allocations: 323 kB / 0.6897 GB, free: 154.8 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.8802, allocations: 4.922 kB / 0.6897 GB, free: 154.8 MB / 458.7 MB Notification: Performance of Templates: time 0.1028/0.983, allocations: 140.6 MB / 0.8269 GB, free: 21.12 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches