Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 178.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00075/0.00075, allocations: 95.58 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002373, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 50.42 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01094/0.2098, allocations: 16.17 MB / 420.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008831/0.2186, allocations: 7.713 MB / 428.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.2213, allocations: 67.81 kB / 428.5 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.2219, allocations: 282.7 kB / 428.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.2244, allocations: 1.285 MB / 430.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.2251, allocations: 411.4 kB / 430.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.2276, allocations: 3.62 MB / 434.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.2299, allocations: 2.329 MB / 436.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.2308, allocations: 0.7431 MB / 437.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.232, allocations: 1.218 MB / 438.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.2322, allocations: 88 kB / 438.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.2337, allocations: 0.9788 MB / 439.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.2345, allocations: 1.036 MB / 440.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009247/0.2355, allocations: 1.232 MB / 441.7 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.2389, allocations: 4.077 MB / 445.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2389, allocations: 0 / 445.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2389, allocations: 7.938 kB / 445.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.239, allocations: 0 / 445.8 MB, free: 5.156 MB / 314.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.003865/0.2428, allocations: 2.525 MB / 448.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2429, allocations: 12.03 kB / 448.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.2484, allocations: 1.783 MB / 450.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.2515, allocations: 1.383 MB / 451.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2517, allocations: 135.3 kB / 451.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009413/0.2526, allocations: 255.6 kB / 451.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.2685, allocations: 6.66 MB / 458.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.48e-05/0.2687, allocations: 31.7 kB / 458.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.269, allocations: 83.89 kB / 458.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003127/0.2722, allocations: 1.366 MB / 460 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/0.2881, allocations: 6.025 MB / 466.1 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03907/0.3273, allocations: 25.62 MB / 491.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009392/0.3367, allocations: 2.659 MB / 494.3 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.3388, allocations: 1.032 MB / 495.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00787/0.3467, allocations: 3.892 MB / 499.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.3468, allocations: 47.11 kB / 499.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 4.749e-06/0.3468, allocations: 0 / 499.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.03748/0.3843, allocations: 10.31 MB / 0.4977 GB, free: 3.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001602/0.3859, allocations: 1.588 MB / 0.4992 GB, free: 1.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1696/0.5555, allocations: 2.702 MB / 0.5019 GB, free: 96.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002844/0.5559, allocations: 44.48 kB / 0.5019 GB, free: 96.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.5575, allocations: 2.089 MB / 0.504 GB, free: 95.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006426/0.5581, allocations: 0.5066 MB / 0.5044 GB, free: 94.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.5585, allocations: 92.28 kB / 0.5045 GB, free: 94.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003053/0.5589, allocations: 0.492 MB / 0.505 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.5614, allocations: 1.639 MB / 0.5066 GB, free: 93.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.5649, allocations: 4.44 MB / 0.511 GB, free: 89.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/0.5702, allocations: 6.519 MB / 0.5173 GB, free: 84.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/0.5704, allocations: 34.19 kB / 0.5173 GB, free: 84.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01686/0.5873, allocations: 7.957 MB / 0.5251 GB, free: 79.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/0.5874, allocations: 44 kB / 0.5252 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009797/0.5972, allocations: 3.492 MB / 0.5286 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/0.6077, allocations: 2.59 MB / 0.5311 GB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/0.6108, allocations: 1.006 MB / 0.5321 GB, free: 72.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.6217, allocations: 8.849 MB / 0.5407 GB, free: 63.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/0.6253, allocations: 331.6 kB / 0.541 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/0.626, allocations: 287.9 kB / 0.5413 GB, free: 62.84 MB / 378.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.002454/0.6284, allocations: 1.431 MB / 0.5427 GB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/0.629, allocations: 233 kB / 0.5429 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00591/0.6349, allocations: 2.842 MB / 0.5457 GB, free: 58.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004832/0.6398, allocations: 2.521 MB / 0.5482 GB, free: 55.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.6398, allocations: 8 kB / 0.5482 GB, free: 55.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.6398, allocations: 3.984 kB / 0.5482 GB, free: 55.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6515, allocations: 6.852 MB / 0.5549 GB, free: 48.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.6515, allocations: 0 / 0.5549 GB, free: 48.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.6523, allocations: 175.7 kB / 0.555 GB, free: 48.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/0.6564, allocations: 1.441 MB / 0.5565 GB, free: 47.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.6566, allocations: 31.97 kB / 0.5565 GB, free: 47.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0078/0.6644, allocations: 7.325 MB / 0.5636 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007324/0.6652, allocations: 1.458 MB / 0.5651 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/0.6727, allocations: 4.848 MB / 0.5698 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.6735, allocations: 302 kB / 0.5701 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/0.674, allocations: 24.17 kB / 0.5701 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.6753, allocations: 115.8 kB / 0.5702 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.6756, allocations: 80.36 kB / 0.5703 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.6757, allocations: 35.98 kB / 0.5703 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002504/0.6782, allocations: 1.67 MB / 0.572 GB, free: 30.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6782, allocations: 4 kB / 0.572 GB, free: 30.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003792/0.682, allocations: 0.7937 MB / 0.5727 GB, free: 30.09 MB / 378.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.0004074/0.6824, allocations: 174.5 kB / 0.5729 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.6889, allocations: 4.399 MB / 0.5772 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.689, allocations: 0 / 0.5772 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.6916, allocations: 1.724 MB / 0.5789 GB, free: 23.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6939, allocations: 257.1 kB / 0.5791 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.7045, allocations: 7.962 MB / 0.5869 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.7068, allocations: 2.293 MB / 0.5891 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003127/0.71, allocations: 1.404 MB / 0.5905 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.7106, allocations: 171.4 kB / 0.5907 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7106, allocations: 0 / 0.5907 GB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.04712/0.7577, allocations: 29.17 MB / 0.6192 GB, free: 14.48 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches