Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01128/0.01128, allocations: 103 kB / 15.05 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.1.mo): time 0.001189/0.001189, allocations: 166.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.551/1.551, allocations: 170.9 MB / 187.6 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2469/0.2469, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08918, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.4008/0.49, allocations: 74.17 MB / 446.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04429/0.5344, allocations: 16.62 MB / 463.1 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0172/0.5516, allocations: 369.4 kB / 463.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.5645, allocations: 3.797 MB / 467.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03992/0.6045, allocations: 10.58 MB / 477.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006229/0.6108, allocations: 0.8755 MB / 478.7 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05321/0.664, allocations: 18.4 MB / 497.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01532/0.6794, allocations: 7.369 MB / 0.4926 GB, free: 15.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.6839, allocations: 1.639 MB / 0.4942 GB, free: 14.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/0.689, allocations: 2.196 MB / 0.4964 GB, free: 11.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.6907, allocations: 232 kB / 0.4966 GB, free: 11.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.6948, allocations: 1.038 MB / 0.4976 GB, free: 10.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.6995, allocations: 2.615 MB / 0.5002 GB, free: 7.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.7023, allocations: 1.345 MB / 0.5015 GB, free: 6.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.7172, allocations: 8.884 MB / 0.5102 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7173, allocations: 0 / 0.5102 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.7173, allocations: 0 / 0.5102 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003973/0.7177, allocations: 0 / 0.5102 GB, free: 13.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.02721/0.7449, allocations: 7.143 MB / 0.5171 GB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.745, allocations: 8.031 kB / 0.5172 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004222/0.7492, allocations: 1.132 MB / 0.5183 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08996/0.8392, allocations: 8.268 MB / 0.5263 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.8551, allocations: 4.806 MB / 0.531 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/0.8557, allocations: 381.8 kB / 0.5314 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/0.8583, allocations: 0.4958 MB / 0.5319 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04512/0.9035, allocations: 15.76 MB / 0.5473 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/0.9038, allocations: 75.27 kB / 0.5473 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/0.9051, allocations: 239.8 kB / 0.5476 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007564/0.9127, allocations: 2.829 MB / 0.5503 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04353/0.9563, allocations: 13.16 MB / 0.5632 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4424/1.399, allocations: 61.13 MB / 0.6229 GB, free: 132.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/1.428, allocations: 6.747 MB / 0.6295 GB, free: 131.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02566/1.454, allocations: 9.334 MB / 0.6386 GB, free: 126.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/1.454, allocations: 62.97 kB / 0.6386 GB, free: 126.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=269): time 8.015e-06/1.454, allocations: 0 / 0.6386 GB, free: 126.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=311): time 0.1374/1.591, allocations: 32.11 MB / 0.67 GB, free: 103.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/1.591, allocations: 239.1 kB / 0.6702 GB, free: 103.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/1.606, allocations: 7.19 MB / 0.6772 GB, free: 95.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.607, allocations: 74.95 kB / 0.6773 GB, free: 95.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004234/1.611, allocations: 4.799 MB / 0.682 GB, free: 91.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001922/1.613, allocations: 1.174 MB / 0.6832 GB, free: 89.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.615, allocations: 179.1 kB / 0.6833 GB, free: 89.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006266/1.615, allocations: 0.6864 MB / 0.684 GB, free: 89.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00937/1.625, allocations: 3.668 MB / 0.6876 GB, free: 85.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/1.637, allocations: 8.919 MB / 0.6963 GB, free: 74.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.65, allocations: 5.588 MB / 0.7017 GB, free: 68.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/1.65, allocations: 55.95 kB / 0.7018 GB, free: 68.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.03769/1.688, allocations: 13.9 MB / 0.7154 GB, free: 54.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.688, allocations: 88.03 kB / 0.7155 GB, free: 54.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002825/1.689, allocations: 184 kB / 0.7156 GB, free: 54.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007913/1.697, allocations: 1.808 MB / 0.7174 GB, free: 52.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/1.71, allocations: 2.111 MB / 0.7195 GB, free: 50.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03154/1.742, allocations: 12.33 MB / 0.7315 GB, free: 37.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/1.757, allocations: 0.5239 MB / 0.732 GB, free: 37.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002454/1.76, allocations: 0.541 MB / 0.7325 GB, free: 36.84 MB / 458.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.01116/1.771, allocations: 3.215 MB / 0.7357 GB, free: 33.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00214/1.773, allocations: 0.59 MB / 0.7363 GB, free: 33.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.801, allocations: 6.966 MB / 0.7431 GB, free: 26.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-05/1.801, allocations: 32 kB / 0.7431 GB, free: 25.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/1.801, allocations: 11.98 kB / 0.7431 GB, free: 25.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.663e-05/1.801, allocations: 11.95 kB / 0.7431 GB, free: 25.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04755/1.849, allocations: 15.51 MB / 0.7583 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.272e-05/1.849, allocations: 8 kB / 0.7583 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005399/1.854, allocations: 0.5226 MB / 0.7588 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007185/1.861, allocations: 1.527 MB / 0.7603 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009403/1.862, allocations: 52 kB / 0.7603 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.345/2.207, allocations: 11.47 MB / 0.7715 GB, free: 151.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/2.207, allocations: 7.688 kB / 0.7715 GB, free: 151.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03279/2.24, allocations: 12.15 MB / 0.7834 GB, free: 147.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.245, allocations: 1.187 MB / 0.7846 GB, free: 147.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/2.247, allocations: 57.12 kB / 0.7846 GB, free: 147.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00582/2.253, allocations: 209.2 kB / 0.7848 GB, free: 147.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001384/2.254, allocations: 191.2 kB / 0.785 GB, free: 147.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004204/2.255, allocations: 90.22 kB / 0.7851 GB, free: 147.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01118/2.266, allocations: 4.639 MB / 0.7896 GB, free: 145.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.266, allocations: 0 / 0.7896 GB, free: 145.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01101/2.277, allocations: 1.684 MB / 0.7913 GB, free: 145.4 MB / 458.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.03116/2.308, allocations: 13.53 MB / 0.8045 GB, free: 138.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02164/2.33, allocations: 8.979 MB / 0.8132 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.33, allocations: 0 / 0.8132 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.34, allocations: 3.486 MB / 0.8166 GB, free: 129.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/2.347, allocations: 0.7016 MB / 0.8173 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4083/2.755, allocations: 163.5 MB / 0.977 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01928/2.775, allocations: 5.023 MB / 0.9819 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01581/2.791, allocations: 2.974 MB / 0.9848 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008513/2.799, allocations: 3.202 MB / 0.9879 GB, free: 106 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/2.799, allocations: 1.375 kB / 0.9879 GB, free: 106 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6965/3.496, allocations: 131.9 MB / 1.117 GB, free: 123.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/3.496, allocations: 195.1 kB / 1.117 GB, free: 122.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/12.1, allocations: 0 / 1.117 GB, free: 122.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat