Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001215, allocations: 176 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008486/0.0008485, allocations: 91.75 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003029, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01254/0.2358, allocations: 16.17 MB / 392.8 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009201/0.2451, allocations: 7.718 MB / 400.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.2474, allocations: 67.81 kB / 400.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.2481, allocations: 286.7 kB / 400.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.2503, allocations: 1.281 MB / 402.1 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.2511, allocations: 411.4 kB / 402.5 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.2536, allocations: 3.636 MB / 406.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.2556, allocations: 2.325 MB / 408.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.2563, allocations: 0.743 MB / 409.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.2573, allocations: 1.23 MB / 410.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.2575, allocations: 84 kB / 410.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.2589, allocations: 0.9748 MB / 411.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005897/0.2595, allocations: 1.032 MB / 412.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.2602, allocations: 1.236 MB / 413.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.2629, allocations: 4.073 MB / 417.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2629, allocations: 0 / 417.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2629, allocations: 0 / 417.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.79e-05/0.263, allocations: 0 / 417.8 MB, free: 6.344 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.003469/0.2664, allocations: 2.536 MB / 420.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2665, allocations: 12.03 kB / 420.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.2718, allocations: 1.779 MB / 422.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.2739, allocations: 1.441 MB / 423.6 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.2739, allocations: 135.2 kB / 423.7 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005102/0.2745, allocations: 255.7 kB / 424 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009858/0.2843, allocations: 6.664 MB / 430.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.2844, allocations: 35.64 kB / 430.7 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.2846, allocations: 83.89 kB / 430.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/0.2866, allocations: 1.367 MB / 432.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.297, allocations: 6.017 MB / 438.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.3248, allocations: 25.61 MB / 463.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/0.3311, allocations: 2.685 MB / 466.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.3324, allocations: 1.032 MB / 467.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005213/0.3376, allocations: 3.892 MB / 471.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3377, allocations: 43.12 kB / 471.4 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=112): time 2.835e-06/0.3377, allocations: 0 / 471.4 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.02287/0.3606, allocations: 10.32 MB / 481.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001113/0.3617, allocations: 1.58 MB / 483.3 MB, free: 2.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.3649, allocations: 2.718 MB / 486 MB, free: 16 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.365, allocations: 41.7 kB / 486.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.3663, allocations: 2.087 MB / 488.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.3667, allocations: 0.5054 MB / 488.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.3669, allocations: 88.06 kB / 488.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.3671, allocations: 0.4962 MB / 489.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.3693, allocations: 1.633 MB / 490.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.3732, allocations: 4.444 MB / 495.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/0.38, allocations: 6.521 MB / 0.4901 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.032e-05/0.3801, allocations: 31.94 kB / 0.4901 GB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01809/0.3982, allocations: 7.963 MB / 0.4979 GB, free: 5.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.3983, allocations: 48 kB / 0.4979 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01074/0.409, allocations: 3.492 MB / 0.5014 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1698/0.5789, allocations: 2.578 MB / 0.5039 GB, free: 118.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/0.5821, allocations: 1.014 MB / 0.5049 GB, free: 118.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.5948, allocations: 8.856 MB / 0.5135 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.5984, allocations: 334.8 kB / 0.5138 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005978/0.599, allocations: 285.9 kB / 0.5141 GB, free: 114.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002313/0.6013, allocations: 1.421 MB / 0.5155 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.6017, allocations: 232.8 kB / 0.5157 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/0.6073, allocations: 2.844 MB / 0.5185 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004923/0.6123, allocations: 2.507 MB / 0.5209 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.6123, allocations: 10 kB / 0.521 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.6123, allocations: 11.72 kB / 0.521 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.6234, allocations: 6.874 MB / 0.5277 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6235, allocations: 3.938 kB / 0.5277 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.6242, allocations: 175.7 kB / 0.5278 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/0.6283, allocations: 1.43 MB / 0.5292 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6285, allocations: 27.98 kB / 0.5293 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007588/0.6361, allocations: 7.329 MB / 0.5364 GB, free: 99.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006756/0.6368, allocations: 1.457 MB / 0.5378 GB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007357/0.6441, allocations: 4.848 MB / 0.5426 GB, free: 92.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.6447, allocations: 300 kB / 0.5429 GB, free: 92.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.645, allocations: 27.98 kB / 0.5429 GB, free: 92.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.646, allocations: 112.8 kB / 0.543 GB, free: 92.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.6463, allocations: 84.31 kB / 0.5431 GB, free: 92.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.105e-05/0.6464, allocations: 33.72 kB / 0.5431 GB, free: 92.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001906/0.6483, allocations: 1.685 MB / 0.5448 GB, free: 90.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6483, allocations: 0 / 0.5448 GB, free: 90.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003107/0.6514, allocations: 0.785 MB / 0.5455 GB, free: 89.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003277/0.6517, allocations: 169.9 kB / 0.5457 GB, free: 89.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005718/0.6575, allocations: 4.409 MB / 0.55 GB, free: 85.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6575, allocations: 0 / 0.55 GB, free: 85.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.6599, allocations: 1.71 MB / 0.5517 GB, free: 83.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.6618, allocations: 265.6 kB / 0.5519 GB, free: 83.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.6702, allocations: 7.975 MB / 0.5597 GB, free: 75.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.6719, allocations: 2.301 MB / 0.562 GB, free: 72.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00289/0.6748, allocations: 1.412 MB / 0.5633 GB, free: 71.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.6752, allocations: 167.4 kB / 0.5635 GB, free: 71.32 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6752, allocations: 0 / 0.5635 GB, free: 71.32 MB / 394.7 MB Notification: Performance of Templates: time 0.04404/0.7192, allocations: 29.22 MB / 0.592 GB, free: 42.18 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches