Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce2",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.01135/0.01135, allocations: 106.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.2.mo): time 0.001248/0.001247, allocations: 183.6 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.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.2726/0.2726, allocations: 40.04 MB / 296.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007712/0.0007716, allocations: 11.98 kB / 361.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1576, allocations: 54.88 MB / 416 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.05437/0.212, allocations: 31.6 MB / 447.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3434/0.5555, allocations: 7.332 MB / 454.9 MB, free: 30.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00685/0.5624, allocations: 149.8 kB / 455.1 MB, free: 30.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005584/0.568, allocations: 1.635 MB / 456.7 MB, free: 30.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.5852, allocations: 4.596 MB / 461.3 MB, free: 29.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.5877, allocations: 263.6 kB / 461.6 MB, free: 29.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.5914, allocations: 1.333 MB / 462.9 MB, free: 29.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005805/0.5972, allocations: 2.98 MB / 465.9 MB, free: 29.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.5988, allocations: 0.5866 MB / 466.5 MB, free: 29.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.6005, allocations: 0.7649 MB / 467.2 MB, free: 29.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006437/0.6012, allocations: 92.53 kB / 467.3 MB, free: 29.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.603, allocations: 0.522 MB / 467.9 MB, free: 29.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.6048, allocations: 0.9646 MB / 468.8 MB, free: 29.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.606, allocations: 0.5509 MB / 469.4 MB, free: 29.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005413/0.6114, allocations: 3.617 MB / 473 MB, free: 29.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6115, allocations: 0 / 473 MB, free: 29.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6115, allocations: 0 / 473 MB, free: 29.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001997/0.6117, allocations: 3.219 kB / 473 MB, free: 29.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.008074/0.6198, allocations: 2.584 MB / 475.6 MB, free: 27.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.6199, allocations: 9.125 kB / 475.6 MB, free: 27.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/0.6219, allocations: 0.5074 MB / 476.1 MB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.634, allocations: 1.933 MB / 478 MB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.6388, allocations: 1.366 MB / 479.4 MB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.6391, allocations: 154.6 kB / 479.5 MB, free: 27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.6404, allocations: 200.1 kB / 479.7 MB, free: 27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/0.6608, allocations: 6.794 MB / 486.5 MB, free: 26.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.6609, allocations: 15.58 kB / 486.6 MB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.6621, allocations: 97.33 kB / 486.6 MB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004576/0.6667, allocations: 1.472 MB / 488.1 MB, free: 26.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.6884, allocations: 5.826 MB / 493.9 MB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.7357, allocations: 21.54 MB / 0.5034 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007663/0.7434, allocations: 2.257 MB / 0.5056 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.7548, allocations: 3.772 MB / 0.5093 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7549, allocations: 39.47 kB / 0.5093 GB, free: 7.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 5.36e-06/0.7549, allocations: 0 / 0.5093 GB, free: 7.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01037/0.7653, allocations: 2.447 MB / 0.5117 GB, free: 5.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.7654, allocations: 59.97 kB / 0.5118 GB, free: 5.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/0.7697, allocations: 1.981 MB / 0.5137 GB, free: 3.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.77, allocations: 37.7 kB / 0.5137 GB, free: 3.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.7716, allocations: 1.951 MB / 0.5156 GB, free: 1.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.7722, allocations: 364.1 kB / 0.516 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.7726, allocations: 64 kB / 0.5161 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000356/0.7729, allocations: 497.7 kB / 0.5165 GB, free: 288 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/0.7759, allocations: 0.9548 MB / 0.5175 GB, free: 15.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004789/0.7807, allocations: 2.872 MB / 0.5203 GB, free: 11.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004398/0.7852, allocations: 1.649 MB / 0.5219 GB, free: 9.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.245e-05/0.7853, allocations: 20 kB / 0.5219 GB, free: 9.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01113/0.7965, allocations: 3.735 MB / 0.5255 GB, free: 6.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/0.7966, allocations: 39.95 kB / 0.5256 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.7967, allocations: 68 kB / 0.5256 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.7969, allocations: 100 kB / 0.5257 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/0.8016, allocations: 0.7057 MB / 0.5264 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001879/0.8018, allocations: 135.5 kB / 0.5266 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/0.8054, allocations: 448.7 kB / 0.527 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007325/0.8062, allocations: 196 kB / 0.5272 GB, free: 4.406 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 5 * 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.003974/0.8102, allocations: 1.418 MB / 0.5286 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.8107, allocations: 165.8 kB / 0.5287 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.8143, allocations: 1.19 MB / 0.5299 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.8144, allocations: 12 kB / 0.5299 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.8145, allocations: 1.188 kB / 0.5299 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.8145, allocations: 5.516 kB / 0.5299 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.8301, allocations: 4.967 MB / 0.5348 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.8302, allocations: 8 kB / 0.5348 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.8314, allocations: 131.8 kB / 0.5349 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.05e-05/0.8315, allocations: 12 kB / 0.5349 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.8317, allocations: 27.78 kB / 0.5349 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-05/0.8317, allocations: 19.92 kB / 0.5349 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/0.8317, allocations: 26.08 kB / 0.535 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.8358, allocations: 2.174 MB / 0.5371 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/0.8367, allocations: 270.6 kB / 0.5373 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/0.8374, allocations: 20 kB / 0.5374 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.839, allocations: 43.81 kB / 0.5374 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.8394, allocations: 71.78 kB / 0.5375 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.8395, allocations: 39.98 kB / 0.5375 GB, free: 9.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003704/0.8432, allocations: 1.305 MB / 0.5388 GB, free: 7.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.8433, allocations: 0 / 0.5388 GB, free: 7.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004426/0.8477, allocations: 0.7464 MB / 0.5395 GB, free: 7.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * 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 (70): * Single equations (assignments): 67 * 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.0053/0.8531, allocations: 5.255 MB / 0.5447 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/0.8591, allocations: 2.196 MB / 0.5468 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.8592, allocations: 0 / 0.5468 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.8607, allocations: 0.5379 MB / 0.5473 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.8626, allocations: 239.3 kB / 0.5475 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.9037, allocations: 57.18 MB / 0.6034 GB, free: 3.625 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005462/0.9092, allocations: 2.46 MB / 0.6058 GB, free: 1.137 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004912/0.9142, allocations: 1.011 MB / 0.6068 GB, free: 128 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/0.9174, allocations: 1.14 MB / 0.6079 GB, free: 15.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/0.9175, allocations: 0 / 0.6079 GB, free: 15.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.44/1.357, allocations: 38.14 MB / 0.6451 GB, free: 158.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/1.358, allocations: 173.2 kB / 0.6453 GB, free: 157.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/5.14, allocations: 7.938 kB / 0.6453 GB, free: 157.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat