Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.01103/0.01104, 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.001222/0.001222, allocations: 181.4 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 1.958/1.958, allocations: 194.6 MB / 211.3 MB, free: 11.24 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.2663/0.2663, allocations: 40.04 MB / 296.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 8 kB / 361.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 54.89 MB / 416 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4734/0.5984, allocations: 112.6 MB / 0.5162 GB, free: 9.691 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07742/0.6759, allocations: 24.67 MB / 0.5403 GB, free: 8.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02828/0.7042, allocations: 0.5405 MB / 0.5408 GB, free: 8.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02446/0.7287, allocations: 5.814 MB / 0.5465 GB, free: 5.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0689/0.7977, allocations: 15.9 MB / 0.562 GB, free: 6.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.8086, allocations: 1.203 MB / 0.5632 GB, free: 4.891 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.08104/0.8897, allocations: 27.03 MB / 0.5896 GB, free: 9.84 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/0.9111, allocations: 10.11 MB / 0.5995 GB, free: 15.74 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/0.9167, allocations: 2.16 MB / 0.6016 GB, free: 13.57 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006725/0.9235, allocations: 3.041 MB / 0.6046 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.9256, allocations: 332 kB / 0.6049 GB, free: 10.2 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/0.9305, allocations: 1.21 MB / 0.6061 GB, free: 8.988 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006187/0.9368, allocations: 3.55 MB / 0.6095 GB, free: 5.43 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.9403, allocations: 1.828 MB / 0.6113 GB, free: 3.59 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0201/0.9605, allocations: 12.38 MB / 0.6234 GB, free: 7.176 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9606, allocations: 4 kB / 0.6234 GB, free: 7.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.9606, allocations: 0 / 0.6234 GB, free: 7.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005854/0.9612, allocations: 0 / 0.6234 GB, free: 7.172 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.6439/1.605, allocations: 9.482 MB / 0.6327 GB, free: 155.5 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.605, allocations: 12.55 kB / 0.6327 GB, free: 155.5 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005103/1.61, allocations: 1.533 MB / 0.6342 GB, free: 155.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1276/1.738, allocations: 11.55 MB / 0.6455 GB, free: 154.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/1.758, allocations: 6.519 MB / 0.6518 GB, free: 151.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006461/1.759, allocations: 0.5307 MB / 0.6523 GB, free: 151.4 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/1.762, allocations: 0.7 MB / 0.653 GB, free: 151.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06688/1.829, allocations: 22.25 MB / 0.6748 GB, free: 141.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004591/1.829, allocations: 90.48 kB / 0.6748 GB, free: 141.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/1.832, allocations: 341.2 kB / 0.6752 GB, free: 141.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008625/1.84, allocations: 3.865 MB / 0.6789 GB, free: 138.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05813/1.899, allocations: 18.81 MB / 0.6973 GB, free: 119.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1395/2.038, allocations: 80.59 MB / 0.776 GB, free: 38.07 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03771/2.076, allocations: 9.225 MB / 0.785 GB, free: 28.69 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/2.077, allocations: 87.5 kB / 0.7851 GB, free: 28.63 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/2.077, allocations: 81.5 kB / 0.7852 GB, free: 28.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=412): time 8.486e-06/2.077, allocations: 4 kB / 0.7852 GB, free: 28.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=475): time 0.5466/2.623, allocations: 47.62 MB / 0.8317 GB, free: 130.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/2.624, allocations: 285.6 kB / 0.832 GB, free: 130.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/2.644, allocations: 8.684 MB / 0.8405 GB, free: 127.4 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001431/2.645, allocations: 97.45 kB / 0.8405 GB, free: 127.4 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006053/2.651, allocations: 6.093 MB / 0.8465 GB, free: 122.7 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003085/2.655, allocations: 1.744 MB / 0.8482 GB, free: 121.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/2.657, allocations: 231.9 kB / 0.8484 GB, free: 121.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009726/2.658, allocations: 0.777 MB / 0.8492 GB, free: 120.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01444/2.672, allocations: 5.155 MB / 0.8542 GB, free: 118.9 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01966/2.692, allocations: 11.17 MB / 0.8651 GB, free: 109.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/2.71, allocations: 7.448 MB / 0.8724 GB, free: 106.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003448/2.711, allocations: 58.81 kB / 0.8724 GB, free: 106.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.06217/2.773, allocations: 18.52 MB / 0.8905 GB, free: 99.45 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002594/2.773, allocations: 97.91 kB / 0.8906 GB, free: 99.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004534/2.774, allocations: 207.8 kB / 0.8908 GB, free: 99.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/2.79, allocations: 2.627 MB / 0.8934 GB, free: 98.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02483/2.815, allocations: 2.706 MB / 0.896 GB, free: 96.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03525/2.85, allocations: 18.55 MB / 0.9141 GB, free: 79.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/2.864, allocations: 0.6707 MB / 0.9148 GB, free: 78.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002531/2.867, allocations: 0.6366 MB / 0.9154 GB, free: 78.35 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],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],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 (1356): * Single equations (assignments): 1350 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01161/2.879, allocations: 4.193 MB / 0.9195 GB, free: 74.15 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002412/2.881, allocations: 0.7443 MB / 0.9202 GB, free: 73.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03267/2.914, allocations: 11.11 MB / 0.9311 GB, free: 62.21 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.632e-05/2.914, allocations: 55.05 kB / 0.9311 GB, free: 62.16 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-05/2.914, allocations: 16 kB / 0.9312 GB, free: 62.15 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001064/2.914, allocations: 19.92 kB / 0.9312 GB, free: 62.13 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06463/2.979, allocations: 23.54 MB / 0.9542 GB, free: 38.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.379e-05/2.979, allocations: 8.094 kB / 0.9542 GB, free: 38.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009541/2.988, allocations: 0.9165 MB / 0.9551 GB, free: 37.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/2.999, allocations: 2.288 MB / 0.9573 GB, free: 35.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/3, allocations: 93.36 kB / 0.9574 GB, free: 35.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03482/3.035, allocations: 17.46 MB / 0.9744 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/3.035, allocations: 8 kB / 0.9744 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4042/3.439, allocations: 18.31 MB / 0.9923 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006662/3.446, allocations: 1.654 MB / 0.9939 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/3.449, allocations: 85.09 kB / 0.994 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00878/3.458, allocations: 352.1 kB / 0.9944 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002178/3.46, allocations: 289.1 kB / 0.9946 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007375/3.461, allocations: 125.5 kB / 0.9948 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01407/3.475, allocations: 5.601 MB / 1 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.21e-07/3.475, allocations: 0 / 1 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01561/3.491, allocations: 2.319 MB / 1.002 GB, free: 134.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05177/3.543, allocations: 19.62 MB / 1.022 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03248/3.575, allocations: 12.76 MB / 1.034 GB, free: 123 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/3.575, allocations: 3.156 kB / 1.034 GB, free: 123 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01611/3.591, allocations: 5.595 MB / 1.04 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008365/3.6, allocations: 0.9474 MB / 1.041 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6643/4.264, allocations: 238.3 MB / 1.273 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/4.279, allocations: 6.591 MB / 1.28 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01626/4.295, allocations: 3.777 MB / 1.283 GB, free: 100.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01005/4.305, allocations: 4.441 MB / 1.288 GB, free: 97.12 MB / 0.5262 GB Notification: Performance of SimCode: time 1.963e-06/4.305, allocations: 0.5469 kB / 1.288 GB, free: 97.12 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.778/5.083, allocations: 179.3 MB / 1.463 GB, free: 114.8 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/5.083, allocations: 210.6 kB / 1.463 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/15.5, allocations: 0 / 1.463 GB, free: 114.5 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat