Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.Torque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque",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.01079/0.0108, 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.001291/0.001291, 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.913/1.913, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.2569/0.2569, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005038, allocations: 8 kB / 361.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 54.88 MB / 416 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.4036/0.5259, allocations: 74.22 MB / 490.2 MB, free: 21.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04257/0.5686, allocations: 16.65 MB / 0.495 GB, free: 9.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01668/0.5853, allocations: 374.1 kB / 0.4954 GB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01288/0.5982, allocations: 3.793 MB / 0.4991 GB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04539/0.6437, allocations: 10.59 MB / 0.5094 GB, free: 3.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007526/0.6513, allocations: 0.8637 MB / 0.5103 GB, free: 2.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06762/0.719, allocations: 18.39 MB / 0.5282 GB, free: 8.797 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01596/0.735, allocations: 7.384 MB / 0.5354 GB, free: 1.391 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.7389, allocations: 1.635 MB / 0.537 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004733/0.7437, allocations: 2.208 MB / 0.5392 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.7449, allocations: 235.9 kB / 0.5394 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.7487, allocations: 1.03 MB / 0.5404 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00486/0.7536, allocations: 2.622 MB / 0.543 GB, free: 9.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.7563, allocations: 1.345 MB / 0.5443 GB, free: 8.289 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.7716, allocations: 8.901 MB / 0.553 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7717, allocations: 0 / 0.553 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.081e-06/0.7717, allocations: 0 / 0.553 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003996/0.7721, allocations: 3.938 kB / 0.553 GB, free: 15.36 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.0276/0.7997, allocations: 7.142 MB / 0.56 GB, free: 8.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.7998, allocations: 11.97 kB / 0.56 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00399/0.8038, allocations: 1.117 MB / 0.5611 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08984/0.8937, allocations: 8.279 MB / 0.5691 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/0.9097, allocations: 4.809 MB / 0.5738 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005491/0.9103, allocations: 389.9 kB / 0.5742 GB, free: 9.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/0.9128, allocations: 0.5035 MB / 0.5747 GB, free: 8.926 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0466/0.9594, allocations: 15.76 MB / 0.5901 GB, free: 8.137 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/0.9598, allocations: 71.3 kB / 0.5902 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/0.962, allocations: 249.3 kB / 0.5904 GB, free: 7.824 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00736/0.9694, allocations: 2.829 MB / 0.5932 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04438/1.014, allocations: 13.16 MB / 0.606 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4325/1.446, allocations: 61.19 MB / 0.6658 GB, free: 113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02708/1.473, allocations: 6.748 MB / 0.6724 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/1.497, allocations: 9.326 MB / 0.6815 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.497, allocations: 68.75 kB / 0.6815 GB, free: 107.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=269): time 7.394e-06/1.497, allocations: 0 / 0.6815 GB, free: 107.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=311): time 0.1458/1.643, allocations: 32.1 MB / 0.7129 GB, free: 95.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.643, allocations: 237.8 kB / 0.7131 GB, free: 94.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/1.66, allocations: 7.198 MB / 0.7201 GB, free: 91.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001202/1.661, allocations: 69.39 kB / 0.7202 GB, free: 91.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004503/1.666, allocations: 4.805 MB / 0.7249 GB, free: 87.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002058/1.668, allocations: 1.169 MB / 0.726 GB, free: 86.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/1.67, allocations: 185.1 kB / 0.7262 GB, free: 86.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007766/1.67, allocations: 0.6913 MB / 0.7269 GB, free: 85.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/1.68, allocations: 3.666 MB / 0.7305 GB, free: 82.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/1.693, allocations: 8.916 MB / 0.7392 GB, free: 70.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.707, allocations: 5.587 MB / 0.7446 GB, free: 65.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/1.708, allocations: 52 kB / 0.7447 GB, free: 65.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.03858/1.746, allocations: 13.91 MB / 0.7583 GB, free: 51.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.746, allocations: 90 kB / 0.7583 GB, free: 51.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000255/1.747, allocations: 184 kB / 0.7585 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007803/1.755, allocations: 1.812 MB / 0.7603 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/1.768, allocations: 2.109 MB / 0.7624 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/1.792, allocations: 12.32 MB / 0.7744 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/1.803, allocations: 0.5304 MB / 0.7749 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/1.806, allocations: 0.5422 MB / 0.7754 GB, free: 33.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 60 (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 (1099): * Single equations (assignments): 1092 * 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.008723/1.814, allocations: 3.217 MB / 0.7786 GB, free: 30.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.816, allocations: 0.5862 MB / 0.7791 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02054/1.836, allocations: 6.958 MB / 0.7859 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.98e-05/1.837, allocations: 36 kB / 0.786 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-05/1.837, allocations: 8 kB / 0.786 GB, free: 22.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.651e-05/1.837, allocations: 15.94 kB / 0.786 GB, free: 22.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04606/1.883, allocations: 15.53 MB / 0.8012 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/1.883, allocations: 4 kB / 0.8012 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005296/1.888, allocations: 0.5188 MB / 0.8017 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007051/1.895, allocations: 1.527 MB / 0.8032 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008978/1.896, allocations: 66.44 kB / 0.8032 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3553/2.252, allocations: 11.47 MB / 0.8144 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/2.252, allocations: 9.562 kB / 0.8144 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03159/2.283, allocations: 12.15 MB / 0.8263 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005069/2.288, allocations: 1.18 MB / 0.8274 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002528/2.291, allocations: 61.66 kB / 0.8275 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006337/2.297, allocations: 205.8 kB / 0.8277 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/2.299, allocations: 198.8 kB / 0.8279 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000694/2.3, allocations: 82.81 kB / 0.828 GB, free: 129.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01224/2.312, allocations: 4.637 MB / 0.8325 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.312, allocations: 0 / 0.8325 GB, free: 128.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01293/2.325, allocations: 1.683 MB / 0.8341 GB, free: 128.2 MB / 490.7 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 (254): * Single equations (assignments): 249 * 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.03605/2.361, allocations: 13.52 MB / 0.8473 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02445/2.386, allocations: 8.979 MB / 0.8561 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.386, allocations: 0 / 0.8561 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01112/2.397, allocations: 3.479 MB / 0.8595 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006951/2.404, allocations: 0.7056 MB / 0.8602 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.414/2.818, allocations: 163.5 MB / 1.02 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/2.828, allocations: 5.031 MB / 1.025 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01373/2.842, allocations: 2.976 MB / 1.028 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007888/2.85, allocations: 3.205 MB / 1.031 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/2.85, allocations: 0 / 1.031 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/3.147, allocations: 131.9 MB / 1.16 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/3.148, allocations: 194 kB / 1.16 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/11.25, allocations: 0 / 1.16 GB, free: 11.38 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat