Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",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.01056/0.01056, allocations: 106.8 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.1.mo): time 0.001179/0.001179, allocations: 169.3 kB / 15.93 MB, free: 5.527 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.649/1.649, allocations: 170.9 MB / 187.6 MB, free: 1 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.253/0.253, allocations: 38.09 MB / 265.1 MB, free: 3.984 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000621/0.0006212, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.09019, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.5117/0.6019, allocations: 156.2 MB / 0.5161 GB, free: 7.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09853/0.7005, allocations: 33.29 MB / 0.5486 GB, free: 6.254 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03506/0.7356, allocations: 0.76 MB / 0.5493 GB, free: 5.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02896/0.7646, allocations: 8.1 MB / 0.5572 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0827/0.8474, allocations: 21.93 MB / 0.5787 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.8602, allocations: 1.685 MB / 0.5803 GB, free: 5.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.4809/1.341, allocations: 36.26 MB / 0.6157 GB, free: 25.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02967/1.371, allocations: 15.56 MB / 0.6309 GB, free: 23.75 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007872/1.379, allocations: 3.054 MB / 0.6339 GB, free: 23.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009067/1.388, allocations: 4.15 MB / 0.6379 GB, free: 23.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003328/1.391, allocations: 448.6 kB / 0.6384 GB, free: 23.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/1.397, allocations: 1.205 MB / 0.6396 GB, free: 23.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008383/1.405, allocations: 4.984 MB / 0.6444 GB, free: 23.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005763/1.411, allocations: 2.485 MB / 0.6468 GB, free: 23.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02514/1.436, allocations: 16.79 MB / 0.6632 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.437, allocations: 0 / 0.6632 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.437, allocations: 0 / 0.6632 GB, free: 15.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001052/1.438, allocations: 0 / 0.6632 GB, free: 15.75 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05312/1.491, allocations: 13.32 MB / 0.6763 GB, free: 3.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.491, allocations: 8.031 kB / 0.6763 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008285/1.499, allocations: 2.048 MB / 0.6783 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1765/1.676, allocations: 14.92 MB / 0.6928 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04237/1.718, allocations: 9.171 MB / 0.7018 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001522/1.72, allocations: 0.7333 MB / 0.7025 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006857/1.727, allocations: 0.9844 MB / 0.7035 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1025/1.829, allocations: 29.96 MB / 0.7327 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006467/1.83, allocations: 113.1 kB / 0.7328 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003898/1.834, allocations: 457.8 kB / 0.7333 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01309/1.847, allocations: 5.005 MB / 0.7382 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09021/1.937, allocations: 25.09 MB / 0.7627 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.818/2.755, allocations: 111.4 MB / 0.8715 GB, free: 172.1 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07138/2.827, allocations: 15.1 MB / 0.8862 GB, free: 168.9 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05297/2.88, allocations: 20.28 MB / 0.906 GB, free: 157.6 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.882e-05/2.88, allocations: 106.2 kB / 0.9061 GB, free: 157.5 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=566): time 1.028e-05/2.88, allocations: 0 / 0.9061 GB, free: 157.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=650): time 0.3333/3.213, allocations: 73.49 MB / 0.9779 GB, free: 86.07 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/3.213, allocations: 385.3 kB / 0.9782 GB, free: 85.63 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03683/3.25, allocations: 12.51 MB / 0.9905 GB, free: 73.15 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002157/3.253, allocations: 125.7 kB / 0.9906 GB, free: 73.02 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.008518/3.261, allocations: 8.348 MB / 0.9987 GB, free: 64.68 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.004413/3.266, allocations: 2.388 MB / 1.001 GB, free: 62.31 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003237/3.269, allocations: 307.6 kB / 1.001 GB, free: 62.02 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001394/3.27, allocations: 0.9668 MB / 1.002 GB, free: 61.04 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0193/3.29, allocations: 6.944 MB / 1.009 GB, free: 54.09 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02579/3.315, allocations: 15.17 MB / 1.024 GB, free: 35.19 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0247/3.34, allocations: 10.06 MB / 1.034 GB, free: 25.13 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000291/3.341, allocations: 80 kB / 1.034 GB, free: 25.05 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.4631/3.804, allocations: 25.11 MB / 1.058 GB, free: 203.8 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004129/3.804, allocations: 128 kB / 1.058 GB, free: 203.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008056/3.805, allocations: 286.2 kB / 1.059 GB, free: 203.8 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/3.829, allocations: 3.494 MB / 1.062 GB, free: 203.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03532/3.865, allocations: 3.69 MB / 1.066 GB, free: 203.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06305/3.928, allocations: 24.45 MB / 1.09 GB, free: 196.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02516/3.953, allocations: 0.9127 MB / 1.091 GB, free: 195.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005152/3.958, allocations: 0.8725 MB / 1.091 GB, free: 195.7 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1867): * Single equations (assignments): 1856 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02319/3.981, allocations: 5.657 MB / 1.097 GB, free: 193.6 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005902/3.987, allocations: 1.063 MB / 1.098 GB, free: 193.6 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05741/4.045, allocations: 15.22 MB / 1.113 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/4.045, allocations: 66.62 kB / 1.113 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/4.045, allocations: 19.08 kB / 1.113 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002214/4.045, allocations: 32.91 kB / 1.113 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1014/4.147, allocations: 33.22 MB / 1.145 GB, free: 166.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001122/4.147, allocations: 18.16 kB / 1.145 GB, free: 166.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0125/4.159, allocations: 1.207 MB / 1.147 GB, free: 165.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/4.174, allocations: 3.043 MB / 1.15 GB, free: 162.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002292/4.176, allocations: 128.8 kB / 1.15 GB, free: 162.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04799/4.224, allocations: 22.97 MB / 1.172 GB, free: 139.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/4.225, allocations: 23.36 kB / 1.172 GB, free: 139.2 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06524/4.29, allocations: 27.03 MB / 1.198 GB, free: 112 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009422/4.299, allocations: 2.252 MB / 1.201 GB, free: 109.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00549/4.305, allocations: 116 kB / 1.201 GB, free: 109.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/4.317, allocations: 451.4 kB / 1.201 GB, free: 109.2 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002957/4.32, allocations: 413.5 kB / 1.202 GB, free: 108.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007954/4.321, allocations: 168 kB / 1.202 GB, free: 108.6 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01958/4.34, allocations: 8.171 MB / 1.21 GB, free: 100.5 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.983e-06/4.34, allocations: 3.719 kB / 1.21 GB, free: 100.5 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02173/4.362, allocations: 3.14 MB / 1.213 GB, free: 97.36 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.08721/4.449, allocations: 28.18 MB / 1.24 GB, free: 68.78 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.04401/4.493, allocations: 17.12 MB / 1.257 GB, free: 52.15 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/4.494, allocations: 6.469 kB / 1.257 GB, free: 52.15 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0221/4.516, allocations: 7.399 MB / 1.264 GB, free: 44.72 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/4.528, allocations: 1.34 MB / 1.266 GB, free: 43.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8601/5.388, allocations: 275.2 MB / 1.534 GB, free: 166.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02641/5.415, allocations: 8.775 MB / 1.543 GB, free: 165.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02558/5.44, allocations: 5.142 MB / 1.548 GB, free: 165.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01791/5.458, allocations: 6.27 MB / 1.554 GB, free: 163.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.974e-06/5.458, allocations: 0 / 1.554 GB, free: 163.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8412/6.3, allocations: 236.8 MB / 1.785 GB, free: 135.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/6.3, allocations: 206.3 kB / 1.785 GB, free: 135.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/20.19, allocations: 0 / 1.785 GB, free: 135.1 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat