Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques2",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.01085/0.01085, allocations: 107.5 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.001183/0.001183, allocations: 181.8 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.916/1.916, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2616/0.2616, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.000473, allocations: 15.98 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1497, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4517/0.6014, allocations: 103.1 MB / 0.507 GB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06578/0.6673, allocations: 22.79 MB / 0.5292 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02503/0.6924, allocations: 0.4979 MB / 0.5297 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0216/0.714, allocations: 5.322 MB / 0.5349 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05998/0.7741, allocations: 14.66 MB / 0.5492 GB, free: 3.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009115/0.7832, allocations: 1.23 MB / 0.5504 GB, free: 1.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1042/0.8875, allocations: 34.5 MB / 0.5841 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02157/0.9091, allocations: 9.985 MB / 0.5939 GB, free: 5.473 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005909/0.9151, allocations: 2.157 MB / 0.596 GB, free: 3.309 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006983/0.9221, allocations: 2.991 MB / 0.5989 GB, free: 316 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.9243, allocations: 312 kB / 0.5992 GB, free: 4 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.9293, allocations: 1.202 MB / 0.6004 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006392/0.9358, allocations: 3.464 MB / 0.6037 GB, free: 11.33 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.9397, allocations: 1.731 MB / 0.6054 GB, free: 9.586 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/0.9595, allocations: 11.9 MB / 0.617 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9596, allocations: 0 / 0.617 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.9596, allocations: 0 / 0.617 GB, free: 13.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005117/0.9601, allocations: 0 / 0.617 GB, free: 13.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03505/0.9952, allocations: 9.025 MB / 0.6259 GB, free: 4.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9953, allocations: 12.03 kB / 0.6259 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005039/1, allocations: 1.392 MB / 0.6272 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7516/1.752, allocations: 14.29 MB / 0.6412 GB, free: 154.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.775, allocations: 7.186 MB / 0.6482 GB, free: 152.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005997/1.775, allocations: 0.4902 MB / 0.6487 GB, free: 152.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/1.778, allocations: 0.6607 MB / 0.6493 GB, free: 151.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05997/1.839, allocations: 19.93 MB / 0.6688 GB, free: 143.3 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005519/1.839, allocations: 91.17 kB / 0.6689 GB, free: 143.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/1.841, allocations: 308.7 kB / 0.6692 GB, free: 143.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00863/1.85, allocations: 3.377 MB / 0.6725 GB, free: 142.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0522/1.902, allocations: 16.44 MB / 0.6885 GB, free: 129.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/2.025, allocations: 72.36 MB / 0.7592 GB, free: 56.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03429/2.059, allocations: 8.284 MB / 0.7673 GB, free: 47.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009923/2.06, allocations: 0.6698 MB / 0.7679 GB, free: 47.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/2.06, allocations: 68.81 kB / 0.768 GB, free: 46.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=311): time 6.603e-06/2.06, allocations: 0 / 0.768 GB, free: 46.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=335): time 0.1394/2.2, allocations: 32.39 MB / 0.7996 GB, free: 14.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/2.2, allocations: 299.6 kB / 0.7999 GB, free: 13.96 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01666/2.216, allocations: 8.275 MB / 0.808 GB, free: 5.734 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009284/2.217, allocations: 79.03 kB / 0.8081 GB, free: 5.652 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3447/2.562, allocations: 5.823 MB / 0.8138 GB, free: 138 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/2.564, allocations: 1.269 MB / 0.815 GB, free: 137.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/2.565, allocations: 190.9 kB / 0.8152 GB, free: 137.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000732/2.566, allocations: 0.7095 MB / 0.8159 GB, free: 137.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009747/2.576, allocations: 3.647 MB / 0.8194 GB, free: 137.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/2.589, allocations: 9.273 MB / 0.8285 GB, free: 129.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.602, allocations: 5.667 MB / 0.834 GB, free: 127.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/2.602, allocations: 57.41 kB / 0.8341 GB, free: 127.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03664/2.639, allocations: 13.74 MB / 0.8475 GB, free: 123 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/2.639, allocations: 89.56 kB / 0.8476 GB, free: 123 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000385/2.639, allocations: 198.5 kB / 0.8478 GB, free: 123 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005613/2.645, allocations: 1.345 MB / 0.8491 GB, free: 122.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01479/2.66, allocations: 2.229 MB / 0.8513 GB, free: 122.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/2.683, allocations: 12.92 MB / 0.8639 GB, free: 114 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/2.694, allocations: 0.5406 MB / 0.8644 GB, free: 113.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/2.697, allocations: 0.5627 MB / 0.8649 GB, free: 113.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1171): * Single equations (assignments): 1164 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0106/2.707, allocations: 3.876 MB / 0.8687 GB, free: 112 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/2.709, allocations: 0.6735 MB / 0.8694 GB, free: 111.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/2.73, allocations: 6.504 MB / 0.8757 GB, free: 109.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/2.73, allocations: 37.91 kB / 0.8758 GB, free: 109.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.157e-05/2.73, allocations: 7.844 kB / 0.8758 GB, free: 109.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/2.73, allocations: 15.38 kB / 0.8758 GB, free: 109.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04674/2.777, allocations: 15.92 MB / 0.8913 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/2.777, allocations: 0 / 0.8913 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005922/2.783, allocations: 0.5628 MB / 0.8919 GB, free: 100.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/2.788, allocations: 0.9863 MB / 0.8929 GB, free: 99.84 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007529/2.788, allocations: 72.64 kB / 0.8929 GB, free: 99.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/2.807, allocations: 11.78 MB / 0.9044 GB, free: 88.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.807, allocations: 0 / 0.9044 GB, free: 88.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/2.834, allocations: 10.85 MB / 0.915 GB, free: 78.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004802/2.839, allocations: 1.253 MB / 0.9162 GB, free: 77.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/2.841, allocations: 60.81 kB / 0.9163 GB, free: 77.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006419/2.848, allocations: 207.7 kB / 0.9165 GB, free: 77.24 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/2.849, allocations: 197.3 kB / 0.9167 GB, free: 77.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008653/2.85, allocations: 90.89 kB / 0.9168 GB, free: 76.96 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0129/2.863, allocations: 5.363 MB / 0.922 GB, free: 71.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.71e-07/2.863, allocations: 3.938 kB / 0.922 GB, free: 71.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0131/2.876, allocations: 1.92 MB / 0.9239 GB, free: 69.72 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02738/2.904, allocations: 11.82 MB / 0.9354 GB, free: 57.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02133/2.925, allocations: 9.214 MB / 0.9444 GB, free: 48.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/2.925, allocations: 0 / 0.9444 GB, free: 48.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007499/2.932, allocations: 3.38 MB / 0.9477 GB, free: 45.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00784/2.94, allocations: 0.937 MB / 0.9486 GB, free: 44.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5581/3.499, allocations: 214.1 MB / 1.158 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01542/3.514, allocations: 6.118 MB / 1.164 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0162/3.53, allocations: 3.09 MB / 1.167 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009504/3.54, allocations: 4.063 MB / 1.171 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/3.54, allocations: 0 / 1.171 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6931/4.233, allocations: 153.6 MB / 1.321 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/4.233, allocations: 200 kB / 1.321 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/13.17, allocations: 3.938 kB / 1.321 GB, free: 67.84 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat