Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01498/0.01498, allocations: 104.5 kB / 15.05 MB, free: 6.031 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.001734/0.001733, allocations: 174 kB / 15.93 MB, free: 5.965 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.711/1.711, 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.2675/0.2675, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09125, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4926/0.5839, allocations: 102.2 MB / 474.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06305/0.647, allocations: 22.64 MB / 497.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02334/0.6704, allocations: 0.4988 MB / 497.7 MB, free: 6.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01942/0.6899, allocations: 5.304 MB / 0.4912 GB, free: 1.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05681/0.7467, allocations: 14.58 MB / 0.5054 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008817/0.7556, allocations: 1.24 MB / 0.5066 GB, free: 1.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1043/0.86, allocations: 34.37 MB / 0.5402 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02149/0.8815, allocations: 9.59 MB / 0.5496 GB, free: 5.262 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/0.8875, allocations: 2.095 MB / 0.5516 GB, free: 3.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007053/0.8947, allocations: 2.897 MB / 0.5544 GB, free: 260 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002256/0.897, allocations: 296 kB / 0.5547 GB, free: 15.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.9022, allocations: 1.198 MB / 0.5559 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006515/0.9087, allocations: 3.355 MB / 0.5592 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003926/0.9127, allocations: 1.66 MB / 0.5608 GB, free: 9.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01949/0.9323, allocations: 11.44 MB / 0.572 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.9323, allocations: 0 / 0.572 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.9324, allocations: 0 / 0.572 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005639/0.9329, allocations: 4 kB / 0.572 GB, free: 14.26 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03511/0.968, allocations: 8.779 MB / 0.5805 GB, free: 5.391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.9681, allocations: 8.031 kB / 0.5805 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004905/0.973, allocations: 1.322 MB / 0.5818 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.167/1.14, allocations: 14.24 MB / 0.5957 GB, free: 5.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5542/1.694, allocations: 7.091 MB / 0.6027 GB, free: 171.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007408/1.695, allocations: 478.7 kB / 0.6031 GB, free: 171.7 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/1.698, allocations: 0.6382 MB / 0.6037 GB, free: 171.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07137/1.77, allocations: 19.13 MB / 0.6224 GB, free: 163.4 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006009/1.77, allocations: 90.58 kB / 0.6225 GB, free: 163.4 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/1.773, allocations: 298.9 kB / 0.6228 GB, free: 163.2 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01014/1.784, allocations: 3.182 MB / 0.6259 GB, free: 162 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0526/1.836, allocations: 15.86 MB / 0.6414 GB, free: 146.8 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.954, allocations: 69.89 MB / 0.7096 GB, free: 76.21 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0351/1.989, allocations: 8.235 MB / 0.7177 GB, free: 67.82 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.99, allocations: 0.6589 MB / 0.7183 GB, free: 67.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/1.991, allocations: 72.81 kB / 0.7184 GB, free: 66.99 MB / 458.8 MB Notification: Performance of pre-optimization done (n=307): time 6.802e-06/1.991, allocations: 0 / 0.7184 GB, free: 66.99 MB / 458.8 MB Notification: Performance of matching and sorting (n=331): time 0.1361/2.127, allocations: 31.87 MB / 0.7495 GB, free: 34.87 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/2.127, allocations: 291.6 kB / 0.7498 GB, free: 34.53 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01676/2.144, allocations: 8.115 MB / 0.7577 GB, free: 26.45 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008528/2.145, allocations: 69.7 kB / 0.7578 GB, free: 26.38 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004874/2.149, allocations: 5.581 MB / 0.7632 GB, free: 20.79 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001994/2.151, allocations: 1.244 MB / 0.7645 GB, free: 19.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/2.153, allocations: 188 kB / 0.7646 GB, free: 19.37 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005803/2.153, allocations: 0.7026 MB / 0.7653 GB, free: 18.66 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009214/2.163, allocations: 3.575 MB / 0.7688 GB, free: 15.08 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/2.175, allocations: 9.011 MB / 0.7776 GB, free: 3.363 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3086/2.484, allocations: 5.528 MB / 0.783 GB, free: 148.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/2.484, allocations: 55.38 kB / 0.7831 GB, free: 148.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03964/2.524, allocations: 13.4 MB / 0.7961 GB, free: 144.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/2.524, allocations: 89.16 kB / 0.7962 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000314/2.524, allocations: 193.9 kB / 0.7964 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/2.53, allocations: 1.304 MB / 0.7977 GB, free: 144.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01378/2.543, allocations: 2.213 MB / 0.7999 GB, free: 144.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/2.565, allocations: 12.7 MB / 0.8123 GB, free: 136.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.576, allocations: 0.527 MB / 0.8128 GB, free: 135.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.577, allocations: 0.5427 MB / 0.8133 GB, free: 135.9 MB / 458.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.009623/2.587, allocations: 3.739 MB / 0.8169 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/2.589, allocations: 0.666 MB / 0.8176 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/2.608, allocations: 6.391 MB / 0.8238 GB, free: 131.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.121e-05/2.608, allocations: 34.97 kB / 0.8239 GB, free: 131.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.232e-05/2.608, allocations: 13.7 kB / 0.8239 GB, free: 131.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-05/2.608, allocations: 15.33 kB / 0.8239 GB, free: 131.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04461/2.653, allocations: 15.51 MB / 0.839 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/2.653, allocations: 4 kB / 0.8391 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005911/2.659, allocations: 0.6006 MB / 0.8396 GB, free: 117.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004561/2.664, allocations: 0.96 MB / 0.8406 GB, free: 116.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007295/2.664, allocations: 63.94 kB / 0.8406 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/2.683, allocations: 11.55 MB / 0.8519 GB, free: 104.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.683, allocations: 0 / 0.8519 GB, free: 104.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02607/2.709, allocations: 10.7 MB / 0.8624 GB, free: 93.52 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004607/2.714, allocations: 1.23 MB / 0.8636 GB, free: 92.26 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00231/2.716, allocations: 57.12 kB / 0.8636 GB, free: 92.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/2.722, allocations: 207.7 kB / 0.8638 GB, free: 92 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/2.724, allocations: 194.3 kB / 0.864 GB, free: 91.81 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004242/2.724, allocations: 87.91 kB / 0.8641 GB, free: 91.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01203/2.736, allocations: 5.265 MB / 0.8692 GB, free: 86.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.71e-07/2.736, allocations: 0 / 0.8692 GB, free: 86.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01194/2.748, allocations: 1.862 MB / 0.8711 GB, free: 84.64 MB / 458.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.02644/2.775, allocations: 11.67 MB / 0.8825 GB, free: 72.85 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02037/2.795, allocations: 9.055 MB / 0.8913 GB, free: 63.78 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/2.795, allocations: 4 kB / 0.8913 GB, free: 63.77 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007123/2.802, allocations: 3.328 MB / 0.8945 GB, free: 60.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/2.809, allocations: 0.9231 MB / 0.8954 GB, free: 59.47 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.526/3.335, allocations: 207.1 MB / 1.098 GB, free: 13.28 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/3.348, allocations: 5.901 MB / 1.103 GB, free: 11.13 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01358/3.361, allocations: 3.043 MB / 1.106 GB, free: 8.125 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008583/3.37, allocations: 3.924 MB / 1.11 GB, free: 4.199 MB / 458.8 MB Notification: Performance of SimCode: time 2.284e-06/3.37, allocations: 0 / 1.11 GB, free: 4.199 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6188/3.989, allocations: 150 MB / 1.257 GB, free: 51.41 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/3.989, allocations: 194.8 kB / 1.257 GB, free: 51.16 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/13.24, allocations: 0 / 1.257 GB, free: 51.16 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat