Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques",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.01115/0.01115, 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.001218/0.001218, allocations: 184.6 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.892/1.892, allocations: 194.5 MB / 211.3 MB, free: 10.95 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.2586/0.2586, allocations: 40.05 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4234/0.5395, allocations: 60.41 MB / 476.4 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03707/0.5766, allocations: 13.97 MB / 490.4 MB, free: 21.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01536/0.592, allocations: 302.2 kB / 490.7 MB, free: 21.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.603, allocations: 3.086 MB / 493.8 MB, free: 20.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03248/0.6355, allocations: 8.734 MB / 0.4907 GB, free: 16.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.6412, allocations: 0.7917 MB / 0.4915 GB, free: 15.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05305/0.6943, allocations: 17.92 MB / 0.509 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.7049, allocations: 5.71 MB / 0.5146 GB, free: 6.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.7081, allocations: 1.386 MB / 0.516 GB, free: 5.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.7118, allocations: 1.869 MB / 0.5178 GB, free: 3.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.7131, allocations: 192 kB / 0.518 GB, free: 3.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.7167, allocations: 1.12 MB / 0.5191 GB, free: 2.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.72, allocations: 2.19 MB / 0.5212 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.7222, allocations: 1.123 MB / 0.5223 GB, free: 14.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.7355, allocations: 7.551 MB / 0.5297 GB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7356, allocations: 0 / 0.5297 GB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7356, allocations: 0 / 0.5297 GB, free: 7.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003398/0.7359, allocations: 2.062 kB / 0.5297 GB, free: 7.281 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02493/0.7609, allocations: 5.835 MB / 0.5354 GB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.761, allocations: 8.031 kB / 0.5354 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004283/0.7653, allocations: 0.9181 MB / 0.5363 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1043/0.8697, allocations: 8.102 MB / 0.5442 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.8844, allocations: 4.29 MB / 0.5484 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/0.8849, allocations: 311.8 kB / 0.5487 GB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/0.887, allocations: 411.6 kB / 0.5491 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.928, allocations: 13.01 MB / 0.5618 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/0.9283, allocations: 55.52 kB / 0.5618 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001689/0.93, allocations: 199.8 kB / 0.562 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006579/0.9367, allocations: 2.396 MB / 0.5643 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0355/0.9722, allocations: 10.67 MB / 0.5748 GB, free: 8.027 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09645/1.069, allocations: 49.73 MB / 0.6233 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/1.089, allocations: 4.447 MB / 0.6277 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3303/1.419, allocations: 6.556 MB / 0.6341 GB, free: 152 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/1.42, allocations: 60.17 kB / 0.6341 GB, free: 151.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 6.262e-06/1.42, allocations: 0 / 0.6341 GB, free: 151.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.07385/1.493, allocations: 17.9 MB / 0.6516 GB, free: 145.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.494, allocations: 229.8 kB / 0.6518 GB, free: 144.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/1.509, allocations: 6.126 MB / 0.6578 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005382/1.509, allocations: 52.73 kB / 0.6579 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004234/1.514, allocations: 4.096 MB / 0.6619 GB, free: 139.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.515, allocations: 0.7657 MB / 0.6626 GB, free: 139 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/1.516, allocations: 139.7 kB / 0.6628 GB, free: 138.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006998/1.517, allocations: 0.612 MB / 0.6634 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007133/1.524, allocations: 2.39 MB / 0.6657 GB, free: 137.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.535, allocations: 6.85 MB / 0.6724 GB, free: 130.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.545, allocations: 3.952 MB / 0.6762 GB, free: 129.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002709/1.546, allocations: 46.03 kB / 0.6763 GB, free: 129.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02822/1.574, allocations: 9.508 MB / 0.6856 GB, free: 125.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.574, allocations: 70.78 kB / 0.6856 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002683/1.574, allocations: 160.8 kB / 0.6858 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/1.578, allocations: 0.757 MB / 0.6865 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.588, allocations: 1.656 MB / 0.6881 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.599, allocations: 6.593 MB / 0.6946 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008879/1.608, allocations: 384.7 kB / 0.6949 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/1.61, allocations: 445 kB / 0.6954 GB, free: 120.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (877): * Single equations (assignments): 870 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007014/1.617, allocations: 2.686 MB / 0.698 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.618, allocations: 491.3 kB / 0.6985 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009395/1.628, allocations: 3.286 MB / 0.7017 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.835e-05/1.628, allocations: 23.75 kB / 0.7017 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.628, allocations: 7.938 kB / 0.7017 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.615e-05/1.628, allocations: 12.39 kB / 0.7017 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.653, allocations: 8.838 MB / 0.7103 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/1.653, allocations: 4 kB / 0.7103 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.656, allocations: 322.2 kB / 0.7107 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/1.659, allocations: 0.5004 MB / 0.7111 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004772/1.66, allocations: 39.98 kB / 0.7112 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009676/1.669, allocations: 5.896 MB / 0.7169 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/1.669, allocations: 7.938 kB / 0.7169 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.683, allocations: 6.454 MB / 0.7233 GB, free: 93.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/1.686, allocations: 0.8304 MB / 0.7241 GB, free: 93.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001488/1.687, allocations: 36.05 kB / 0.7241 GB, free: 93.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/1.691, allocations: 99.88 kB / 0.7242 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/1.692, allocations: 124.8 kB / 0.7243 GB, free: 92.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.692, allocations: 55.98 kB / 0.7244 GB, free: 92.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00912/1.701, allocations: 3.951 MB / 0.7282 GB, free: 88.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.701, allocations: 0 / 0.7282 GB, free: 88.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01143/1.713, allocations: 1.255 MB / 0.7294 GB, free: 87.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(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.01449/1.727, allocations: 7.668 MB / 0.7369 GB, free: 79.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/1.741, allocations: 5.862 MB / 0.7427 GB, free: 74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.741, allocations: 0 / 0.7427 GB, free: 74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/1.745, allocations: 1.783 MB / 0.7444 GB, free: 72.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005151/1.75, allocations: 0.5986 MB / 0.745 GB, free: 71.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4136/2.164, allocations: 135.2 MB / 0.877 GB, free: 73.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/2.177, allocations: 4.237 MB / 0.8811 GB, free: 73.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01237/2.19, allocations: 2.322 MB / 0.8834 GB, free: 73.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009052/2.199, allocations: 2.566 MB / 0.8859 GB, free: 73.06 MB / 490.7 MB Notification: Performance of SimCode: time 2.735e-06/2.199, allocations: 0 / 0.8859 GB, free: 73.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/2.441, allocations: 99.65 MB / 0.9832 GB, free: 3.023 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/2.442, allocations: 202.7 kB / 0.9834 GB, free: 2.777 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/9.183, allocations: 0 / 0.9834 GB, free: 2.777 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat