Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01528/0.01529, allocations: 106.2 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.2.mo): time 0.001849/0.001848, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.972/1.972, allocations: 194.5 MB / 211.2 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2833/0.2833, allocations: 40.05 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000643/0.0006434, allocations: 12 kB / 361.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1216, allocations: 54.87 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4155/0.5372, allocations: 71.76 MB / 487.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04972/0.587, allocations: 15.97 MB / 0.4919 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01773/0.6048, allocations: 347.2 kB / 0.4923 GB, free: 14.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.619, allocations: 3.647 MB / 0.4958 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04058/0.6597, allocations: 10.06 MB / 0.5057 GB, free: 320 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006942/0.6667, allocations: 1.053 MB / 0.5067 GB, free: 15.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009946/0.6767, allocations: 3.924 MB / 0.5105 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/0.6952, allocations: 8.468 MB / 0.5188 GB, free: 2.785 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.6999, allocations: 1.76 MB / 0.5205 GB, free: 1.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005856/0.7058, allocations: 2.543 MB / 0.523 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00207/0.708, allocations: 279.9 kB / 0.5233 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.7119, allocations: 0.8271 MB / 0.5241 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005043/0.717, allocations: 2.806 MB / 0.5268 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.7203, allocations: 1.415 MB / 0.5282 GB, free: 9.129 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.7357, allocations: 9.321 MB / 0.5373 GB, free: 15.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7357, allocations: 0 / 0.5373 GB, free: 15.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7357, allocations: 0 / 0.5373 GB, free: 15.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004256/0.7362, allocations: 0 / 0.5373 GB, free: 15.78 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02157/0.7577, allocations: 6.743 MB / 0.5439 GB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.7578, allocations: 12.03 kB / 0.5439 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004519/0.7624, allocations: 1.278 MB / 0.5451 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/0.7854, allocations: 3.274 MB / 0.5483 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.7993, allocations: 4.37 MB / 0.5526 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007573/0.8001, allocations: 463.4 kB / 0.553 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/0.8035, allocations: 0.5777 MB / 0.5536 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0778/0.8813, allocations: 21.49 MB / 0.5746 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004014/0.8818, allocations: 75.25 kB / 0.5747 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002809/0.8846, allocations: 279.8 kB / 0.5749 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01071/0.8954, allocations: 3.529 MB / 0.5784 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07367/0.9691, allocations: 17.5 MB / 0.5955 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7521/1.721, allocations: 70.23 MB / 0.664 GB, free: 100.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07661/1.798, allocations: 14.58 MB / 0.6783 GB, free: 90.04 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04297/1.841, allocations: 14.39 MB / 0.6923 GB, free: 75.44 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0938/1.935, allocations: 12.47 MB / 0.7045 GB, free: 62.91 MB / 474.8 MB Notification: Performance of pre-optimization done (n=287): time 1.213e-05/1.935, allocations: 0.75 kB / 0.7045 GB, free: 62.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=323): time 0.2235/2.158, allocations: 43.62 MB / 0.7471 GB, free: 19.02 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/2.159, allocations: 170.6 kB / 0.7473 GB, free: 18.82 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/2.173, allocations: 6.344 MB / 0.7535 GB, free: 12.46 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008505/2.174, allocations: 75.03 kB / 0.7535 GB, free: 12.38 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005394/2.179, allocations: 5.299 MB / 0.7587 GB, free: 7.082 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001998/2.181, allocations: 1.233 MB / 0.7599 GB, free: 5.859 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/2.183, allocations: 196 kB / 0.7601 GB, free: 5.668 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008039/2.183, allocations: 0.7153 MB / 0.7608 GB, free: 4.945 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/2.194, allocations: 3.302 MB / 0.764 GB, free: 1.637 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/2.21, allocations: 9.053 MB / 0.7729 GB, free: 5.723 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/2.226, allocations: 5.25 MB / 0.778 GB, free: 452 kB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/2.226, allocations: 60 kB / 0.7781 GB, free: 392 kB / 490.8 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.3936/2.619, allocations: 12.27 MB / 0.79 GB, free: 153.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/2.62, allocations: 120.7 kB / 0.7902 GB, free: 153.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00053/2.62, allocations: 203.5 kB / 0.7903 GB, free: 153.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/2.623, allocations: 0.5276 MB / 0.7909 GB, free: 153.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/2.639, allocations: 2.406 MB / 0.7932 GB, free: 153.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/2.645, allocations: 2.724 MB / 0.7959 GB, free: 151.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01203/2.657, allocations: 0.56 MB / 0.7964 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/2.66, allocations: 0.5714 MB / 0.797 GB, free: 151.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1243): * Single equations (assignments): 1238 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01094/2.671, allocations: 3.38 MB / 0.8003 GB, free: 150.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/2.672, allocations: 0.5393 MB / 0.8008 GB, free: 150.1 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/2.688, allocations: 4.477 MB / 0.8052 GB, free: 148.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-05/2.688, allocations: 34.28 kB / 0.8052 GB, free: 148.4 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/2.688, allocations: 7.578 kB / 0.8052 GB, free: 148.4 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.588e-05/2.688, allocations: 15 kB / 0.8052 GB, free: 148.4 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04237/2.731, allocations: 13.51 MB / 0.8184 GB, free: 139.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.066e-05/2.731, allocations: 28 kB / 0.8185 GB, free: 139.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005857/2.737, allocations: 0.687 MB / 0.8191 GB, free: 139.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/2.737, allocations: 52 kB / 0.8192 GB, free: 139.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006515/2.738, allocations: 96.92 kB / 0.8193 GB, free: 139 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-05/2.738, allocations: 57.81 kB / 0.8193 GB, free: 139 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-05/2.738, allocations: 43.81 kB / 0.8194 GB, free: 138.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/2.755, allocations: 11.48 MB / 0.8306 GB, free: 126.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/2.759, allocations: 0.8754 MB / 0.8314 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/2.761, allocations: 87.8 kB / 0.8315 GB, free: 125.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004999/2.766, allocations: 181.4 kB / 0.8317 GB, free: 125.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.767, allocations: 286.9 kB / 0.832 GB, free: 125.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004619/2.767, allocations: 124.2 kB / 0.8321 GB, free: 125.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01007/2.778, allocations: 3.983 MB / 0.836 GB, free: 121.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.42e-07/2.778, allocations: 0 / 0.836 GB, free: 121.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01155/2.789, allocations: 1.607 MB / 0.8375 GB, free: 120.1 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 303 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01952/2.809, allocations: 17.03 MB / 0.8542 GB, free: 102 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02025/2.829, allocations: 7.334 MB / 0.8613 GB, free: 94.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.28e-05/2.829, allocations: 4 kB / 0.8613 GB, free: 94.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00675/2.836, allocations: 1.94 MB / 0.8632 GB, free: 92.78 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005997/2.842, allocations: 0.6927 MB / 0.8639 GB, free: 92.09 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4487/3.291, allocations: 176.8 MB / 1.037 GB, free: 90.11 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01585/3.307, allocations: 5.264 MB / 1.042 GB, free: 89.21 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01571/3.322, allocations: 2.779 MB / 1.044 GB, free: 89.13 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008745/3.331, allocations: 3.458 MB / 1.048 GB, free: 87.68 MB / 0.4949 GB Notification: Performance of SimCode: time 3.416e-06/3.331, allocations: 1 kB / 1.048 GB, free: 87.68 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6312/3.962, allocations: 116 MB / 1.161 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/3.963, allocations: 196.8 kB / 1.161 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/12.13, allocations: 0 / 1.161 GB, free: 153.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat