Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Worldtorque",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.01516/0.01516, allocations: 105.7 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.1.mo): time 0.001673/0.001672, allocations: 168.8 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.772/1.772, allocations: 170.9 MB / 187.5 MB, free: 0.9961 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.2551/0.2551, allocations: 38.08 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.4438/0.5628, allocations: 83.25 MB / 455.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1003/0.6631, allocations: 18.65 MB / 474.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02083/0.684, allocations: 409.3 kB / 474.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01571/0.6998, allocations: 4.283 MB / 478.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04917/0.7491, allocations: 11.89 MB / 490.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007819/0.7569, allocations: 1.015 MB / 491.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.07967/0.8367, allocations: 26.21 MB / 0.5059 GB, free: 2.172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.016/0.8527, allocations: 7.45 MB / 0.5131 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.8574, allocations: 1.771 MB / 0.5149 GB, free: 8.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005722/0.8632, allocations: 2.473 MB / 0.5173 GB, free: 6.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.8648, allocations: 252 kB / 0.5175 GB, free: 6.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.869, allocations: 1.159 MB / 0.5187 GB, free: 4.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004785/0.8738, allocations: 2.848 MB / 0.5214 GB, free: 2.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.8765, allocations: 1.435 MB / 0.5228 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.8934, allocations: 9.726 MB / 0.5323 GB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8935, allocations: 0 / 0.5323 GB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.8935, allocations: 0 / 0.5323 GB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004103/0.8939, allocations: 0 / 0.5323 GB, free: 6.941 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.0295/0.9234, allocations: 7.426 MB / 0.5396 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.9235, allocations: 12.03 kB / 0.5396 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004447/0.928, allocations: 1.158 MB / 0.5407 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1279/1.056, allocations: 11.22 MB / 0.5517 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/1.076, allocations: 5.684 MB / 0.5572 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006113/1.076, allocations: 394.3 kB / 0.5576 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/1.079, allocations: 0.5347 MB / 0.5581 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04998/1.129, allocations: 16.38 MB / 0.5741 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/1.13, allocations: 79.27 kB / 0.5742 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001864/1.132, allocations: 251.8 kB / 0.5744 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007799/1.139, allocations: 2.904 MB / 0.5773 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04673/1.186, allocations: 13.41 MB / 0.5904 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6835/1.87, allocations: 61.78 MB / 0.6507 GB, free: 127.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.893, allocations: 5.942 MB / 0.6565 GB, free: 124.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/1.893, allocations: 43.45 kB / 0.6565 GB, free: 124.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.893, allocations: 59.47 kB / 0.6566 GB, free: 124 MB / 458.8 MB Notification: Performance of pre-optimization done (n=249): time 6.923e-06/1.893, allocations: 3.969 kB / 0.6566 GB, free: 124 MB / 458.8 MB Notification: Performance of matching and sorting (n=267): time 0.1/1.993, allocations: 24.01 MB / 0.68 GB, free: 103.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.993, allocations: 268.4 kB / 0.6803 GB, free: 103.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/2.009, allocations: 7.389 MB / 0.6875 GB, free: 96.13 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007341/2.009, allocations: 70.64 kB / 0.6876 GB, free: 96.06 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004618/2.014, allocations: 5.02 MB / 0.6925 GB, free: 91.04 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/2.016, allocations: 1.028 MB / 0.6935 GB, free: 90.02 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/2.017, allocations: 172 kB / 0.6937 GB, free: 89.86 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006532/2.018, allocations: 0.668 MB / 0.6943 GB, free: 89.18 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008086/2.026, allocations: 3.058 MB / 0.6973 GB, free: 86.12 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/2.037, allocations: 8.268 MB / 0.7054 GB, free: 75.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.049, allocations: 4.902 MB / 0.7102 GB, free: 70.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/2.049, allocations: 52 kB / 0.7102 GB, free: 70.35 MB / 458.8 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.0316/2.08, allocations: 11.83 MB / 0.7218 GB, free: 58.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/2.081, allocations: 91.94 kB / 0.7218 GB, free: 58.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/2.081, allocations: 188 kB / 0.722 GB, free: 58.23 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/2.085, allocations: 1.055 MB / 0.7231 GB, free: 57.17 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/2.098, allocations: 1.996 MB / 0.725 GB, free: 55.17 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/2.115, allocations: 9.81 MB / 0.7346 GB, free: 44.97 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009856/2.125, allocations: 491.3 kB / 0.7351 GB, free: 44.49 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/2.126, allocations: 0.5167 MB / 0.7356 GB, free: 43.97 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1050): * Single equations (assignments): 1044 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008002/2.134, allocations: 3.313 MB / 0.7388 GB, free: 40.65 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/2.136, allocations: 0.5901 MB / 0.7394 GB, free: 40.05 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/2.15, allocations: 4.888 MB / 0.7441 GB, free: 35.14 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/2.15, allocations: 28 kB / 0.7442 GB, free: 35.11 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/2.15, allocations: 8 kB / 0.7442 GB, free: 35.11 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.664e-05/2.151, allocations: 11.95 kB / 0.7442 GB, free: 35.09 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03388/2.184, allocations: 12.29 MB / 0.7562 GB, free: 22.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/2.184, allocations: 4 kB / 0.7562 GB, free: 22.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004484/2.189, allocations: 459.3 kB / 0.7566 GB, free: 22.35 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/2.193, allocations: 0.7465 MB / 0.7574 GB, free: 21.59 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006259/2.193, allocations: 48 kB / 0.7574 GB, free: 21.55 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/2.207, allocations: 8.845 MB / 0.766 GB, free: 12.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.207, allocations: 0 / 0.766 GB, free: 12.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/2.227, allocations: 8.531 MB / 0.7744 GB, free: 3.676 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/2.231, allocations: 1.052 MB / 0.7754 GB, free: 2.598 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/2.233, allocations: 52.11 kB / 0.7755 GB, free: 2.547 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005187/2.238, allocations: 172.8 kB / 0.7756 GB, free: 2.379 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/2.239, allocations: 157.8 kB / 0.7758 GB, free: 2.227 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/2.239, allocations: 68.77 kB / 0.7758 GB, free: 2.16 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.325/2.564, allocations: 4.759 MB / 0.7805 GB, free: 152.9 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.743e-06/2.564, allocations: 0 / 0.7805 GB, free: 152.9 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01755/2.582, allocations: 1.6 MB / 0.782 GB, free: 152.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.03725/2.619, allocations: 9.384 MB / 0.7912 GB, free: 149.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01786/2.637, allocations: 7.71 MB / 0.7987 GB, free: 147 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.637, allocations: 0 / 0.7987 GB, free: 147 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006095/2.643, allocations: 2.652 MB / 0.8013 GB, free: 145.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006604/2.65, allocations: 0.7666 MB / 0.8021 GB, free: 145.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5575/3.208, allocations: 191.3 MB / 0.9889 GB, free: 121 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/3.218, allocations: 5.213 MB / 0.994 GB, free: 118 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01274/3.231, allocations: 2.814 MB / 0.9967 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007084/3.238, allocations: 3.341 MB / 1 GB, free: 112.1 MB / 458.8 MB Notification: Performance of SimCode: time 2.194e-06/3.238, allocations: 0 / 1 GB, free: 112.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.611/3.849, allocations: 128.1 MB / 1.125 GB, free: 134.3 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/3.85, allocations: 199.8 kB / 1.125 GB, free: 134.1 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/12.18, allocations: 0 / 1.125 GB, free: 134.1 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat