Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01128/0.01129, allocations: 106 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.001189/0.001189, allocations: 165.7 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.613/1.613, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2466/0.2466, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004833, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.09437/0.2048, allocations: 60.39 MB / 432.7 MB, free: 308 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3372/0.542, allocations: 13.96 MB / 446.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01559/0.5577, allocations: 298.8 kB / 446.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.5705, allocations: 3.082 MB / 450 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0346/0.6052, allocations: 8.738 MB / 458.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.6106, allocations: 0.8068 MB / 459.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04994/0.6605, allocations: 17.91 MB / 477.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.6725, allocations: 5.703 MB / 483.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.6761, allocations: 1.39 MB / 484.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.6806, allocations: 1.868 MB / 486.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.6821, allocations: 192 kB / 486.6 MB, free: 7.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.6863, allocations: 1.121 MB / 487.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004002/0.6904, allocations: 2.19 MB / 489.9 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.6926, allocations: 1.118 MB / 491 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.7053, allocations: 7.556 MB / 498.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7054, allocations: 0 / 498.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.7054, allocations: 0 / 498.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003211/0.7057, allocations: 0 / 498.6 MB, free: 13.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02105/0.7268, allocations: 5.828 MB / 0.4926 GB, free: 8.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.7268, allocations: 8.031 kB / 0.4926 GB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003245/0.7301, allocations: 0.9188 MB / 0.4935 GB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08869/0.8188, allocations: 8.109 MB / 0.5014 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.8327, allocations: 4.288 MB / 0.5056 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/0.8332, allocations: 314.5 kB / 0.5059 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.8353, allocations: 410.9 kB / 0.5063 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03686/0.8721, allocations: 13 MB / 0.519 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/0.8724, allocations: 55.53 kB / 0.5191 GB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/0.8739, allocations: 199.4 kB / 0.5192 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006278/0.8802, allocations: 2.393 MB / 0.5216 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03538/0.9156, allocations: 10.67 MB / 0.532 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09765/1.013, allocations: 49.7 MB / 0.5805 GB, free: 1.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.034, allocations: 4.437 MB / 0.5849 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/1.054, allocations: 6.577 MB / 0.5913 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/1.054, allocations: 55.66 kB / 0.5914 GB, free: 5.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 7.814e-06/1.054, allocations: 0 / 0.5914 GB, free: 5.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=195): time 0.3808/1.435, allocations: 17.9 MB / 0.6088 GB, free: 166.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.435, allocations: 227.9 kB / 0.6091 GB, free: 166.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01896/1.454, allocations: 6.125 MB / 0.615 GB, free: 164.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005466/1.454, allocations: 50.61 kB / 0.6151 GB, free: 164.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003585/1.458, allocations: 4.107 MB / 0.6191 GB, free: 161.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/1.459, allocations: 0.7646 MB / 0.6198 GB, free: 160.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/1.46, allocations: 143.5 kB / 0.62 GB, free: 160.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004174/1.46, allocations: 0.6113 MB / 0.6206 GB, free: 160.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005608/1.466, allocations: 2.388 MB / 0.6229 GB, free: 159.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008787/1.475, allocations: 6.847 MB / 0.6296 GB, free: 152.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/1.484, allocations: 3.964 MB / 0.6335 GB, free: 151.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.484, allocations: 46 kB / 0.6335 GB, free: 151.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02409/1.508, allocations: 9.493 MB / 0.6428 GB, free: 144.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.508, allocations: 72 kB / 0.6428 GB, free: 144.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.508, allocations: 164.8 kB / 0.643 GB, free: 143.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/1.511, allocations: 0.7605 MB / 0.6437 GB, free: 143.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/1.521, allocations: 1.653 MB / 0.6454 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.531, allocations: 6.585 MB / 0.6518 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00862/1.54, allocations: 384.4 kB / 0.6522 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.541, allocations: 445.2 kB / 0.6526 GB, free: 133.9 MB / 458.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.006532/1.548, allocations: 2.693 MB / 0.6552 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.549, allocations: 493.6 kB / 0.6557 GB, free: 130.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00858/1.558, allocations: 3.281 MB / 0.6589 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-05/1.558, allocations: 24 kB / 0.6589 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/1.558, allocations: 7.938 kB / 0.6589 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.558, allocations: 11.95 kB / 0.6589 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.582, allocations: 8.848 MB / 0.6676 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.582, allocations: 4.094 kB / 0.6676 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.585, allocations: 327.8 kB / 0.6679 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/1.589, allocations: 0.5006 MB / 0.6684 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005569/1.589, allocations: 32 kB / 0.6684 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.603, allocations: 5.899 MB / 0.6742 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.603, allocations: 6.875 kB / 0.6742 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.617, allocations: 6.464 MB / 0.6805 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003199/1.62, allocations: 0.8265 MB / 0.6813 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.622, allocations: 36 kB / 0.6813 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00413/1.626, allocations: 105 kB / 0.6814 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007256/1.627, allocations: 117 kB / 0.6815 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.627, allocations: 53.64 kB / 0.6816 GB, free: 103.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009474/1.636, allocations: 3.952 MB / 0.6854 GB, free: 99.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.805e-06/1.637, allocations: 0 / 0.6854 GB, free: 99.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009191/1.646, allocations: 1.258 MB / 0.6867 GB, free: 98.44 MB / 458.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.01514/1.661, allocations: 7.662 MB / 0.6942 GB, free: 90.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0142/1.675, allocations: 5.871 MB / 0.6999 GB, free: 84.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.675, allocations: 0 / 0.6999 GB, free: 84.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/1.679, allocations: 1.78 MB / 0.7016 GB, free: 83.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.684, allocations: 0.6001 MB / 0.7022 GB, free: 82.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3613/2.046, allocations: 135.2 MB / 0.8342 GB, free: 101.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.056, allocations: 4.233 MB / 0.8383 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01133/2.067, allocations: 2.324 MB / 0.8406 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006541/2.074, allocations: 2.564 MB / 0.8431 GB, free: 100 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/2.074, allocations: 0 / 0.8431 GB, free: 100 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/2.285, allocations: 99.63 MB / 0.9404 GB, free: 12.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/2.285, allocations: 198.7 kB / 0.9406 GB, free: 11.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/9.499, allocations: 0 / 0.9406 GB, free: 11.96 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat