Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.01111/0.01111, allocations: 103.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.1.mo): time 0.001216/0.001215, allocations: 170.2 kB / 15.93 MB, free: 5.961 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.628/1.628, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2803/0.2803, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004503, allocations: 11.98 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09284, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3903/0.4832, allocations: 73.4 MB / 445.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04459/0.5279, allocations: 16.73 MB / 462.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01978/0.5477, allocations: 359.9 kB / 462.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.5609, allocations: 3.764 MB / 466.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03995/0.6009, allocations: 10.48 MB / 477 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.6074, allocations: 0.9263 MB / 477.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05299/0.6604, allocations: 18.23 MB / 496.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01459/0.675, allocations: 7.207 MB / 0.4916 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.679, allocations: 1.569 MB / 0.4931 GB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.6839, allocations: 2.134 MB / 0.4952 GB, free: 13.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.6854, allocations: 236 kB / 0.4954 GB, free: 12.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.6895, allocations: 1.139 MB / 0.4965 GB, free: 11.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004208/0.6938, allocations: 2.49 MB / 0.499 GB, free: 9.184 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.6963, allocations: 1.298 MB / 0.5002 GB, free: 7.875 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.7109, allocations: 8.939 MB / 0.509 GB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.711, allocations: 0 / 0.509 GB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.711, allocations: 4 kB / 0.509 GB, free: 14.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003973/0.7114, allocations: 0 / 0.509 GB, free: 14.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02628/0.7377, allocations: 6.776 MB / 0.5156 GB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.7378, allocations: 8.031 kB / 0.5156 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004117/0.7419, allocations: 1.116 MB / 0.5167 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08829/0.8303, allocations: 8.245 MB / 0.5247 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.8461, allocations: 4.567 MB / 0.5292 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/0.8467, allocations: 381.7 kB / 0.5296 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.8493, allocations: 0.4957 MB / 0.53 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04956/0.8989, allocations: 16.53 MB / 0.5462 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/0.8992, allocations: 63.42 kB / 0.5463 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/0.9007, allocations: 235.8 kB / 0.5465 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007595/0.9083, allocations: 2.924 MB / 0.5493 GB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0647/0.9731, allocations: 14.18 MB / 0.5632 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4109/1.384, allocations: 58.76 MB / 0.6206 GB, free: 136.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03105/1.415, allocations: 7.232 MB / 0.6276 GB, free: 135.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03685/1.452, allocations: 15.16 MB / 0.6424 GB, free: 128.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/1.452, allocations: 66.25 kB / 0.6425 GB, free: 128.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=306): time 7.394e-06/1.452, allocations: 0 / 0.6425 GB, free: 128.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=348): time 0.1391/1.591, allocations: 32.31 MB / 0.674 GB, free: 101.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/1.591, allocations: 221.8 kB / 0.6743 GB, free: 101.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.603, allocations: 5.566 MB / 0.6797 GB, free: 95.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.604, allocations: 78.88 kB / 0.6798 GB, free: 95.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003562/1.608, allocations: 4.365 MB / 0.684 GB, free: 91.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002119/1.61, allocations: 1.283 MB / 0.6853 GB, free: 90.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009117/1.611, allocations: 160 kB / 0.6854 GB, free: 89.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004634/1.611, allocations: 0.6452 MB / 0.6861 GB, free: 89.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00921/1.62, allocations: 3.666 MB / 0.6896 GB, free: 85.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01193/1.632, allocations: 8.094 MB / 0.6975 GB, free: 75.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.645, allocations: 5.356 MB / 0.7028 GB, free: 70.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.645, allocations: 44 kB / 0.7028 GB, free: 70.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03666/1.682, allocations: 13.18 MB / 0.7157 GB, free: 57.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.682, allocations: 72 kB / 0.7158 GB, free: 56.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.682, allocations: 156 kB / 0.7159 GB, free: 56.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007391/1.689, allocations: 1.786 MB / 0.7176 GB, free: 55.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/1.702, allocations: 1.918 MB / 0.7195 GB, free: 53.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/1.725, allocations: 12.34 MB / 0.7316 GB, free: 40.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009522/1.735, allocations: 0.4889 MB / 0.7321 GB, free: 40.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.737, allocations: 475.9 kB / 0.7325 GB, free: 39.56 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (991): * Single equations (assignments): 986 * 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.008173/1.745, allocations: 3.069 MB / 0.7355 GB, free: 36.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.747, allocations: 0.5053 MB / 0.736 GB, free: 35.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02335/1.77, allocations: 7.646 MB / 0.7435 GB, free: 28.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/1.77, allocations: 36 kB / 0.7435 GB, free: 28.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-05/1.77, allocations: 11.95 kB / 0.7435 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.601e-05/1.77, allocations: 19.94 kB / 0.7435 GB, free: 28.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/1.818, allocations: 16.41 MB / 0.7596 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/1.818, allocations: 480 / 0.7596 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00636/1.824, allocations: 0.6124 MB / 0.7602 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007099/1.831, allocations: 1.526 MB / 0.7616 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/1.832, allocations: 65.08 kB / 0.7617 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3128/2.145, allocations: 11.5 MB / 0.7729 GB, free: 153.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/2.145, allocations: 1.75 kB / 0.7729 GB, free: 153.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03523/2.181, allocations: 12.3 MB / 0.785 GB, free: 150.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/2.185, allocations: 1.127 MB / 0.7861 GB, free: 150 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/2.187, allocations: 59.97 kB / 0.7861 GB, free: 149.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00574/2.193, allocations: 247.9 kB / 0.7864 GB, free: 149.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/2.194, allocations: 203.2 kB / 0.7865 GB, free: 149.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004722/2.195, allocations: 90.14 kB / 0.7866 GB, free: 149.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007728/2.203, allocations: 3.539 MB / 0.7901 GB, free: 148.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.203, allocations: 0 / 0.7901 GB, free: 148.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009554/2.212, allocations: 1.641 MB / 0.7917 GB, free: 148.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.0334/2.246, allocations: 13.16 MB / 0.8045 GB, free: 143.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0217/2.267, allocations: 9.062 MB / 0.8134 GB, free: 136.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.267, allocations: 0 / 0.8134 GB, free: 136.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01066/2.278, allocations: 3.87 MB / 0.8172 GB, free: 132.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/2.284, allocations: 0.6242 MB / 0.8178 GB, free: 132.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4788/2.762, allocations: 164.8 MB / 0.9787 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009602/2.772, allocations: 4.922 MB / 0.9835 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01225/2.784, allocations: 2.649 MB / 0.9861 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007313/2.792, allocations: 3.068 MB / 0.9891 GB, free: 125.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/2.792, allocations: 2.812 kB / 0.9891 GB, free: 125.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.548/3.34, allocations: 124.8 MB / 1.111 GB, free: 115.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/3.34, allocations: 211.7 kB / 1.111 GB, free: 115.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/10.8, allocations: 0 / 1.111 GB, free: 115.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat