Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque2",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.01163/0.01163, allocations: 109.3 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.001348/0.001348, allocations: 177.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.897/1.897, allocations: 194.5 MB / 211.3 MB, free: 11.24 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.2946/0.2946, allocations: 40.04 MB / 296.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006119/0.0006118, allocations: 16.05 kB / 361.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1168, allocations: 54.87 MB / 416 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.5315/0.6483, allocations: 156.6 MB / 0.5592 GB, free: 9.344 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.09948/0.7479, allocations: 33.38 MB / 0.5918 GB, free: 7.863 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03711/0.785, allocations: 0.7639 MB / 0.5926 GB, free: 7.098 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.425/1.21, allocations: 8.106 MB / 0.6005 GB, free: 6.34 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09053/1.301, allocations: 21.97 MB / 0.6219 GB, free: 5.977 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/1.314, allocations: 1.647 MB / 0.6235 GB, free: 5.961 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.1031/1.417, allocations: 36.36 MB / 0.659 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03254/1.449, allocations: 15.6 MB / 0.6743 GB, free: 2.027 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008025/1.458, allocations: 3.077 MB / 0.6773 GB, free: 84 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009341/1.467, allocations: 4.187 MB / 0.6814 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003383/1.47, allocations: 452 kB / 0.6818 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/1.477, allocations: 1.211 MB / 0.683 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.009632/1.487, allocations: 5.038 MB / 0.6879 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.005694/1.492, allocations: 2.525 MB / 0.6904 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0286/1.521, allocations: 17 MB / 0.707 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.521, allocations: 0 / 0.707 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.835e-06/1.521, allocations: 3.938 kB / 0.707 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007284/1.522, allocations: 0 / 0.707 GB, free: 8.629 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.05356/1.575, allocations: 13.43 MB / 0.7201 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.576, allocations: 8.031 kB / 0.7201 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007781/1.583, allocations: 2.091 MB / 0.7221 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1665/1.75, allocations: 14.95 MB / 0.7367 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03069/1.781, allocations: 9.2 MB / 0.7457 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/1.782, allocations: 0.7445 MB / 0.7464 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005696/1.787, allocations: 1.003 MB / 0.7474 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09527/1.883, allocations: 29.93 MB / 0.7766 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008029/1.884, allocations: 119.9 kB / 0.7768 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004686/1.888, allocations: 466.4 kB / 0.7772 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01287/1.901, allocations: 5.059 MB / 0.7821 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08752/1.989, allocations: 24.91 MB / 0.8065 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.943/2.932, allocations: 112 MB / 0.9158 GB, free: 183.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06318/2.995, allocations: 14.13 MB / 0.9296 GB, free: 173.1 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04951/3.045, allocations: 19.93 MB / 0.9491 GB, free: 153.2 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/3.045, allocations: 97.72 kB / 0.9492 GB, free: 153.1 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=562): time 1.022e-05/3.045, allocations: 0 / 0.9492 GB, free: 153.1 MB / 0.5887 GB Notification: Performance of matching and sorting (n=646): time 0.3123/3.357, allocations: 71.68 MB / 1.019 GB, free: 80.85 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/3.357, allocations: 382 kB / 1.02 GB, free: 80.4 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02986/3.387, allocations: 12.6 MB / 1.032 GB, free: 67.83 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.002086/3.389, allocations: 125.7 kB / 1.032 GB, free: 67.7 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.008173/3.398, allocations: 8.507 MB / 1.04 GB, free: 59.2 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004265/3.402, allocations: 2.368 MB / 1.043 GB, free: 56.85 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/3.405, allocations: 312 kB / 1.043 GB, free: 56.55 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.00136/3.406, allocations: 0.9633 MB / 1.044 GB, free: 55.58 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01908/3.426, allocations: 6.968 MB / 1.051 GB, free: 48.61 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02397/3.45, allocations: 15.33 MB / 1.066 GB, free: 29.18 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/3.474, allocations: 10.12 MB / 1.075 GB, free: 19.05 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002614/3.474, allocations: 83.98 kB / 1.076 GB, free: 18.97 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2027) (initialization): time 0.4307/3.905, allocations: 25.28 MB / 1.1 GB, free: 224.5 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002813/3.905, allocations: 130.8 kB / 1.1 GB, free: 224.5 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007181/3.906, allocations: 291.9 kB / 1.101 GB, free: 224.5 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01751/3.923, allocations: 3.524 MB / 1.104 GB, free: 224.5 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02701/3.95, allocations: 3.698 MB / 1.108 GB, free: 224.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05032/4.001, allocations: 24.57 MB / 1.132 GB, free: 214.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0195/4.02, allocations: 0.919 MB / 1.133 GB, free: 214.2 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004573/4.025, allocations: 0.8874 MB / 1.133 GB, free: 214.1 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1333 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1887): * Single equations (assignments): 1876 * Array equations: 7 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01827/4.043, allocations: 5.744 MB / 1.139 GB, free: 211.9 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004392/4.047, allocations: 1.065 MB / 1.14 GB, free: 211.9 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04694/4.094, allocations: 15.17 MB / 1.155 GB, free: 206.4 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/4.095, allocations: 65.75 kB / 1.155 GB, free: 206.4 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-05/4.095, allocations: 15.22 kB / 1.155 GB, free: 206.4 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001797/4.095, allocations: 36.8 kB / 1.155 GB, free: 206.4 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09605/4.191, allocations: 33.23 MB / 1.187 GB, free: 178.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-05/4.191, allocations: 12 kB / 1.188 GB, free: 178.6 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/4.203, allocations: 1.171 MB / 1.189 GB, free: 177.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/4.217, allocations: 3.056 MB / 1.192 GB, free: 174.3 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001967/4.219, allocations: 124 kB / 1.192 GB, free: 174.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04718/4.267, allocations: 23.06 MB / 1.214 GB, free: 150.9 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/4.267, allocations: 19.89 kB / 1.214 GB, free: 150.9 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08608/4.353, allocations: 26.94 MB / 1.241 GB, free: 123.8 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008639/4.361, allocations: 2.244 MB / 1.243 GB, free: 121.5 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004078/4.366, allocations: 120 kB / 1.243 GB, free: 121.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/4.377, allocations: 446.6 kB / 1.243 GB, free: 121 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003017/4.38, allocations: 416.9 kB / 1.244 GB, free: 120.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001549/4.382, allocations: 172 kB / 1.244 GB, free: 120.4 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01979/4.401, allocations: 8.212 MB / 1.252 GB, free: 112.2 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8.91e-07/4.401, allocations: 0 / 1.252 GB, free: 112.2 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.02036/4.422, allocations: 3.159 MB / 1.255 GB, free: 109.1 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (553): * Single equations (assignments): 546 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.06611/4.488, allocations: 28.09 MB / 1.282 GB, free: 80.48 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0406/4.529, allocations: 17.17 MB / 1.299 GB, free: 63.41 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/4.529, allocations: 4 kB / 1.299 GB, free: 63.41 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.02084/4.55, allocations: 7.325 MB / 1.306 GB, free: 56.05 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/4.562, allocations: 1.326 MB / 1.308 GB, free: 54.74 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9458/5.507, allocations: 280.1 MB / 1.581 GB, free: 182.3 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02436/5.532, allocations: 8.879 MB / 1.59 GB, free: 181.2 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.03262/5.565, allocations: 5.167 MB / 1.595 GB, free: 181.1 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02145/5.586, allocations: 6.445 MB / 1.601 GB, free: 178.8 MB / 0.6043 GB Notification: Performance of SimCode: time 1.593e-06/5.586, allocations: 0 / 1.601 GB, free: 178.8 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8985/6.485, allocations: 238.3 MB / 1.834 GB, free: 161.7 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/6.485, allocations: 201.9 kB / 1.834 GB, free: 161.5 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/20.42, allocations: 0 / 1.834 GB, free: 161.5 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat