Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForces2",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.01162/0.01163, allocations: 107.1 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.0013/0.0013, allocations: 177.9 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 2.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 10.72 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.2946/0.2946, allocations: 40.03 MB / 296.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006524, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1266, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4489/0.5755, allocations: 102.3 MB / 0.5061 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06704/0.6426, allocations: 22.68 MB / 0.5283 GB, free: 1.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02675/0.6694, allocations: 0.4957 MB / 0.5288 GB, free: 1.426 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02051/0.69, allocations: 5.29 MB / 0.5339 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05966/0.7497, allocations: 14.59 MB / 0.5482 GB, free: 4.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009441/0.7592, allocations: 1.231 MB / 0.5494 GB, free: 3.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1056/0.8649, allocations: 34.37 MB / 0.583 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02105/0.886, allocations: 9.579 MB / 0.5923 GB, free: 7.051 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00599/0.892, allocations: 2.098 MB / 0.5944 GB, free: 4.945 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007029/0.8991, allocations: 2.897 MB / 0.5972 GB, free: 2.039 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002163/0.9013, allocations: 296 kB / 0.5975 GB, free: 1.75 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.9066, allocations: 1.206 MB / 0.5987 GB, free: 0.543 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00651/0.9132, allocations: 3.359 MB / 0.6019 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003808/0.917, allocations: 1.657 MB / 0.6035 GB, free: 11.51 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.9363, allocations: 11.46 MB / 0.6147 GB, free: 20 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.9363, allocations: 4 kB / 0.6147 GB, free: 16 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.9363, allocations: 0 / 0.6147 GB, free: 16 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004716/0.9368, allocations: 0 / 0.6147 GB, free: 16 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03413/0.971, allocations: 8.769 MB / 0.6233 GB, free: 7.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.9711, allocations: 16.03 kB / 0.6233 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005636/0.9767, allocations: 1.326 MB / 0.6246 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7472/1.724, allocations: 14.23 MB / 0.6385 GB, free: 154.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/1.745, allocations: 7.099 MB / 0.6454 GB, free: 153.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005071/1.746, allocations: 485.1 kB / 0.6459 GB, free: 153 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/1.748, allocations: 0.6347 MB / 0.6465 GB, free: 152.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05456/1.803, allocations: 19.15 MB / 0.6652 GB, free: 144.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004659/1.803, allocations: 86.41 kB / 0.6653 GB, free: 144.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002029/1.806, allocations: 301.6 kB / 0.6656 GB, free: 144.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008335/1.814, allocations: 3.177 MB / 0.6687 GB, free: 143.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04966/1.864, allocations: 15.87 MB / 0.6842 GB, free: 134.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1409/2.005, allocations: 69.92 MB / 0.7525 GB, free: 63.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03358/2.038, allocations: 8.247 MB / 0.7605 GB, free: 55.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000973/2.039, allocations: 0.6656 MB / 0.7612 GB, free: 54.59 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/2.039, allocations: 64.88 kB / 0.7613 GB, free: 54.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=307): time 6.893e-06/2.039, allocations: 0 / 0.7613 GB, free: 54.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=331): time 0.1468/2.186, allocations: 31.87 MB / 0.7924 GB, free: 22.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/2.186, allocations: 295.6 kB / 0.7927 GB, free: 22.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/2.202, allocations: 8.103 MB / 0.8006 GB, free: 13.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000871/2.203, allocations: 73.7 kB / 0.8006 GB, free: 13.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004675/2.208, allocations: 5.585 MB / 0.8061 GB, free: 8.316 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/2.21, allocations: 1.248 MB / 0.8073 GB, free: 7.078 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009968/2.211, allocations: 184 kB / 0.8075 GB, free: 6.898 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005227/2.211, allocations: 0.7026 MB / 0.8082 GB, free: 6.188 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008698/2.22, allocations: 3.571 MB / 0.8117 GB, free: 2.609 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3298/2.55, allocations: 9.018 MB / 0.8205 GB, free: 130.8 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/2.563, allocations: 5.527 MB / 0.8259 GB, free: 130.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/2.563, allocations: 59.12 kB / 0.8259 GB, free: 130.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03659/2.6, allocations: 13.39 MB / 0.839 GB, free: 126.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/2.6, allocations: 86.69 kB / 0.8391 GB, free: 126.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003536/2.6, allocations: 192.1 kB / 0.8393 GB, free: 126.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005517/2.606, allocations: 1.305 MB / 0.8405 GB, free: 125.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01439/2.62, allocations: 2.222 MB / 0.8427 GB, free: 125.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/2.642, allocations: 12.7 MB / 0.8551 GB, free: 117.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/2.653, allocations: 0.5272 MB / 0.8556 GB, free: 117.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/2.655, allocations: 0.5496 MB / 0.8562 GB, free: 117.1 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],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 (1141): * Single equations (assignments): 1134 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01059/2.666, allocations: 3.723 MB / 0.8598 GB, free: 115.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.668, allocations: 0.6592 MB / 0.8604 GB, free: 115.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.688, allocations: 6.396 MB / 0.8667 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/2.688, allocations: 38.25 kB / 0.8667 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/2.688, allocations: 11.84 kB / 0.8667 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.325e-05/2.688, allocations: 15.38 kB / 0.8667 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04668/2.735, allocations: 15.51 MB / 0.8819 GB, free: 107.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/2.735, allocations: 1 kB / 0.8819 GB, free: 107.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006107/2.741, allocations: 0.6007 MB / 0.8825 GB, free: 107.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/2.746, allocations: 0.9538 MB / 0.8834 GB, free: 107.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007615/2.746, allocations: 59.05 kB / 0.8835 GB, free: 107.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/2.765, allocations: 11.55 MB / 0.8948 GB, free: 98.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.765, allocations: 0 / 0.8948 GB, free: 98.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/2.791, allocations: 10.7 MB / 0.9052 GB, free: 88.64 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004582/2.795, allocations: 1.236 MB / 0.9064 GB, free: 87.49 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/2.797, allocations: 52 kB / 0.9065 GB, free: 87.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006075/2.804, allocations: 214.2 kB / 0.9067 GB, free: 87.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/2.805, allocations: 196.8 kB / 0.9068 GB, free: 87.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003909/2.805, allocations: 86.97 kB / 0.9069 GB, free: 87.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01213/2.817, allocations: 5.259 MB / 0.9121 GB, free: 82.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.71e-07/2.817, allocations: 4 kB / 0.9121 GB, free: 82.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01195/2.829, allocations: 1.857 MB / 0.9139 GB, free: 80.83 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.02662/2.856, allocations: 11.67 MB / 0.9253 GB, free: 69.03 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02132/2.877, allocations: 9.054 MB / 0.9341 GB, free: 59.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/2.878, allocations: 4 kB / 0.9341 GB, free: 59.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007584/2.885, allocations: 3.344 MB / 0.9374 GB, free: 56.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007574/2.893, allocations: 0.91 MB / 0.9383 GB, free: 55.68 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5977/3.49, allocations: 207.1 MB / 1.141 GB, free: 26.75 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01557/3.506, allocations: 5.891 MB / 1.146 GB, free: 24.87 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01584/3.522, allocations: 3.046 MB / 1.149 GB, free: 24.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009442/3.532, allocations: 3.929 MB / 1.153 GB, free: 21.46 MB / 0.4949 GB Notification: Performance of SimCode: time 9.42e-07/3.532, allocations: 0 / 1.153 GB, free: 21.46 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7089/4.24, allocations: 150 MB / 1.3 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/4.241, allocations: 207.7 kB / 1.3 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/12.98, allocations: 0 / 1.3 GB, free: 90.88 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat