Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01112/0.01113, allocations: 106.9 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.001256/0.001256, allocations: 181.6 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.881/1.881, allocations: 194.5 MB / 211.3 MB, free: 10.93 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.2597/0.2597, allocations: 40.05 MB / 296.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 12 kB / 361.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 54.88 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.5189/0.6327, allocations: 156.2 MB / 0.5588 GB, free: 6.402 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.09659/0.7293, allocations: 33.34 MB / 0.5914 GB, free: 7.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03745/0.7668, allocations: 0.76 MB / 0.5921 GB, free: 7.148 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02904/0.7959, allocations: 8.104 MB / 0.6 GB, free: 15 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09005/0.886, allocations: 21.94 MB / 0.6215 GB, free: 9.016 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.8996, allocations: 1.677 MB / 0.6231 GB, free: 7.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.5089/1.409, allocations: 36.27 MB / 0.6585 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03485/1.443, allocations: 15.58 MB / 0.6737 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007964/1.452, allocations: 3.058 MB / 0.6767 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009586/1.461, allocations: 4.161 MB / 0.6808 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00441/1.466, allocations: 448.5 kB / 0.6812 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/1.473, allocations: 1.206 MB / 0.6824 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009161/1.482, allocations: 4.987 MB / 0.6873 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006005/1.488, allocations: 2.495 MB / 0.6897 GB, free: 9.957 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02601/1.514, allocations: 16.8 MB / 0.7061 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.514, allocations: 4 kB / 0.7061 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.296e-06/1.514, allocations: 0 / 0.7061 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007835/1.515, allocations: 0 / 0.7061 GB, free: 11.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05267/1.567, allocations: 13.33 MB / 0.7191 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.567, allocations: 8.031 kB / 0.7191 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007813/1.575, allocations: 2.057 MB / 0.7211 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1655/1.741, allocations: 14.92 MB / 0.7357 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03045/1.771, allocations: 9.172 MB / 0.7447 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009877/1.772, allocations: 0.734 MB / 0.7454 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004921/1.777, allocations: 0.9931 MB / 0.7464 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.101/1.878, allocations: 29.99 MB / 0.7756 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00104/1.88, allocations: 114.4 kB / 0.7758 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005772/1.885, allocations: 467.9 kB / 0.7762 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01268/1.898, allocations: 4.994 MB / 0.7811 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08622/1.984, allocations: 25.11 MB / 0.8056 GB, free: 11.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8707/2.855, allocations: 111.5 MB / 0.9145 GB, free: 177.1 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07252/2.928, allocations: 15.1 MB / 0.9293 GB, free: 173.1 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0516/2.979, allocations: 20.29 MB / 0.9491 GB, free: 163.4 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.029e-05/2.98, allocations: 95.47 kB / 0.9492 GB, free: 163.3 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=566): time 1.003e-05/2.98, allocations: 0 / 0.9492 GB, free: 163.3 MB / 0.5887 GB Notification: Performance of matching and sorting (n=650): time 0.3614/3.341, allocations: 73.5 MB / 1.021 GB, free: 97.31 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/3.341, allocations: 377.6 kB / 1.021 GB, free: 96.87 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02822/3.369, allocations: 12.5 MB / 1.034 GB, free: 84.39 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001998/3.371, allocations: 125.7 kB / 1.034 GB, free: 84.26 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.007797/3.379, allocations: 8.358 MB / 1.042 GB, free: 75.91 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004336/3.384, allocations: 2.388 MB / 1.044 GB, free: 73.54 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004096/3.388, allocations: 307.1 kB / 1.044 GB, free: 73.25 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001205/3.389, allocations: 0.959 MB / 1.045 GB, free: 72.28 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01797/3.407, allocations: 6.952 MB / 1.052 GB, free: 65.33 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0233/3.43, allocations: 15.17 MB / 1.067 GB, free: 46.38 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02295/3.453, allocations: 10.06 MB / 1.077 GB, free: 36.34 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000267/3.454, allocations: 80 kB / 1.077 GB, free: 36.27 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.06857/3.522, allocations: 25.12 MB / 1.101 GB, free: 11.12 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/3.523, allocations: 128 kB / 1.102 GB, free: 10.99 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003832/3.523, allocations: 292.1 kB / 1.102 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/3.538, allocations: 3.497 MB / 1.105 GB, free: 7.195 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02383/3.561, allocations: 3.685 MB / 1.109 GB, free: 3.504 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3972/3.959, allocations: 24.44 MB / 1.133 GB, free: 207.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/3.977, allocations: 0.9129 MB / 1.134 GB, free: 206.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003729/3.981, allocations: 0.8743 MB / 1.134 GB, free: 206.8 MB / 0.5887 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.01631/3.998, allocations: 5.657 MB / 1.14 GB, free: 204.7 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/4.001, allocations: 1.059 MB / 1.141 GB, free: 204.7 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05013/4.051, allocations: 15.22 MB / 1.156 GB, free: 199.3 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001331/4.051, allocations: 65.88 kB / 1.156 GB, free: 199.3 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001224/4.052, allocations: 18.66 kB / 1.156 GB, free: 199.3 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001778/4.052, allocations: 32.31 kB / 1.156 GB, free: 199.3 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.117/4.169, allocations: 33.25 MB / 1.188 GB, free: 187.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001429/4.169, allocations: 7.719 kB / 1.188 GB, free: 187.6 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01524/4.184, allocations: 1.213 MB / 1.19 GB, free: 187.6 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/4.198, allocations: 3.046 MB / 1.193 GB, free: 186.9 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001952/4.2, allocations: 126 kB / 1.193 GB, free: 186.9 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04616/4.246, allocations: 22.97 MB / 1.215 GB, free: 168.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/4.246, allocations: 20.05 kB / 1.215 GB, free: 168.3 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05909/4.305, allocations: 27.02 MB / 1.242 GB, free: 141.1 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008713/4.314, allocations: 2.248 MB / 1.244 GB, free: 138.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00403/4.318, allocations: 123.7 kB / 1.244 GB, free: 138.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01128/4.33, allocations: 449 kB / 1.244 GB, free: 138.3 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002827/4.332, allocations: 412.6 kB / 1.245 GB, free: 137.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/4.334, allocations: 168 kB / 1.245 GB, free: 137.7 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01931/4.353, allocations: 8.162 MB / 1.253 GB, free: 129.6 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8.02e-07/4.353, allocations: 0 / 1.253 GB, free: 129.6 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01926/4.372, allocations: 3.136 MB / 1.256 GB, free: 126.4 MB / 0.5887 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.06472/4.437, allocations: 28.19 MB / 1.283 GB, free: 97.73 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.04957/4.487, allocations: 17.12 MB / 1.3 GB, free: 80.69 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/4.487, allocations: 0 / 1.3 GB, free: 80.69 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.02696/4.514, allocations: 7.403 MB / 1.307 GB, free: 73.27 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01479/4.529, allocations: 1.333 MB / 1.309 GB, free: 71.99 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5156/5.044, allocations: 275.2 MB / 1.577 GB, free: 34.2 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02124/5.066, allocations: 8.78 MB / 1.586 GB, free: 33.09 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.02724/5.093, allocations: 5.142 MB / 1.591 GB, free: 32.69 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01731/5.11, allocations: 6.273 MB / 1.597 GB, free: 30.76 MB / 0.6199 GB Notification: Performance of SimCode: time 1.723e-06/5.11, allocations: 0 / 1.597 GB, free: 30.76 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9321/6.042, allocations: 236.8 MB / 1.828 GB, free: 122.9 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/6.043, allocations: 192.8 kB / 1.829 GB, free: 122.6 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/19.2, allocations: 4 kB / 1.829 GB, free: 122.6 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat