Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.01183/0.01184, allocations: 108.8 kB / 15.06 MB, free: 6.035 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.001326/0.001326, allocations: 180.9 kB / 15.95 MB, free: 5.949 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.967/1.967, allocations: 194.6 MB / 211.3 MB, free: 10.84 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.268/0.268, allocations: 40.03 MB / 296.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4055/0.5186, allocations: 73.43 MB / 489.5 MB, free: 21.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04192/0.5606, allocations: 16.77 MB / 0.4944 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01645/0.5771, allocations: 358.4 kB / 0.4947 GB, free: 10.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.5899, allocations: 3.762 MB / 0.4984 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03998/0.63, allocations: 10.48 MB / 0.5086 GB, free: 3.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006435/0.6364, allocations: 0.9174 MB / 0.5095 GB, free: 3.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05311/0.6896, allocations: 18.24 MB / 0.5273 GB, free: 9.711 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/0.7047, allocations: 7.207 MB / 0.5343 GB, free: 2.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.7091, allocations: 1.577 MB / 0.5359 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/0.7142, allocations: 2.13 MB / 0.538 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.7156, allocations: 236 kB / 0.5382 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.7198, allocations: 1.143 MB / 0.5393 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00436/0.7242, allocations: 2.494 MB / 0.5417 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.7267, allocations: 1.302 MB / 0.543 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.7412, allocations: 8.943 MB / 0.5517 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7413, allocations: 0 / 0.5517 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7413, allocations: 0 / 0.5517 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003625/0.7417, allocations: 4 kB / 0.5518 GB, free: 0.6406 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02554/0.7672, allocations: 6.775 MB / 0.5584 GB, free: 9.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7673, allocations: 12.03 kB / 0.5584 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003945/0.7712, allocations: 1.128 MB / 0.5595 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0891/0.8604, allocations: 8.237 MB / 0.5675 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.8767, allocations: 4.578 MB / 0.572 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005983/0.8774, allocations: 381.8 kB / 0.5724 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.8801, allocations: 0.5074 MB / 0.5729 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05003/0.9302, allocations: 16.54 MB / 0.589 GB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003086/0.9305, allocations: 59.38 kB / 0.5891 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.9323, allocations: 241.5 kB / 0.5893 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007807/0.9402, allocations: 2.928 MB / 0.5922 GB, free: 6.215 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0499/0.9901, allocations: 14.19 MB / 0.606 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4672/1.457, allocations: 58.82 MB / 0.6635 GB, free: 114.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03882/1.496, allocations: 7.226 MB / 0.6705 GB, free: 113.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0398/1.536, allocations: 15.16 MB / 0.6853 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/1.536, allocations: 68 kB / 0.6854 GB, free: 106.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 7.213e-06/1.536, allocations: 3.656 kB / 0.6854 GB, free: 106.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.1414/1.678, allocations: 32.3 MB / 0.7169 GB, free: 94.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/1.678, allocations: 213.8 kB / 0.7171 GB, free: 94.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.688, allocations: 5.562 MB / 0.7226 GB, free: 91.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001078/1.689, allocations: 84.08 kB / 0.7226 GB, free: 91.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003563/1.693, allocations: 4.375 MB / 0.7269 GB, free: 87.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002097/1.695, allocations: 1.27 MB / 0.7282 GB, free: 86.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009254/1.696, allocations: 163 kB / 0.7283 GB, free: 85.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004721/1.697, allocations: 0.6491 MB / 0.7289 GB, free: 85.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009362/1.706, allocations: 3.67 MB / 0.7325 GB, free: 81.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/1.718, allocations: 8.099 MB / 0.7404 GB, free: 71.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.731, allocations: 5.348 MB / 0.7457 GB, free: 66.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.731, allocations: 50.7 kB / 0.7457 GB, free: 65.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03732/1.768, allocations: 13.19 MB / 0.7586 GB, free: 52.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.769, allocations: 72 kB / 0.7587 GB, free: 52.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.769, allocations: 152 kB / 0.7588 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007537/1.776, allocations: 1.785 MB / 0.7605 GB, free: 50.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/1.789, allocations: 1.926 MB / 0.7624 GB, free: 48.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.813, allocations: 12.32 MB / 0.7745 GB, free: 36.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009755/1.823, allocations: 499.3 kB / 0.7749 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/1.825, allocations: 479 kB / 0.7754 GB, free: 35.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (991): * Single equations (assignments): 986 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008484/1.833, allocations: 3.072 MB / 0.7784 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.835, allocations: 0.5014 MB / 0.7789 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02395/1.859, allocations: 7.646 MB / 0.7863 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.401e-05/1.859, allocations: 36 kB / 0.7864 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-05/1.859, allocations: 11.98 kB / 0.7864 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/1.859, allocations: 19.94 kB / 0.7864 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04892/1.908, allocations: 16.41 MB / 0.8024 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-05/1.908, allocations: 4 kB / 0.8024 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006486/1.915, allocations: 0.6124 MB / 0.803 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007051/1.922, allocations: 1.521 MB / 0.8045 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/1.923, allocations: 63.98 kB / 0.8046 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3527/2.276, allocations: 11.52 MB / 0.8158 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.276, allocations: 0 / 0.8158 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/2.307, allocations: 12.31 MB / 0.8279 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004342/2.312, allocations: 1.123 MB / 0.829 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/2.313, allocations: 55.7 kB / 0.829 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005711/2.319, allocations: 254.9 kB / 0.8292 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/2.321, allocations: 197.7 kB / 0.8294 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004839/2.321, allocations: 86.2 kB / 0.8295 GB, free: 132 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008695/2.33, allocations: 3.533 MB / 0.833 GB, free: 130.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.33, allocations: 0 / 0.833 GB, free: 130.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01112/2.341, allocations: 1.651 MB / 0.8346 GB, free: 130.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * 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 (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03772/2.379, allocations: 13.15 MB / 0.8474 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0234/2.402, allocations: 9.062 MB / 0.8563 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/2.402, allocations: 2.406 kB / 0.8563 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01169/2.414, allocations: 3.873 MB / 0.8601 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005742/2.42, allocations: 0.6259 MB / 0.8607 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5164/2.936, allocations: 164.8 MB / 1.022 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.948, allocations: 4.928 MB / 1.026 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01458/2.963, allocations: 2.653 MB / 1.029 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008348/2.971, allocations: 3.07 MB / 1.032 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.673e-06/2.971, allocations: 0 / 1.032 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2629/3.234, allocations: 124.9 MB / 1.154 GB, free: 34.55 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/3.235, allocations: 222.3 kB / 1.154 GB, free: 34.29 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/10.36, allocations: 1.531 kB / 1.154 GB, free: 34.29 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat