Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces2",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.01135/0.01135, allocations: 108.5 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.001326/0.001326, allocations: 181.3 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.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.3339/0.3339, allocations: 40.04 MB / 296.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004514, allocations: 12 kB / 361.1 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 54.86 MB / 416 MB, free: 9.055 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4316/0.5566, allocations: 82.71 MB / 498.7 MB, free: 3.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05647/0.6131, allocations: 18.6 MB / 0.5052 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.6329, allocations: 407.1 kB / 0.5056 GB, free: 440 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.65, allocations: 4.27 MB / 0.5098 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04652/0.6965, allocations: 11.83 MB / 0.5213 GB, free: 284 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008032/0.7046, allocations: 1.014 MB / 0.5223 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.07922/0.7839, allocations: 26.1 MB / 0.5478 GB, free: 5.133 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.7998, allocations: 7.343 MB / 0.555 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.8047, allocations: 1.725 MB / 0.5566 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005748/0.8105, allocations: 2.391 MB / 0.559 GB, free: 9.586 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.8124, allocations: 244 kB / 0.5592 GB, free: 9.348 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.817, allocations: 1.159 MB / 0.5603 GB, free: 8.188 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005391/0.8225, allocations: 2.763 MB / 0.563 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.826, allocations: 1.38 MB / 0.5644 GB, free: 4.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.8426, allocations: 9.399 MB / 0.5736 GB, free: 10.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8427, allocations: 0 / 0.5736 GB, free: 10.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8427, allocations: 0 / 0.5736 GB, free: 10.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004465/0.8432, allocations: 0 / 0.5736 GB, free: 10.61 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.02869/0.8719, allocations: 7.21 MB / 0.5806 GB, free: 3.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.872, allocations: 8.031 kB / 0.5806 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004352/0.8763, allocations: 1.12 MB / 0.5817 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1273/1.004, allocations: 11.18 MB / 0.5926 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/1.023, allocations: 5.609 MB / 0.5981 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005617/1.024, allocations: 394 kB / 0.5985 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/1.026, allocations: 0.5152 MB / 0.599 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6532/1.68, allocations: 15.77 MB / 0.6144 GB, free: 151.4 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005195/1.68, allocations: 78.97 kB / 0.6145 GB, free: 151.3 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002352/1.683, allocations: 246.4 kB / 0.6147 GB, free: 151.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007922/1.691, allocations: 2.758 MB / 0.6174 GB, free: 150.7 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04156/1.732, allocations: 12.92 MB / 0.63 GB, free: 145.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1005/1.833, allocations: 59.85 MB / 0.6884 GB, free: 84.9 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.856, allocations: 5.921 MB / 0.6942 GB, free: 78.83 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.856, allocations: 44.17 kB / 0.6943 GB, free: 78.8 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/1.857, allocations: 68.06 kB / 0.6943 GB, free: 78.73 MB / 474.8 MB Notification: Performance of pre-optimization done (n=242): time 6.903e-06/1.857, allocations: 0 / 0.6943 GB, free: 78.73 MB / 474.8 MB Notification: Performance of matching and sorting (n=260): time 0.103/1.96, allocations: 23.44 MB / 0.7172 GB, free: 55.04 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.96, allocations: 265.1 kB / 0.7175 GB, free: 54.73 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/1.976, allocations: 7.311 MB / 0.7246 GB, free: 47.43 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007622/1.977, allocations: 61.7 kB / 0.7247 GB, free: 47.36 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004698/1.982, allocations: 4.857 MB / 0.7294 GB, free: 42.51 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.984, allocations: 0.995 MB / 0.7304 GB, free: 41.53 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/1.986, allocations: 172 kB / 0.7306 GB, free: 41.36 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008034/1.986, allocations: 0.6574 MB / 0.7312 GB, free: 40.7 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/1.995, allocations: 2.956 MB / 0.7341 GB, free: 37.73 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/2.006, allocations: 8.048 MB / 0.7419 GB, free: 27.13 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/2.018, allocations: 4.766 MB / 0.7466 GB, free: 22.37 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/2.018, allocations: 52 kB / 0.7466 GB, free: 22.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=1090) (initialization): time 0.03109/2.049, allocations: 11.51 MB / 0.7579 GB, free: 10.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000163/2.049, allocations: 80 kB / 0.758 GB, free: 10.72 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/2.049, allocations: 180 kB / 0.7581 GB, free: 10.54 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/2.054, allocations: 1.028 MB / 0.7591 GB, free: 9.508 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/2.066, allocations: 2.016 MB / 0.7611 GB, free: 7.488 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/2.084, allocations: 9.583 MB / 0.7705 GB, free: 13.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.094, allocations: 475.1 kB / 0.7709 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/2.096, allocations: 0.4961 MB / 0.7714 GB, free: 12.57 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1027): * Single equations (assignments): 1021 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009929/2.106, allocations: 3.2 MB / 0.7745 GB, free: 9.352 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/2.108, allocations: 0.5784 MB / 0.7751 GB, free: 8.766 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/2.125, allocations: 4.689 MB / 0.7797 GB, free: 4.047 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.588e-05/2.125, allocations: 28 kB / 0.7797 GB, free: 4.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/2.125, allocations: 7.953 kB / 0.7797 GB, free: 4.012 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-05/2.125, allocations: 15.95 kB / 0.7797 GB, free: 3.996 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3952/2.52, allocations: 11.84 MB / 0.7913 GB, free: 148.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-05/2.52, allocations: 1.375 kB / 0.7913 GB, free: 148.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005486/2.526, allocations: 0.5026 MB / 0.7918 GB, free: 148.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/2.53, allocations: 0.7246 MB / 0.7925 GB, free: 148.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007398/2.531, allocations: 47.11 kB / 0.7925 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/2.548, allocations: 8.657 MB / 0.801 GB, free: 142.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/2.548, allocations: 10.97 kB / 0.801 GB, free: 142.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02405/2.572, allocations: 8.202 MB / 0.809 GB, free: 139 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004337/2.576, allocations: 1.042 MB / 0.81 GB, free: 138.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002274/2.578, allocations: 49.28 kB / 0.8101 GB, free: 138.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005428/2.584, allocations: 153.5 kB / 0.8102 GB, free: 138.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.585, allocations: 148.5 kB / 0.8104 GB, free: 138.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004508/2.586, allocations: 73.12 kB / 0.8104 GB, free: 138.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01258/2.598, allocations: 4.721 MB / 0.815 GB, free: 137 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.62e-07/2.598, allocations: 0 / 0.815 GB, free: 137 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01122/2.609, allocations: 1.565 MB / 0.8166 GB, free: 136.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (215): * Single equations (assignments): 209 * 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%) 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.02217/2.632, allocations: 9.065 MB / 0.8254 GB, free: 132.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01851/2.65, allocations: 7.435 MB / 0.8327 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.65, allocations: 0 / 0.8327 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006264/2.657, allocations: 2.529 MB / 0.8351 GB, free: 128 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006985/2.664, allocations: 0.7597 MB / 0.8359 GB, free: 127.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5377/3.201, allocations: 186.5 MB / 1.018 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/3.212, allocations: 5.034 MB / 1.023 GB, free: 130 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01266/3.225, allocations: 2.76 MB / 1.026 GB, free: 130 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007534/3.232, allocations: 3.235 MB / 1.029 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.844e-06/3.232, allocations: 0 / 1.029 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/3.49, allocations: 125.6 MB / 1.152 GB, free: 4.785 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/3.49, allocations: 198.8 kB / 1.152 GB, free: 4.543 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/11.38, allocations: 3.609 kB / 1.152 GB, free: 4.543 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat