Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces",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.01079/0.01079, allocations: 106.2 kB / 15.06 MB, free: 6.027 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.001199/0.001199, allocations: 182.6 kB / 15.95 MB, free: 5.953 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 2.023/2.023, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2838/0.2838, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006404, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1184, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3933/0.5118, allocations: 59.99 MB / 476 MB, free: 29.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03463/0.5465, allocations: 13.93 MB / 489.9 MB, free: 21.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.5593, allocations: 298.5 kB / 490.2 MB, free: 21.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009862/0.5692, allocations: 3.08 MB / 493.3 MB, free: 20.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03305/0.6023, allocations: 8.689 MB / 0.4902 GB, free: 16.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.6081, allocations: 0.7906 MB / 0.491 GB, free: 16.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05385/0.662, allocations: 17.86 MB / 0.5084 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.6724, allocations: 5.463 MB / 0.5138 GB, free: 7.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.6754, allocations: 1.356 MB / 0.5151 GB, free: 6.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.6783, allocations: 1.822 MB / 0.5169 GB, free: 4.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.6792, allocations: 184 kB / 0.5171 GB, free: 4.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.6822, allocations: 1.116 MB / 0.5182 GB, free: 3.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.6848, allocations: 2.131 MB / 0.5202 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.6861, allocations: 1.088 MB / 0.5213 GB, free: 15.92 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.6975, allocations: 7.342 MB / 0.5285 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6976, allocations: 3.938 kB / 0.5285 GB, free: 8.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6976, allocations: 0 / 0.5285 GB, free: 8.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002431/0.6979, allocations: 0 / 0.5285 GB, free: 8.559 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01985/0.7177, allocations: 5.702 MB / 0.534 GB, free: 2.789 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.7178, allocations: 12.03 kB / 0.534 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002577/0.7204, allocations: 0.8851 MB / 0.5349 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08644/0.8068, allocations: 8.079 MB / 0.5428 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.8211, allocations: 4.25 MB / 0.547 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.8215, allocations: 295.6 kB / 0.5472 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.8233, allocations: 409.7 kB / 0.5476 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03428/0.8576, allocations: 12.62 MB / 0.5599 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/0.8578, allocations: 59.47 kB / 0.56 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008727/0.8587, allocations: 191.8 kB / 0.5602 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005967/0.8647, allocations: 2.286 MB / 0.5624 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/0.9002, allocations: 10.38 MB / 0.5726 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09136/0.9916, allocations: 48.44 MB / 0.6199 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1.012, allocations: 4.679 MB / 0.6244 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3602/1.372, allocations: 6.961 MB / 0.6312 GB, free: 152.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/1.372, allocations: 57.3 kB / 0.6313 GB, free: 152.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 7.784e-06/1.372, allocations: 0 / 0.6313 GB, free: 152.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.07567/1.448, allocations: 16.45 MB / 0.6473 GB, free: 147.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/1.448, allocations: 199.5 kB / 0.6475 GB, free: 147.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.461, allocations: 6.04 MB / 0.6534 GB, free: 145.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005228/1.461, allocations: 55.27 kB / 0.6535 GB, free: 145.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004472/1.466, allocations: 3.987 MB / 0.6574 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.467, allocations: 0.7549 MB / 0.6581 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007229/1.468, allocations: 140 kB / 0.6583 GB, free: 141.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004489/1.468, allocations: 0.6083 MB / 0.6588 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006359/1.475, allocations: 2.353 MB / 0.6611 GB, free: 140.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009214/1.484, allocations: 6.725 MB / 0.6677 GB, free: 133.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/1.494, allocations: 3.889 MB / 0.6715 GB, free: 132.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002168/1.494, allocations: 44.53 kB / 0.6716 GB, free: 132.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02678/1.521, allocations: 9.34 MB / 0.6807 GB, free: 128.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.521, allocations: 69.81 kB / 0.6807 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/1.521, allocations: 160.9 kB / 0.6809 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/1.524, allocations: 0.7334 MB / 0.6816 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009588/1.534, allocations: 1.644 MB / 0.6832 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.544, allocations: 6.437 MB / 0.6895 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008286/1.553, allocations: 382.5 kB / 0.6899 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/1.554, allocations: 436.5 kB / 0.6903 GB, free: 123.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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],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 (863): * Single equations (assignments): 856 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006358/1.56, allocations: 2.621 MB / 0.6928 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.562, allocations: 484.8 kB / 0.6933 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008043/1.57, allocations: 3.23 MB / 0.6965 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/1.57, allocations: 23.44 kB / 0.6965 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.57, allocations: 8 kB / 0.6965 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.57, allocations: 9.938 kB / 0.6965 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.592, allocations: 8.578 MB / 0.7049 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.592, allocations: 4 kB / 0.7049 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.595, allocations: 362 kB / 0.7052 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/1.598, allocations: 495.6 kB / 0.7057 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003866/1.598, allocations: 38.33 kB / 0.7057 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009221/1.607, allocations: 5.789 MB / 0.7114 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.607, allocations: 4 kB / 0.7114 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/1.621, allocations: 6.279 MB / 0.7175 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003144/1.624, allocations: 0.8187 MB / 0.7183 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/1.626, allocations: 42.53 kB / 0.7184 GB, free: 99.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003927/1.63, allocations: 103.9 kB / 0.7185 GB, free: 99.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/1.63, allocations: 109.1 kB / 0.7186 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.631, allocations: 52.89 kB / 0.7186 GB, free: 99.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008925/1.639, allocations: 3.899 MB / 0.7224 GB, free: 95.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.64, allocations: 8 kB / 0.7224 GB, free: 95.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008754/1.648, allocations: 1.227 MB / 0.7236 GB, free: 93.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/1.662, allocations: 7.44 MB / 0.7309 GB, free: 86.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/1.675, allocations: 5.763 MB / 0.7365 GB, free: 80.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.675, allocations: 0 / 0.7365 GB, free: 80.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.679, allocations: 1.743 MB / 0.7382 GB, free: 78.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.684, allocations: 0.6012 MB / 0.7388 GB, free: 78.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3838/2.068, allocations: 132.1 MB / 0.8678 GB, free: 84.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007648/2.076, allocations: 4.121 MB / 0.8718 GB, free: 83.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009794/2.086, allocations: 2.296 MB / 0.8741 GB, free: 83.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005685/2.091, allocations: 2.497 MB / 0.8765 GB, free: 83.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.994e-06/2.091, allocations: 0 / 0.8765 GB, free: 83.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2691/2.361, allocations: 98.44 MB / 0.9727 GB, free: 14.46 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/2.361, allocations: 197.6 kB / 0.9728 GB, free: 14.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/8.911, allocations: 0 / 0.9728 GB, free: 14.22 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat