Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01104/0.01105, 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.001183/0.001183, allocations: 166.5 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.71/1.71, allocations: 170.9 MB / 187.5 MB, free: 0.8594 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.2621/0.2621, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006419, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09566, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.09401/0.1897, allocations: 59.97 MB / 432.3 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3313/0.5211, allocations: 13.9 MB / 446.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01583/0.537, allocations: 297.7 kB / 446.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.5492, allocations: 3.076 MB / 449.5 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03356/0.5828, allocations: 8.705 MB / 458.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.5882, allocations: 0.7958 MB / 459 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04939/0.6376, allocations: 17.85 MB / 476.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.6496, allocations: 5.465 MB / 482.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.6534, allocations: 1.361 MB / 483.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.6579, allocations: 1.817 MB / 485.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.6592, allocations: 184 kB / 485.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.6632, allocations: 1.115 MB / 486.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004089/0.6673, allocations: 2.144 MB / 489 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.6696, allocations: 1.084 MB / 490.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.6818, allocations: 7.327 MB / 497.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6819, allocations: 0 / 497.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6819, allocations: 4 kB / 497.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002926/0.6822, allocations: 0 / 497.4 MB, free: 14.57 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02085/0.703, allocations: 5.703 MB / 0.4913 GB, free: 9.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7031, allocations: 12.02 kB / 0.4913 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002982/0.7061, allocations: 0.8878 MB / 0.4922 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.108/0.8141, allocations: 8.081 MB / 0.5001 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.8279, allocations: 4.249 MB / 0.5042 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.8283, allocations: 296.9 kB / 0.5045 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.8302, allocations: 399.4 kB / 0.5049 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/0.8659, allocations: 12.61 MB / 0.5172 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/0.8663, allocations: 55.42 kB / 0.5172 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.8681, allocations: 193.2 kB / 0.5174 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006139/0.8743, allocations: 2.295 MB / 0.5197 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03409/0.9084, allocations: 10.38 MB / 0.5298 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0861/0.9946, allocations: 48.42 MB / 0.5771 GB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.015, allocations: 4.674 MB / 0.5817 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01926/1.034, allocations: 6.967 MB / 0.5885 GB, free: 8.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/1.034, allocations: 51.88 kB / 0.5885 GB, free: 8.699 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 6.012e-06/1.034, allocations: 0 / 0.5885 GB, free: 8.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.3537/1.388, allocations: 16.44 MB / 0.6046 GB, free: 169.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/1.388, allocations: 199.3 kB / 0.6047 GB, free: 169.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01625/1.404, allocations: 6.053 MB / 0.6107 GB, free: 167.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005457/1.405, allocations: 51.3 kB / 0.6107 GB, free: 167.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004028/1.409, allocations: 3.983 MB / 0.6146 GB, free: 164.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.41, allocations: 0.7576 MB / 0.6153 GB, free: 163.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/1.411, allocations: 141 kB / 0.6155 GB, free: 163.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000412/1.411, allocations: 0.6035 MB / 0.6161 GB, free: 163.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005876/1.417, allocations: 2.357 MB / 0.6184 GB, free: 162.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008784/1.426, allocations: 6.724 MB / 0.6249 GB, free: 155.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008771/1.435, allocations: 3.892 MB / 0.6287 GB, free: 154.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/1.435, allocations: 45.56 kB / 0.6288 GB, free: 154.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02436/1.459, allocations: 9.337 MB / 0.6379 GB, free: 149.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.46, allocations: 72 kB / 0.638 GB, free: 149.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/1.46, allocations: 152 kB / 0.6381 GB, free: 149.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/1.463, allocations: 0.7424 MB / 0.6388 GB, free: 148.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009693/1.472, allocations: 1.637 MB / 0.6404 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.483, allocations: 6.444 MB / 0.6467 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/1.491, allocations: 388.7 kB / 0.6471 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.492, allocations: 440 kB / 0.6475 GB, free: 139.5 MB / 458.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.006325/1.499, allocations: 2.609 MB / 0.6501 GB, free: 136.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.5, allocations: 491.8 kB / 0.6505 GB, free: 136.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008558/1.509, allocations: 3.228 MB / 0.6537 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.624e-05/1.509, allocations: 20 kB / 0.6537 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/1.509, allocations: 4 kB / 0.6537 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/1.509, allocations: 11.97 kB / 0.6537 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/1.531, allocations: 8.579 MB / 0.6621 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.531, allocations: 4 kB / 0.6621 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/1.535, allocations: 355.8 kB / 0.6624 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/1.537, allocations: 0.4895 MB / 0.6629 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003337/1.537, allocations: 32 kB / 0.6629 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/1.546, allocations: 5.802 MB / 0.6686 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.546, allocations: 4 kB / 0.6686 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.559, allocations: 6.281 MB / 0.6748 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/1.562, allocations: 0.8265 MB / 0.6756 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/1.564, allocations: 36 kB / 0.6756 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/1.568, allocations: 99.88 kB / 0.6757 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000601/1.568, allocations: 117 kB / 0.6758 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.568, allocations: 53.48 kB / 0.6759 GB, free: 110 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009433/1.578, allocations: 3.907 MB / 0.6797 GB, free: 106.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.578, allocations: 0 / 0.6797 GB, free: 106.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008525/1.587, allocations: 1.23 MB / 0.6809 GB, free: 104.9 MB / 458.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.01383/1.6, allocations: 7.435 MB / 0.6881 GB, free: 97.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/1.613, allocations: 5.75 MB / 0.6937 GB, free: 91.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.613, allocations: 0 / 0.6937 GB, free: 91.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.617, allocations: 1.751 MB / 0.6955 GB, free: 89.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/1.622, allocations: 0.59 MB / 0.696 GB, free: 89.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/1.967, allocations: 132.1 MB / 0.8251 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/1.98, allocations: 4.116 MB / 0.8291 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0143/1.994, allocations: 2.289 MB / 0.8313 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007982/2.002, allocations: 2.506 MB / 0.8338 GB, free: 110.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.305e-06/2.003, allocations: 3.438 kB / 0.8338 GB, free: 110.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2142/2.217, allocations: 98.42 MB / 0.9299 GB, free: 24.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/2.217, allocations: 201.7 kB / 0.9301 GB, free: 23.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/8.792, allocations: 4 kB / 0.9301 GB, free: 23.87 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat