Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 196.4 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.376/1.376, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008081/0.0008083, allocations: 101.6 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3334/0.3334, allocations: 45.01 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.000259, allocations: 8 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3436, allocations: 63.1 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.03019/0.3739, allocations: 38.92 MB / 0.5594 GB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.4, allocations: 12.33 MB / 0.5714 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00901/0.409, allocations: 180.2 kB / 0.5716 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.4108, allocations: 443.9 kB / 0.572 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.4162, allocations: 1.738 MB / 0.5737 GB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.418, allocations: 0.7163 MB / 0.5744 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007807/0.4259, allocations: 6.238 MB / 0.5805 GB, free: 9.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006649/0.4325, allocations: 5.428 MB / 0.5858 GB, free: 3.926 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.4349, allocations: 1.296 MB / 0.5871 GB, free: 2.625 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.4373, allocations: 2.087 MB / 0.5891 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.4377, allocations: 156 kB / 0.5893 GB, free: 388 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.4394, allocations: 0.8112 MB / 0.59 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.4408, allocations: 1.725 MB / 0.5917 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.4426, allocations: 2.032 MB / 0.5937 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.4485, allocations: 6.356 MB / 0.5999 GB, free: 5.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4485, allocations: 0 / 0.5999 GB, free: 5.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4485, allocations: 0 / 0.5999 GB, free: 5.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.4486, allocations: 4 kB / 0.5999 GB, free: 5.402 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.006392/0.455, allocations: 3.953 MB / 0.6038 GB, free: 1.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4551, allocations: 12.03 kB / 0.6038 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/0.4614, allocations: 1.999 MB / 0.6058 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.4652, allocations: 2.294 MB / 0.608 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.4654, allocations: 258.2 kB / 0.6082 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/0.4659, allocations: 323.8 kB / 0.6085 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.4811, allocations: 10.19 MB / 0.6185 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4812, allocations: 47.58 kB / 0.6185 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.4816, allocations: 163.8 kB / 0.6187 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/0.4841, allocations: 1.904 MB / 0.6206 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.4984, allocations: 8.118 MB / 0.6285 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/0.5391, allocations: 39.45 MB / 0.667 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007182/0.5463, allocations: 3.266 MB / 0.6702 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.5478, allocations: 1.051 MB / 0.6712 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008071/0.5559, allocations: 5.905 MB / 0.677 GB, free: 3.789 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.5559, allocations: 55.5 kB / 0.677 GB, free: 3.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 4.178e-06/0.556, allocations: 0 / 0.677 GB, free: 3.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.2788/0.8347, allocations: 9.421 MB / 0.6862 GB, free: 130.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.8348, allocations: 149.1 kB / 0.6864 GB, free: 130.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004825/0.8397, allocations: 4.018 MB / 0.6903 GB, free: 129.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.8399, allocations: 55.2 kB / 0.6904 GB, free: 129.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.8415, allocations: 3.181 MB / 0.6935 GB, free: 126.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.842, allocations: 0.6328 MB / 0.6941 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.8421, allocations: 126.7 kB / 0.6942 GB, free: 126.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.8424, allocations: 0.5612 MB / 0.6948 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.8445, allocations: 1.623 MB / 0.6963 GB, free: 125.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.8479, allocations: 5.497 MB / 0.7017 GB, free: 119.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007156/0.855, allocations: 7.75 MB / 0.7093 GB, free: 112.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/0.8552, allocations: 39.38 kB / 0.7093 GB, free: 112.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01279/0.868, allocations: 6.85 MB / 0.716 GB, free: 109.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.8682, allocations: 63.91 kB / 0.7161 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/0.8684, allocations: 142.6 kB / 0.7162 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.8688, allocations: 180.7 kB / 0.7164 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.8732, allocations: 1.434 MB / 0.7178 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002714/0.8735, allocations: 276.3 kB / 0.718 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.8775, allocations: 291.1 kB / 0.7183 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/0.8782, allocations: 377.3 kB / 0.7187 GB, free: 109.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003586/0.8818, allocations: 2.039 MB / 0.7207 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/0.8824, allocations: 353.2 kB / 0.721 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.8845, allocations: 1.332 MB / 0.7223 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.8845, allocations: 16.84 kB / 0.7223 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8845, allocations: 0.6094 kB / 0.7223 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.8845, allocations: 10.58 kB / 0.7223 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.892, allocations: 5.818 MB / 0.728 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.892, allocations: 18.16 kB / 0.728 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/0.8929, allocations: 284.1 kB / 0.7283 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.893, allocations: 24.72 kB / 0.7283 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.893, allocations: 51.78 kB / 0.7284 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.93e-05/0.8931, allocations: 34.91 kB / 0.7284 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.8931, allocations: 31.34 kB / 0.7284 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.8961, allocations: 3.264 MB / 0.7316 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007204/0.8968, allocations: 430.8 kB / 0.732 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.8971, allocations: 52.23 kB / 0.7321 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/0.8981, allocations: 63.34 kB / 0.7322 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.8983, allocations: 149.7 kB / 0.7323 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/0.8984, allocations: 64.62 kB / 0.7324 GB, free: 101.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003126/0.9015, allocations: 2.477 MB / 0.7348 GB, free: 99.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9015, allocations: 0 / 0.7348 GB, free: 99.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004691/0.9062, allocations: 0.9105 MB / 0.7357 GB, free: 98.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/0.9065, allocations: 210.8 kB / 0.7359 GB, free: 98.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005004/0.9116, allocations: 3.749 MB / 0.7395 GB, free: 95.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9116, allocations: 4.844 kB / 0.7395 GB, free: 95.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.9124, allocations: 0.7362 MB / 0.7402 GB, free: 94.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/0.9232, allocations: 463 kB / 0.7407 GB, free: 94.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.9358, allocations: 10.87 MB / 0.7513 GB, free: 83.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.9382, allocations: 3.173 MB / 0.7544 GB, free: 80.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003769/0.942, allocations: 1.812 MB / 0.7562 GB, free: 78.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.9424, allocations: 247.4 kB / 0.7564 GB, free: 78.25 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.9425, allocations: 0 / 0.7564 GB, free: 78.25 MB / 490.7 MB Notification: Performance of Templates: time 0.0464/0.9889, allocations: 27.43 MB / 0.7832 GB, free: 50.99 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches