Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.02925/0.02926, allocations: 107.5 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.001934/0.001934, allocations: 182 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 1.981/1.981, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.3289/0.3289, allocations: 40.05 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007188/0.0007191, allocations: 8 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1455, allocations: 54.9 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4895/0.635, allocations: 92.85 MB / 0.497 GB, free: 7.762 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05535/0.6905, allocations: 20.63 MB / 0.5171 GB, free: 9.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02285/0.7134, allocations: 454.1 kB / 0.5175 GB, free: 9.598 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01865/0.7321, allocations: 4.786 MB / 0.5222 GB, free: 8.059 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0549/0.787, allocations: 13.21 MB / 0.5351 GB, free: 500 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008349/0.7954, allocations: 1.066 MB / 0.5361 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.08169/0.8772, allocations: 26.43 MB / 0.562 GB, free: 6.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/0.8956, allocations: 8.061 MB / 0.5698 GB, free: 14.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.9009, allocations: 1.873 MB / 0.5717 GB, free: 12.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006311/0.9073, allocations: 2.632 MB / 0.5742 GB, free: 9.625 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.9093, allocations: 272 kB / 0.5745 GB, free: 9.359 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.914, allocations: 1.061 MB / 0.5755 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005744/0.9198, allocations: 3.055 MB / 0.5785 GB, free: 5.234 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.9233, allocations: 1.54 MB / 0.58 GB, free: 3.684 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01867/0.942, allocations: 10.43 MB / 0.5902 GB, free: 9.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.942, allocations: 4 kB / 0.5902 GB, free: 9.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.942, allocations: 0 / 0.5902 GB, free: 9.227 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004466/0.9425, allocations: 0 / 0.5902 GB, free: 9.227 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03076/0.9733, allocations: 7.995 MB / 0.598 GB, free: 1.148 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.9734, allocations: 12.03 kB / 0.598 GB, free: 1.137 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004873/0.9782, allocations: 1.265 MB / 0.5993 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1262/1.105, allocations: 11.31 MB / 0.6103 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02074/1.125, allocations: 5.91 MB / 0.6161 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006441/1.126, allocations: 444.4 kB / 0.6165 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/1.129, allocations: 0.5854 MB / 0.6171 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6638/1.793, allocations: 17.83 MB / 0.6345 GB, free: 148.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004138/1.794, allocations: 87.41 kB / 0.6346 GB, free: 148.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/1.796, allocations: 284.9 kB / 0.6348 GB, free: 148.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007773/1.804, allocations: 3.187 MB / 0.6379 GB, free: 148.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04595/1.85, allocations: 14.68 MB / 0.6523 GB, free: 144.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1.977, allocations: 68.49 MB / 0.7192 GB, free: 96.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/2.006, allocations: 7.292 MB / 0.7263 GB, free: 90.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/2.006, allocations: 60.33 kB / 0.7263 GB, free: 90.38 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/2.006, allocations: 76.61 kB / 0.7264 GB, free: 90.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=307): time 7.364e-06/2.006, allocations: 0 / 0.7264 GB, free: 90.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=340): time 0.1377/2.144, allocations: 33.19 MB / 0.7588 GB, free: 56.75 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/2.144, allocations: 295.5 kB / 0.7591 GB, free: 56.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/2.162, allocations: 7.797 MB / 0.7667 GB, free: 48.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/2.163, allocations: 77.7 kB / 0.7668 GB, free: 48.55 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004967/2.168, allocations: 5.34 MB / 0.772 GB, free: 43.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002292/2.17, allocations: 1.28 MB / 0.7733 GB, free: 41.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/2.172, allocations: 188 kB / 0.7734 GB, free: 41.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007615/2.173, allocations: 0.707 MB / 0.7741 GB, free: 41.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/2.183, allocations: 3.794 MB / 0.7778 GB, free: 37.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/2.197, allocations: 9.341 MB / 0.787 GB, free: 25.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/2.21, allocations: 5.817 MB / 0.7926 GB, free: 19.33 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/2.211, allocations: 56 kB / 0.7927 GB, free: 19.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03966/2.25, allocations: 14.18 MB / 0.8065 GB, free: 5.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.25, allocations: 92 kB / 0.8066 GB, free: 4.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002764/2.251, allocations: 198.5 kB / 0.8068 GB, free: 4.789 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/2.257, allocations: 1.579 MB / 0.8084 GB, free: 3.207 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/2.273, allocations: 2.273 MB / 0.8106 GB, free: 0.9297 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.377/2.65, allocations: 12.65 MB / 0.8229 GB, free: 128.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.662, allocations: 0.5457 MB / 0.8235 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002349/2.664, allocations: 0.5577 MB / 0.824 GB, free: 128.1 MB / 490.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.01145/2.676, allocations: 3.59 MB / 0.8275 GB, free: 126.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/2.678, allocations: 0.6382 MB / 0.8281 GB, free: 126.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/2.701, allocations: 7.003 MB / 0.835 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/2.701, allocations: 36.88 kB / 0.835 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-05/2.701, allocations: 9.156 kB / 0.835 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/2.701, allocations: 18.98 kB / 0.835 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05398/2.755, allocations: 16.06 MB / 0.8507 GB, free: 118.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-05/2.755, allocations: 2.531 kB / 0.8507 GB, free: 118.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006968/2.762, allocations: 0.6228 MB / 0.8513 GB, free: 118.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006725/2.769, allocations: 1.255 MB / 0.8526 GB, free: 118 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/2.77, allocations: 58.83 kB / 0.8526 GB, free: 118 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/2.795, allocations: 11.67 MB / 0.864 GB, free: 111.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/2.795, allocations: 3.75 kB / 0.864 GB, free: 111.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0318/2.827, allocations: 11.76 MB / 0.8755 GB, free: 106.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005414/2.833, allocations: 1.252 MB / 0.8767 GB, free: 105.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002988/2.836, allocations: 55.84 kB / 0.8768 GB, free: 105.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006892/2.843, allocations: 217.2 kB / 0.877 GB, free: 105.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001696/2.844, allocations: 191.5 kB / 0.8772 GB, free: 105.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008522/2.845, allocations: 86.41 kB / 0.8772 GB, free: 105.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01362/2.859, allocations: 5.025 MB / 0.8822 GB, free: 104.1 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.352e-06/2.859, allocations: 3.5 kB / 0.8822 GB, free: 104.1 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01301/2.872, allocations: 1.835 MB / 0.884 GB, free: 102.5 MB / 490.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.03243/2.904, allocations: 12.67 MB / 0.8963 GB, free: 91.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02294/2.927, allocations: 9.473 MB / 0.9056 GB, free: 81.96 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.928, allocations: 3.781 kB / 0.9056 GB, free: 81.96 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009896/2.937, allocations: 3.66 MB / 0.9092 GB, free: 78.28 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/2.945, allocations: 0.8125 MB / 0.9099 GB, free: 77.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5607/3.506, allocations: 208.5 MB / 1.114 GB, free: 46.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/3.519, allocations: 5.607 MB / 1.119 GB, free: 45.12 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01654/3.536, allocations: 3.169 MB / 1.122 GB, free: 45.04 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008682/3.545, allocations: 3.66 MB / 1.126 GB, free: 42.05 MB / 0.4949 GB Notification: Performance of SimCode: time 1.583e-06/3.545, allocations: 0 / 1.126 GB, free: 42.05 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6542/4.199, allocations: 144.8 MB / 1.267 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/4.199, allocations: 197.7 kB / 1.267 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/12.99, allocations: 2.844 kB / 1.267 GB, free: 123.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat