Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007533/0.0007533, allocations: 101.2 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 4 kB / 360.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2141, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02895/0.2431, allocations: 38.33 MB / 450.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.2633, allocations: 12.24 MB / 462.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005977/0.2693, allocations: 175.6 kB / 462.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2705, allocations: 421.9 kB / 463.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003789/0.2743, allocations: 1.635 MB / 464.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.2757, allocations: 0.6163 MB / 465.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007032/0.2828, allocations: 5.401 MB / 470.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007044/0.2898, allocations: 5.692 MB / 476.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.2919, allocations: 1.226 MB / 477.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.2942, allocations: 1.806 MB / 479.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004797/0.2947, allocations: 140 kB / 479.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.2968, allocations: 1.006 MB / 480.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.2982, allocations: 1.616 MB / 482.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.3003, allocations: 1.931 MB / 484.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.3063, allocations: 6.226 MB / 490.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3063, allocations: 0 / 490.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3063, allocations: 0 / 490.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.3064, allocations: 0 / 490.5 MB, free: 10.15 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006135/0.3126, allocations: 3.735 MB / 494.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3126, allocations: 12.03 kB / 494.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.319, allocations: 1.98 MB / 496.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.3226, allocations: 1.97 MB / 498.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.3228, allocations: 246.2 kB / 498.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007876/0.3236, allocations: 395.8 kB / 498.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.3396, allocations: 10.05 MB / 0.497 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.662e-05/0.3398, allocations: 35.69 kB / 0.497 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.3401, allocations: 163.8 kB / 0.4971 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.3426, allocations: 1.853 MB / 0.499 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1889/0.5315, allocations: 8.289 MB / 0.507 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03607/0.5676, allocations: 39.4 MB / 0.5455 GB, free: 56.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.576, allocations: 3.982 MB / 0.5494 GB, free: 52.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.5777, allocations: 1.419 MB / 0.5508 GB, free: 51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007946/0.5857, allocations: 7.626 MB / 0.5582 GB, free: 42.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5857, allocations: 55.5 kB / 0.5583 GB, free: 42.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.507e-06/0.5857, allocations: 4 kB / 0.5583 GB, free: 42.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.02521/0.6109, allocations: 12.38 MB / 0.5704 GB, free: 30.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008881/0.6119, allocations: 1.593 MB / 0.572 GB, free: 28.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.616, allocations: 3.785 MB / 0.5756 GB, free: 24.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.6162, allocations: 46.77 kB / 0.5757 GB, free: 24.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.6174, allocations: 3.119 MB / 0.5787 GB, free: 21.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.6178, allocations: 0.6502 MB / 0.5794 GB, free: 20.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.618, allocations: 123.9 kB / 0.5795 GB, free: 20.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.6182, allocations: 0.5704 MB / 0.5801 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.6204, allocations: 2.019 MB / 0.582 GB, free: 18.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.6238, allocations: 5.938 MB / 0.5878 GB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/0.6311, allocations: 8.603 MB / 0.5962 GB, free: 15.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.817e-05/0.6312, allocations: 40 kB / 0.5963 GB, free: 15.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0209/0.6521, allocations: 9.74 MB / 0.6058 GB, free: 5.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.6522, allocations: 64.94 kB / 0.6058 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0107/0.6629, allocations: 3.811 MB / 0.6096 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.6738, allocations: 2.719 MB / 0.6122 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/0.6779, allocations: 1.365 MB / 0.6135 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009364/0.6872, allocations: 7.217 MB / 0.6206 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.6915, allocations: 415.1 kB / 0.621 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005732/0.6921, allocations: 384 kB / 0.6214 GB, free: 5.688 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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002824/0.6949, allocations: 2.009 MB / 0.6233 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.6954, allocations: 331.9 kB / 0.6236 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006336/0.7017, allocations: 3.128 MB / 0.6267 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005533/0.7073, allocations: 2.682 MB / 0.6293 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7073, allocations: 0 / 0.6293 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.7073, allocations: 11.92 kB / 0.6293 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.722, allocations: 8.569 MB / 0.6377 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.7221, allocations: 4 kB / 0.6377 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.7229, allocations: 187.7 kB / 0.6379 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004373/0.7273, allocations: 1.424 MB / 0.6393 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7275, allocations: 39.97 kB / 0.6393 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00599/0.7335, allocations: 5.707 MB / 0.6449 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009628/0.7345, allocations: 1.452 MB / 0.6463 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008648/0.7431, allocations: 5.283 MB / 0.6514 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/0.744, allocations: 376.7 kB / 0.6518 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/0.7443, allocations: 24.19 kB / 0.6518 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.7456, allocations: 135.8 kB / 0.652 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.7459, allocations: 108.1 kB / 0.6521 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.746, allocations: 47.98 kB / 0.6521 GB, free: 5.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003261/0.7493, allocations: 2.314 MB / 0.6544 GB, free: 3.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7493, allocations: 0 / 0.6544 GB, free: 3.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003925/0.7532, allocations: 1.027 MB / 0.6554 GB, free: 2.223 MB / 442.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 (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003625/0.7536, allocations: 172.9 kB / 0.6555 GB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008699/0.7623, allocations: 5.474 MB / 0.6609 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7623, allocations: 4 kB / 0.6609 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.766, allocations: 2.015 MB / 0.6629 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.7684, allocations: 384.6 kB / 0.6632 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1858/0.9542, allocations: 11.12 MB / 0.6741 GB, free: 154.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/0.9578, allocations: 3.109 MB / 0.6771 GB, free: 154.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004284/0.9621, allocations: 1.803 MB / 0.6789 GB, free: 154.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.9626, allocations: 223 kB / 0.6791 GB, free: 154.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9626, allocations: 0 / 0.6791 GB, free: 154.1 MB / 458.7 MB Notification: Performance of Templates: time 0.05485/1.017, allocations: 36.69 MB / 0.7149 GB, free: 128.6 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches