Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces",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.01166/0.01167, allocations: 103.7 kB / 15.05 MB, free: 6.035 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.001332/0.001332, allocations: 174.4 kB / 15.94 MB, free: 5.973 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.703/1.703, allocations: 170.9 MB / 187.6 MB, free: 1 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.277/0.277, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.000615, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09709, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.5245/0.6217, allocations: 92.82 MB / 465.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07295/0.6947, allocations: 20.61 MB / 485.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02445/0.7192, allocations: 458.5 kB / 486.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.7373, allocations: 4.782 MB / 491 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05827/0.7956, allocations: 13.2 MB / 0.4923 GB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008499/0.8042, allocations: 1.077 MB / 0.4934 GB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.08228/0.8865, allocations: 26.42 MB / 0.5192 GB, free: 4.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01896/0.9055, allocations: 8.058 MB / 0.5271 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/0.9109, allocations: 1.869 MB / 0.5289 GB, free: 10.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006707/0.9176, allocations: 2.632 MB / 0.5315 GB, free: 7.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002065/0.9198, allocations: 272 kB / 0.5317 GB, free: 7.594 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.9244, allocations: 1.061 MB / 0.5328 GB, free: 6.531 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006457/0.9309, allocations: 3.043 MB / 0.5357 GB, free: 3.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00383/0.9348, allocations: 1.544 MB / 0.5372 GB, free: 1.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.953, allocations: 10.42 MB / 0.5474 GB, free: 7.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9531, allocations: 4 kB / 0.5474 GB, free: 7.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.9531, allocations: 3.938 kB / 0.5474 GB, free: 7.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004917/0.9536, allocations: 0 / 0.5474 GB, free: 7.477 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03288/0.9865, allocations: 7.992 MB / 0.5552 GB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.9866, allocations: 8.031 kB / 0.5552 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004883/0.9915, allocations: 1.265 MB / 0.5565 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1815/1.173, allocations: 11.3 MB / 0.5675 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.194, allocations: 5.924 MB / 0.5733 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000768/1.195, allocations: 439.3 kB / 0.5737 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003516/1.199, allocations: 0.5738 MB / 0.5743 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0557/1.254, allocations: 17.82 MB / 0.5917 GB, free: 8.801 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004391/1.255, allocations: 91.23 kB / 0.5918 GB, free: 8.711 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002468/1.257, allocations: 275.8 kB / 0.592 GB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008854/1.266, allocations: 3.186 MB / 0.5951 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6291/1.895, allocations: 14.67 MB / 0.6095 GB, free: 165 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/2.013, allocations: 68.45 MB / 0.6763 GB, free: 107.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02819/2.041, allocations: 7.279 MB / 0.6834 GB, free: 99.98 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/2.042, allocations: 61.73 kB / 0.6835 GB, free: 99.95 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/2.042, allocations: 76.36 kB / 0.6835 GB, free: 99.87 MB / 458.8 MB Notification: Performance of pre-optimization done (n=307): time 7.434e-06/2.042, allocations: 1.406 kB / 0.6835 GB, free: 99.87 MB / 458.8 MB Notification: Performance of matching and sorting (n=340): time 0.1444/2.186, allocations: 33.2 MB / 0.716 GB, free: 66.37 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/2.186, allocations: 297.5 kB / 0.7162 GB, free: 66.02 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/2.202, allocations: 7.798 MB / 0.7239 GB, free: 58.24 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001/2.203, allocations: 77.7 kB / 0.7239 GB, free: 58.16 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004763/2.208, allocations: 5.332 MB / 0.7291 GB, free: 52.83 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002188/2.21, allocations: 1.284 MB / 0.7304 GB, free: 51.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/2.212, allocations: 190 kB / 0.7306 GB, free: 51.37 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005661/2.212, allocations: 0.7109 MB / 0.7313 GB, free: 50.65 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009778/2.222, allocations: 3.788 MB / 0.735 GB, free: 46.86 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01412/2.236, allocations: 9.345 MB / 0.7441 GB, free: 34.77 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/2.25, allocations: 5.811 MB / 0.7498 GB, free: 28.96 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001773/2.25, allocations: 56 kB / 0.7498 GB, free: 28.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03897/2.289, allocations: 14.19 MB / 0.7637 GB, free: 14.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/2.289, allocations: 88 kB / 0.7638 GB, free: 14.62 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/2.289, allocations: 196 kB / 0.7639 GB, free: 14.43 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/2.296, allocations: 1.579 MB / 0.7655 GB, free: 12.84 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/2.311, allocations: 2.273 MB / 0.7677 GB, free: 10.56 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3635/2.675, allocations: 12.67 MB / 0.7801 GB, free: 144.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/2.686, allocations: 0.5383 MB / 0.7806 GB, free: 144.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/2.689, allocations: 0.5623 MB / 0.7812 GB, free: 144.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1166): * Single equations (assignments): 1160 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01099/2.7, allocations: 3.58 MB / 0.7847 GB, free: 143.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.702, allocations: 0.6509 MB / 0.7853 GB, free: 143.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02385/2.725, allocations: 6.997 MB / 0.7921 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.429e-05/2.726, allocations: 40.39 kB / 0.7922 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.562e-05/2.726, allocations: 9 kB / 0.7922 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/2.726, allocations: 17.95 kB / 0.7922 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04938/2.775, allocations: 16.06 MB / 0.8079 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/2.775, allocations: 0 / 0.8079 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006508/2.782, allocations: 0.6245 MB / 0.8085 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005963/2.788, allocations: 1.253 MB / 0.8097 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009057/2.789, allocations: 59.23 kB / 0.8098 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/2.81, allocations: 11.64 MB / 0.8211 GB, free: 128.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/2.81, allocations: 7.766 kB / 0.8211 GB, free: 128.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0295/2.84, allocations: 11.77 MB / 0.8326 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004968/2.845, allocations: 1.259 MB / 0.8339 GB, free: 119.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/2.847, allocations: 63.09 kB / 0.8339 GB, free: 119.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006367/2.854, allocations: 203.7 kB / 0.8341 GB, free: 118.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/2.855, allocations: 202.1 kB / 0.8343 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/2.856, allocations: 93.08 kB / 0.8344 GB, free: 118.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0121/2.868, allocations: 5.027 MB / 0.8393 GB, free: 113.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.41e-07/2.868, allocations: 0 / 0.8393 GB, free: 113.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01212/2.88, allocations: 1.833 MB / 0.8411 GB, free: 111.8 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02982/2.91, allocations: 12.67 MB / 0.8535 GB, free: 99.07 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02327/2.933, allocations: 9.477 MB / 0.8627 GB, free: 89.66 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/2.933, allocations: 0 / 0.8627 GB, free: 89.66 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01173/2.945, allocations: 3.659 MB / 0.8663 GB, free: 85.96 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009536/2.954, allocations: 0.8268 MB / 0.8671 GB, free: 85.16 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5468/3.501, allocations: 208.5 MB / 1.071 GB, free: 37.72 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01204/3.513, allocations: 5.604 MB / 1.076 GB, free: 35.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01461/3.528, allocations: 3.175 MB / 1.079 GB, free: 32.71 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008554/3.537, allocations: 3.651 MB / 1.083 GB, free: 29.06 MB / 458.8 MB Notification: Performance of SimCode: time 1.783e-06/3.537, allocations: 0 / 1.083 GB, free: 29.06 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6455/4.182, allocations: 144.7 MB / 1.224 GB, free: 79.35 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/4.183, allocations: 198.9 kB / 1.224 GB, free: 79.11 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/12.72, allocations: 0 / 1.224 GB, free: 79.11 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat