Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque3",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 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.001246/0.001246, allocations: 178.1 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.9/1.9, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2696/0.2696, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005039, allocations: 12 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.5587/0.6961, allocations: 143.6 MB / 0.5465 GB, free: 2.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.09583/0.792, allocations: 30.88 MB / 0.5766 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03737/0.8294, allocations: 0.6899 MB / 0.5773 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02858/0.8581, allocations: 7.423 MB / 0.5846 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08234/0.9405, allocations: 20.12 MB / 0.6042 GB, free: 10.76 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.9533, allocations: 1.551 MB / 0.6057 GB, free: 9.207 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.5042/1.458, allocations: 35.82 MB / 0.6407 GB, free: 28.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03518/1.493, allocations: 14.61 MB / 0.655 GB, free: 27.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009067/1.502, allocations: 2.82 MB / 0.6577 GB, free: 27.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/1.514, allocations: 3.95 MB / 0.6616 GB, free: 27.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00389/1.518, allocations: 429.7 kB / 0.662 GB, free: 27.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006618/1.524, allocations: 1.185 MB / 0.6631 GB, free: 27.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008749/1.533, allocations: 4.688 MB / 0.6677 GB, free: 27.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005544/1.539, allocations: 2.354 MB / 0.67 GB, free: 27.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0233/1.562, allocations: 16.07 MB / 0.6857 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.562, allocations: 4 kB / 0.6857 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.562, allocations: 0 / 0.6857 GB, free: 21.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008408/1.563, allocations: 0 / 0.6857 GB, free: 21.16 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.04804/1.611, allocations: 12.4 MB / 0.6978 GB, free: 13.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.611, allocations: 12.03 kB / 0.6978 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007364/1.619, allocations: 1.969 MB / 0.6998 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.162/1.781, allocations: 14.81 MB / 0.7142 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0286/1.809, allocations: 8.583 MB / 0.7226 GB, free: 8.676 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/1.81, allocations: 0.711 MB / 0.7233 GB, free: 8.281 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005405/1.816, allocations: 0.9471 MB / 0.7242 GB, free: 7.656 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09104/1.907, allocations: 28.26 MB / 0.7518 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007534/1.908, allocations: 105.9 kB / 0.7519 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004804/1.912, allocations: 451.8 kB / 0.7523 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01245/1.925, allocations: 4.736 MB / 0.757 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08271/2.008, allocations: 23.81 MB / 0.7802 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6508/2.659, allocations: 103.3 MB / 0.8811 GB, free: 161.4 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06828/2.727, allocations: 14.22 MB / 0.895 GB, free: 160.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005812/2.733, allocations: 2.352 MB / 0.8973 GB, free: 158.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/2.733, allocations: 94.62 kB / 0.8974 GB, free: 158.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=559): time 1.905e-05/2.733, allocations: 3.984 kB / 0.8974 GB, free: 158.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=643): time 0.375/3.108, allocations: 66.23 MB / 0.9621 GB, free: 136.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/3.108, allocations: 325.7 kB / 0.9624 GB, free: 136.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03204/3.14, allocations: 10.72 MB / 0.9729 GB, free: 125.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002689/3.143, allocations: 121.7 kB / 0.973 GB, free: 125.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008382/3.152, allocations: 7.719 MB / 0.9805 GB, free: 117.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004486/3.156, allocations: 2.343 MB / 0.9828 GB, free: 115.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003129/3.159, allocations: 288 kB / 0.9831 GB, free: 115.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001365/3.161, allocations: 0.9089 MB / 0.984 GB, free: 114.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01826/3.179, allocations: 6.669 MB / 0.9905 GB, free: 107.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02275/3.202, allocations: 14.19 MB / 1.004 GB, free: 90.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02291/3.225, allocations: 9.545 MB / 1.014 GB, free: 80.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/3.225, allocations: 78.16 kB / 1.014 GB, free: 80.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=1853) (initialization): time 0.08151/3.307, allocations: 23.86 MB / 1.037 GB, free: 57.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/3.307, allocations: 117.6 kB / 1.037 GB, free: 56.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005481/3.308, allocations: 262.9 kB / 1.037 GB, free: 56.67 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/3.325, allocations: 3.49 MB / 1.041 GB, free: 53.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02385/3.349, allocations: 3.415 MB / 1.044 GB, free: 49.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04891/3.398, allocations: 24.52 MB / 1.068 GB, free: 24.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/3.416, allocations: 0.8627 MB / 1.069 GB, free: 23.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003725/3.42, allocations: 0.8051 MB / 1.07 GB, free: 23.04 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1193 * Number of states: 0 () * Number of discrete variables: 105 (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],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],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],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 (1733): * Single equations (assignments): 1726 * 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 {(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.01694/3.437, allocations: 5.328 MB / 1.075 GB, free: 17.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004076/3.441, allocations: 0.9488 MB / 1.076 GB, free: 16.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06124/3.502, allocations: 15.03 MB / 1.091 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001308/3.502, allocations: 64.62 kB / 1.091 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/3.502, allocations: 16 kB / 1.091 GB, free: 1.551 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001946/3.503, allocations: 27.89 kB / 1.091 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4606/3.963, allocations: 32 MB / 1.122 GB, free: 193.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001275/3.964, allocations: 9.062 kB / 1.122 GB, free: 193.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/3.976, allocations: 1.157 MB / 1.123 GB, free: 193 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01551/3.992, allocations: 3.051 MB / 1.126 GB, free: 192.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002216/3.994, allocations: 115.9 kB / 1.126 GB, free: 192.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05002/4.044, allocations: 23 MB / 1.149 GB, free: 180.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/4.044, allocations: 18.33 kB / 1.149 GB, free: 180.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0712/4.115, allocations: 24.63 MB / 1.173 GB, free: 170 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009191/4.125, allocations: 2.095 MB / 1.175 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004787/4.13, allocations: 123.3 kB / 1.175 GB, free: 169.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01176/4.141, allocations: 479.4 kB / 1.175 GB, free: 169.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003227/4.145, allocations: 392.9 kB / 1.176 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002066/4.147, allocations: 167 kB / 1.176 GB, free: 169.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01846/4.165, allocations: 6.956 MB / 1.183 GB, free: 166.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.81e-07/4.165, allocations: 3.188 kB / 1.183 GB, free: 166.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02081/4.186, allocations: 2.984 MB / 1.186 GB, free: 165.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (554): * Single equations (assignments): 547 * 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.07203/4.258, allocations: 25.85 MB / 1.211 GB, free: 142.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04232/4.301, allocations: 16.57 MB / 1.227 GB, free: 126.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/4.301, allocations: 0 / 1.227 GB, free: 126.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02235/4.323, allocations: 7.327 MB / 1.234 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/4.335, allocations: 1.194 MB / 1.235 GB, free: 118.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7345/5.069, allocations: 308.5 MB / 1.536 GB, free: 52.78 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02168/5.091, allocations: 8.309 MB / 1.545 GB, free: 50.33 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02531/5.116, allocations: 4.719 MB / 1.549 GB, free: 50.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01639/5.133, allocations: 5.89 MB / 1.555 GB, free: 45.36 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/5.133, allocations: 0 / 1.555 GB, free: 45.36 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9141/6.047, allocations: 225.7 MB / 1.775 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/6.047, allocations: 193.8 kB / 1.776 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/18.83, allocations: 4 kB / 1.776 GB, free: 103.3 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat