Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.01198/0.01198, allocations: 107.6 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.001451/0.001451, allocations: 183.8 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.063/2.063, allocations: 194.6 MB / 211.3 MB, free: 10.91 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.2792/0.2792, allocations: 40.04 MB / 296.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 8 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 54.87 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4173/0.5382, allocations: 76.6 MB / 492.6 MB, free: 19.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04498/0.5833, allocations: 17.33 MB / 0.498 GB, free: 7.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01743/0.6008, allocations: 374.9 kB / 0.4984 GB, free: 7.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.6146, allocations: 3.94 MB / 0.5022 GB, free: 6.156 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04193/0.6565, allocations: 10.9 MB / 0.5128 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006321/0.6629, allocations: 0.9105 MB / 0.5137 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05551/0.7185, allocations: 18.29 MB / 0.5316 GB, free: 5.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.7344, allocations: 7.031 MB / 0.5385 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.739, allocations: 1.569 MB / 0.54 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.7443, allocations: 2.192 MB / 0.5421 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.7461, allocations: 243.9 kB / 0.5424 GB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.7508, allocations: 1.139 MB / 0.5435 GB, free: 9.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004936/0.7558, allocations: 2.552 MB / 0.546 GB, free: 6.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.7588, allocations: 1.329 MB / 0.5473 GB, free: 5.242 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.7744, allocations: 9.04 MB / 0.5561 GB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7745, allocations: 3.938 kB / 0.5561 GB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7745, allocations: 0 / 0.5561 GB, free: 12.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003937/0.7749, allocations: 0 / 0.5561 GB, free: 12.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02698/0.8019, allocations: 6.869 MB / 0.5628 GB, free: 5.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.802, allocations: 8.031 kB / 0.5628 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004087/0.8061, allocations: 1.133 MB / 0.5639 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09077/0.8969, allocations: 8.288 MB / 0.572 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.9123, allocations: 4.606 MB / 0.5765 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.9129, allocations: 381.8 kB / 0.5769 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/0.9155, allocations: 0.5036 MB / 0.5774 GB, free: 6.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05161/0.9671, allocations: 16.51 MB / 0.5935 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/0.9676, allocations: 59.47 kB / 0.5936 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002299/0.9699, allocations: 245.5 kB / 0.5938 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008047/0.978, allocations: 2.932 MB / 0.5967 GB, free: 1.527 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06568/1.044, allocations: 14.02 MB / 0.6103 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4346/1.478, allocations: 60.32 MB / 0.6692 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03453/1.513, allocations: 8.094 MB / 0.6772 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/1.513, allocations: 63.69 kB / 0.6772 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.513, allocations: 71.31 kB / 0.6773 GB, free: 109.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 6.733e-06/1.513, allocations: 0 / 0.6773 GB, free: 109.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.1644/1.678, allocations: 34.99 MB / 0.7115 GB, free: 97.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.678, allocations: 215.6 kB / 0.7117 GB, free: 97.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/1.692, allocations: 6.57 MB / 0.7181 GB, free: 94.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.693, allocations: 78.17 kB / 0.7181 GB, free: 94.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003866/1.697, allocations: 4.574 MB / 0.7226 GB, free: 90.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/1.699, allocations: 1.237 MB / 0.7238 GB, free: 89.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/1.7, allocations: 171.7 kB / 0.724 GB, free: 89.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005424/1.701, allocations: 0.6703 MB / 0.7246 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009946/1.71, allocations: 3.853 MB / 0.7284 GB, free: 85.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/1.724, allocations: 8.634 MB / 0.7368 GB, free: 74.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.737, allocations: 5.64 MB / 0.7423 GB, free: 69.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/1.737, allocations: 48 kB / 0.7424 GB, free: 69.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.03849/1.776, allocations: 13.89 MB / 0.756 GB, free: 55.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.776, allocations: 79.94 kB / 0.756 GB, free: 55.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.776, allocations: 168 kB / 0.7562 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007843/1.784, allocations: 1.793 MB / 0.7579 GB, free: 53.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/1.798, allocations: 2.031 MB / 0.7599 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/1.823, allocations: 12.36 MB / 0.772 GB, free: 38.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/1.833, allocations: 0.5227 MB / 0.7725 GB, free: 38.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/1.835, allocations: 0.496 MB / 0.773 GB, free: 37.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1043): * Single equations (assignments): 1038 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008355/1.844, allocations: 3.152 MB / 0.7761 GB, free: 34.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/1.845, allocations: 0.5515 MB / 0.7766 GB, free: 33.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/1.87, allocations: 7.706 MB / 0.7841 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/1.871, allocations: 32 kB / 0.7842 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-05/1.871, allocations: 13.78 kB / 0.7842 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/1.871, allocations: 15.94 kB / 0.7842 GB, free: 26.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04775/1.918, allocations: 16.7 MB / 0.8005 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-05/1.919, allocations: 4 kB / 0.8005 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006459/1.925, allocations: 0.5971 MB / 0.8011 GB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/1.932, allocations: 1.53 MB / 0.8026 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/1.934, allocations: 67.94 kB / 0.8026 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3627/2.296, allocations: 11.57 MB / 0.8139 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.296, allocations: 11.19 kB / 0.814 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03652/2.333, allocations: 13.11 MB / 0.8268 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005228/2.338, allocations: 1.23 MB / 0.828 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002573/2.341, allocations: 62.3 kB / 0.828 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006809/2.348, allocations: 271 kB / 0.8283 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/2.35, allocations: 203.1 kB / 0.8285 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009644/2.351, allocations: 94.78 kB / 0.8286 GB, free: 132.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01132/2.362, allocations: 4.211 MB / 0.8327 GB, free: 130.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.362, allocations: 6.125 kB / 0.8327 GB, free: 130.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01372/2.376, allocations: 1.705 MB / 0.8343 GB, free: 130.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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 {(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.04084/2.417, allocations: 14.49 MB / 0.8485 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03316/2.45, allocations: 9.43 MB / 0.8577 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/2.45, allocations: 0 / 0.8577 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02868/2.479, allocations: 3.947 MB / 0.8616 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007743/2.486, allocations: 0.6675 MB / 0.8622 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5408/3.027, allocations: 179.8 MB / 1.038 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/3.039, allocations: 4.979 MB / 1.043 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01627/3.056, allocations: 2.928 MB / 1.046 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009131/3.065, allocations: 3.13 MB / 1.049 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.004e-06/3.065, allocations: 0 / 1.049 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/3.336, allocations: 131 MB / 1.177 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/3.337, allocations: 214.3 kB / 1.177 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/11.15, allocations: 0 / 1.177 GB, free: 1.43 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat