Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0135/0.0135, allocations: 104.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001183/0.001183, allocations: 170.5 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.756/1.756, allocations: 170.9 MB / 187.5 MB, free: 0.8164 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3125/0.3125, allocations: 38.08 MB / 265.1 MB, free: 3.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.000649, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.105, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.05515/0.1602, allocations: 34.92 MB / 407.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0267/0.1869, allocations: 8.671 MB / 415.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008947/0.1959, allocations: 171.6 kB / 416.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007605/0.2036, allocations: 1.742 MB / 417.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02228/0.2259, allocations: 5.073 MB / 422.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.2298, allocations: 0.663 MB / 423.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006642/0.2365, allocations: 2.457 MB / 426 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008831/0.2453, allocations: 4.1 MB / 430.1 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.248, allocations: 1.047 MB / 431.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.2511, allocations: 1.495 MB / 432.6 MB, free: 276 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008009/0.252, allocations: 148 kB / 432.8 MB, free: 128 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3069/0.5589, allocations: 0.6942 MB / 433.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.5625, allocations: 1.553 MB / 435 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.5654, allocations: 0.8147 MB / 435.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.5766, allocations: 5.17 MB / 441 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5767, allocations: 4.844 kB / 441 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5767, allocations: 0 / 441 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000324/0.577, allocations: 0 / 441 MB, free: 13.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01565/0.5927, allocations: 3.958 MB / 445 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.5927, allocations: 9.375 kB / 445 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003731/0.5965, allocations: 0.7171 MB / 445.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.6131, allocations: 2.283 MB / 448 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009387/0.6225, allocations: 2.756 MB / 450.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.623, allocations: 244.5 kB / 451 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.6251, allocations: 318.8 kB / 451.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03079/0.6559, allocations: 10.03 MB / 461.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.6562, allocations: 43.03 kB / 461.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.6577, allocations: 163.1 kB / 461.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004998/0.6627, allocations: 1.874 MB / 463.4 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.6894, allocations: 8.023 MB / 471.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07085/0.7603, allocations: 38.92 MB / 0.4984 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.7739, allocations: 3.077 MB / 0.5014 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/0.7875, allocations: 5.202 MB / 0.5065 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.7876, allocations: 52.25 kB / 0.5065 GB, free: 12.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 6.672e-06/0.7876, allocations: 0 / 0.5065 GB, free: 12.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.03979/0.8274, allocations: 9.266 MB / 0.5156 GB, free: 3.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.8275, allocations: 151.6 kB / 0.5157 GB, free: 3.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/0.8378, allocations: 4.254 MB / 0.5199 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.8382, allocations: 45.7 kB / 0.5199 GB, free: 15.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/0.8419, allocations: 3.153 MB / 0.523 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.843, allocations: 0.5916 MB / 0.5236 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/0.8437, allocations: 120 kB / 0.5237 GB, free: 11.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004985/0.8442, allocations: 0.5502 MB / 0.5242 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004791/0.849, allocations: 1.585 MB / 0.5258 GB, free: 9.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008792/0.8578, allocations: 5.386 MB / 0.531 GB, free: 2.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007874/0.8657, allocations: 2.86 MB / 0.5338 GB, free: 15.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/0.8659, allocations: 40 kB / 0.5338 GB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.02053/0.8865, allocations: 6.701 MB / 0.5404 GB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.8866, allocations: 68.25 kB / 0.5405 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/0.8869, allocations: 138.2 kB / 0.5406 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.8872, allocations: 200 kB / 0.5408 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008654/0.8958, allocations: 1.398 MB / 0.5421 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003093/0.8962, allocations: 266.2 kB / 0.5424 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006394/0.9026, allocations: 294.3 kB / 0.5427 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/0.9041, allocations: 372 kB / 0.543 GB, free: 7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (750): * Single equations (assignments): 747 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006191/0.9103, allocations: 2.004 MB / 0.545 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000954/0.9113, allocations: 351.5 kB / 0.5453 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.915, allocations: 1.247 MB / 0.5465 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/0.9151, allocations: 20 kB / 0.5466 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.9151, allocations: 192 / 0.5466 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.9151, allocations: 7.969 kB / 0.5466 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.9315, allocations: 5.535 MB / 0.552 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.9316, allocations: 17.56 kB / 0.552 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.9336, allocations: 259.5 kB / 0.5522 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.185e-05/0.9337, allocations: 24 kB / 0.5523 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.9338, allocations: 43.95 kB / 0.5523 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.102e-05/0.9339, allocations: 31.92 kB / 0.5523 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.889e-05/0.9339, allocations: 27.86 kB / 0.5524 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008078/0.942, allocations: 4.833 MB / 0.5571 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/0.9442, allocations: 0.5335 MB / 0.5576 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008533/0.9451, allocations: 43.98 kB / 0.5576 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/0.9477, allocations: 63.95 kB / 0.5577 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/0.9482, allocations: 124 kB / 0.5578 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.9484, allocations: 68 kB / 0.5579 GB, free: 6.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008219/0.9566, allocations: 2.676 MB / 0.5605 GB, free: 4.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9567, allocations: 0 / 0.5605 GB, free: 4.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01163/0.9683, allocations: 0.898 MB / 0.5614 GB, free: 3.219 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (133): * Single equations (assignments): 130 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01371/0.9821, allocations: 9.154 MB / 0.5703 GB, free: 9.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/0.9955, allocations: 3.624 MB / 0.5739 GB, free: 5.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.9956, allocations: 4.812 kB / 0.5739 GB, free: 5.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.9982, allocations: 0.7021 MB / 0.5745 GB, free: 5.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/1.003, allocations: 423 kB / 0.575 GB, free: 4.875 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.346/1.349, allocations: 113.2 MB / 0.6855 GB, free: 80.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007384/1.357, allocations: 3.22 MB / 0.6887 GB, free: 79.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008859/1.366, allocations: 1.797 MB / 0.6904 GB, free: 79.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004199/1.37, allocations: 1.831 MB / 0.6922 GB, free: 78.19 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.37, allocations: 1.969 kB / 0.6922 GB, free: 78.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1658/1.536, allocations: 66.58 MB / 0.7572 GB, free: 20.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.536, allocations: 171.4 kB / 0.7574 GB, free: 20.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.16/6.696, allocations: 0 / 0.7574 GB, free: 20.55 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat