Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.01095/0.01095, allocations: 110.8 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.001195/0.001195, allocations: 177.5 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 2.153/2.153, allocations: 194.6 MB / 211.3 MB, free: 10.96 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.2734/0.2734, allocations: 40.03 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 15.98 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4376/0.5621, allocations: 79.98 MB / 496 MB, free: 16.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05039/0.6125, allocations: 17.98 MB / 0.5019 GB, free: 4.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01981/0.6324, allocations: 395 kB / 0.5023 GB, free: 4.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0158/0.6483, allocations: 4.105 MB / 0.5063 GB, free: 3.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04905/0.6974, allocations: 11.42 MB / 0.5175 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00753/0.705, allocations: 0.9226 MB / 0.5184 GB, free: 13.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05629/0.7613, allocations: 18.49 MB / 0.5364 GB, free: 336 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.7779, allocations: 7.365 MB / 0.5436 GB, free: 8.961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/0.7827, allocations: 1.654 MB / 0.5452 GB, free: 7.301 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.7883, allocations: 2.254 MB / 0.5474 GB, free: 5.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.7902, allocations: 244 kB / 0.5477 GB, free: 4.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.7953, allocations: 1.159 MB / 0.5488 GB, free: 3.641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.8007, allocations: 2.661 MB / 0.5514 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003209/0.8039, allocations: 1.384 MB / 0.5528 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.8202, allocations: 9.34 MB / 0.5619 GB, free: 6.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8203, allocations: 1.125 kB / 0.5619 GB, free: 6.215 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.8203, allocations: 0 / 0.5619 GB, free: 6.215 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004411/0.8208, allocations: 0 / 0.5619 GB, free: 6.215 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02857/0.8494, allocations: 7.257 MB / 0.569 GB, free: 14.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.8494, allocations: 8.031 kB / 0.569 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004387/0.8538, allocations: 1.162 MB / 0.5701 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09184/0.9457, allocations: 8.33 MB / 0.5782 GB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/0.9629, allocations: 4.855 MB / 0.583 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006235/0.9636, allocations: 398.1 kB / 0.5834 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/0.9664, allocations: 0.5154 MB / 0.5839 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05463/1.021, allocations: 17.03 MB / 0.6005 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/1.022, allocations: 67.41 kB / 0.6006 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/1.024, allocations: 247 kB / 0.6008 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008384/1.033, allocations: 3.03 MB / 0.6038 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05263/1.085, allocations: 14.41 MB / 0.6178 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.768/1.853, allocations: 62.45 MB / 0.6788 GB, free: 110.1 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03046/1.884, allocations: 6.978 MB / 0.6856 GB, free: 107.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02644/1.91, allocations: 9.512 MB / 0.6949 GB, free: 103.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.273e-05/1.911, allocations: 68.48 kB / 0.695 GB, free: 103.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 6.983e-06/1.911, allocations: 0 / 0.695 GB, free: 103.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.1455/2.056, allocations: 34.11 MB / 0.7283 GB, free: 85.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/2.056, allocations: 240.2 kB / 0.7285 GB, free: 85.01 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/2.069, allocations: 6.948 MB / 0.7353 GB, free: 78.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009724/2.07, allocations: 77.7 kB / 0.7354 GB, free: 77.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00382/2.074, allocations: 4.78 MB / 0.74 GB, free: 73.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002017/2.076, allocations: 1.268 MB / 0.7413 GB, free: 71.95 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008895/2.077, allocations: 182.4 kB / 0.7415 GB, free: 71.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000472/2.077, allocations: 0.6861 MB / 0.7421 GB, free: 71.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009177/2.087, allocations: 3.812 MB / 0.7458 GB, free: 67.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/2.099, allocations: 8.81 MB / 0.7545 GB, free: 55.98 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/2.112, allocations: 5.677 MB / 0.76 GB, free: 50.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/2.112, allocations: 48 kB / 0.76 GB, free: 50.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03756/2.15, allocations: 14.03 MB / 0.7737 GB, free: 36.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/2.15, allocations: 80 kB / 0.7738 GB, free: 36.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/2.15, allocations: 177.9 kB / 0.774 GB, free: 35.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007455/2.157, allocations: 1.805 MB / 0.7758 GB, free: 34.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/2.171, allocations: 2.089 MB / 0.7778 GB, free: 32.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/2.195, allocations: 12.37 MB / 0.7899 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/2.205, allocations: 0.5266 MB / 0.7904 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.207, allocations: 0.5224 MB / 0.7909 GB, free: 18.39 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1084): * Single equations (assignments): 1077 * 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: 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.007713/2.214, allocations: 3.277 MB / 0.7941 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/2.216, allocations: 0.5822 MB / 0.7947 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02128/2.237, allocations: 7.695 MB / 0.8022 GB, free: 6.777 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/2.237, allocations: 36 kB / 0.8022 GB, free: 6.742 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/2.237, allocations: 8 kB / 0.8022 GB, free: 6.734 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-05/2.238, allocations: 27.88 kB / 0.8022 GB, free: 6.707 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3696/2.607, allocations: 16.36 MB / 0.8182 GB, free: 136 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-05/2.607, allocations: 3.094 kB / 0.8182 GB, free: 136 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006088/2.613, allocations: 0.5878 MB / 0.8188 GB, free: 135.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00738/2.621, allocations: 1.534 MB / 0.8203 GB, free: 135.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001117/2.622, allocations: 69.36 kB / 0.8204 GB, free: 135.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/2.647, allocations: 11.56 MB / 0.8317 GB, free: 130.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.647, allocations: 10.31 kB / 0.8317 GB, free: 130.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03496/2.682, allocations: 12.99 MB / 0.8443 GB, free: 124.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005291/2.687, allocations: 1.237 MB / 0.8456 GB, free: 124.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002681/2.69, allocations: 59.91 kB / 0.8456 GB, free: 124.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006619/2.696, allocations: 234.1 kB / 0.8458 GB, free: 124.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/2.698, allocations: 202 kB / 0.846 GB, free: 124.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006889/2.699, allocations: 88.7 kB / 0.8461 GB, free: 124.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01436/2.713, allocations: 4.51 MB / 0.8505 GB, free: 122.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.41e-07/2.713, allocations: 0 / 0.8505 GB, free: 122.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01247/2.726, allocations: 1.731 MB / 0.8522 GB, free: 122.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.03559/2.761, allocations: 14.39 MB / 0.8663 GB, free: 115.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02143/2.783, allocations: 9.337 MB / 0.8754 GB, free: 110.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.783, allocations: 3.938 kB / 0.8754 GB, free: 110.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.793, allocations: 3.787 MB / 0.8791 GB, free: 107.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/2.799, allocations: 0.7079 MB / 0.8798 GB, free: 106.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4303/3.229, allocations: 156.3 MB / 1.032 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/3.24, allocations: 5.178 MB / 1.037 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01327/3.253, allocations: 2.979 MB / 1.04 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008078/3.261, allocations: 3.326 MB / 1.044 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.172e-06/3.261, allocations: 0 / 1.044 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3401/3.602, allocations: 133.4 MB / 1.174 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/3.602, allocations: 212.9 kB / 1.174 GB, free: 6.09 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/11.64, allocations: 4.656 kB / 1.174 GB, free: 6.086 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat