Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009918/0.009918, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.841/1.841, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002022/0.002022, allocations: 111.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4495/0.4495, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008405/0.0008407, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.123, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5793, allocations: 98.65 MB / 0.4984 GB, free: 5.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5797, allocations: 77.95 kB / 0.4985 GB, free: 5.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234/1.814, allocations: 236.5 MB / 0.7294 GB, free: 16.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.814, allocations: 4 kB / 0.7294 GB, free: 16.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008603/1.815, allocations: 252 kB / 0.7296 GB, free: 16.48 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05998/1.875, allocations: 13.24 MB / 0.7426 GB, free: 3.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.875, allocations: 8.031 kB / 0.7426 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01133/1.886, allocations: 2.171 MB / 0.7447 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4688/2.355, allocations: 12.78 MB / 0.7572 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04877/2.404, allocations: 13.27 MB / 0.7701 GB, free: 30.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001435/2.406, allocations: 0.9434 MB / 0.7711 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008126/2.414, allocations: 1.249 MB / 0.7723 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1119/2.526, allocations: 30.25 MB / 0.8018 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001226/2.527, allocations: 144.3 kB / 0.802 GB, free: 24.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007181/2.534, allocations: 0.583 MB / 0.8025 GB, free: 24.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00702/2.541, allocations: 2.848 MB / 0.8053 GB, free: 24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08724/2.629, allocations: 24.87 MB / 0.8296 GB, free: 20.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7441/3.373, allocations: 127.2 MB / 0.9538 GB, free: 21.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07541/3.448, allocations: 15.06 MB / 0.9685 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05695/3.505, allocations: 20.21 MB / 0.9882 GB, free: 18.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/3.505, allocations: 97.19 kB / 0.9883 GB, free: 18.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 9.878e-06/3.505, allocations: 0 / 0.9883 GB, free: 18.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.3119/3.817, allocations: 69.64 MB / 1.056 GB, free: 2.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/3.818, allocations: 382 kB / 1.057 GB, free: 1.973 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05953/3.877, allocations: 12.27 MB / 1.069 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001989/3.879, allocations: 129.7 kB / 1.069 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01083/3.89, allocations: 8.411 MB / 1.077 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004987/3.895, allocations: 2.379 MB / 1.079 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003376/3.899, allocations: 308 kB / 1.08 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00171/3.9, allocations: 0.9557 MB / 1.081 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04325/3.944, allocations: 8.171 MB / 1.089 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03017/3.974, allocations: 15.03 MB / 1.103 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0274/4.001, allocations: 9.873 MB / 1.113 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003567/4.002, allocations: 80 kB / 1.113 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.08285/4.085, allocations: 24.66 MB / 1.137 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/4.085, allocations: 128 kB / 1.137 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000612/4.085, allocations: 288 kB / 1.137 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/4.101, allocations: 3.287 MB / 1.141 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02684/4.128, allocations: 3.739 MB / 1.144 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4656/4.594, allocations: 23.13 MB / 1.167 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01989/4.614, allocations: 0.9277 MB / 1.168 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004306/4.618, allocations: 0.8748 MB / 1.169 GB, free: 138.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * 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 (1877): * Single equations (assignments): 1870 * 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 {(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.01768/4.636, allocations: 5.667 MB / 1.174 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003246/4.639, allocations: 1.068 MB / 1.175 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05027/4.689, allocations: 14.79 MB / 1.19 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001473/4.69, allocations: 66.66 kB / 1.19 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001265/4.69, allocations: 16.59 kB / 1.19 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001801/4.69, allocations: 31.61 kB / 1.19 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1059/4.796, allocations: 32.55 MB / 1.222 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001144/4.796, allocations: 13.97 kB / 1.222 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01305/4.809, allocations: 1.304 MB / 1.223 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/4.823, allocations: 2.825 MB / 1.226 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002231/4.825, allocations: 130.8 kB / 1.226 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.066/4.891, allocations: 21.66 MB / 1.247 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/4.891, allocations: 16.06 kB / 1.247 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06265/4.954, allocations: 26.38 MB / 1.273 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009226/4.963, allocations: 2.197 MB / 1.275 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005853/4.969, allocations: 113.9 kB / 1.275 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02042/4.989, allocations: 454.1 kB / 1.275 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004298/4.994, allocations: 411.5 kB / 1.276 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003114/4.997, allocations: 169.5 kB / 1.276 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.03407/5.031, allocations: 7.712 MB / 1.283 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.31e-07/5.031, allocations: 0 / 1.283 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02272/5.054, allocations: 3.079 MB / 1.286 GB, free: 102.5 MB / 0.5573 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.07355/5.127, allocations: 27.52 MB / 1.313 GB, free: 77.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05546/5.183, allocations: 16.76 MB / 1.33 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.508e-05/5.183, allocations: 7.062 kB / 1.33 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02012/5.203, allocations: 7.2 MB / 1.337 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/5.215, allocations: 1.325 MB / 1.338 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.275/6.49, allocations: 343.6 MB / 1.674 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02833/6.518, allocations: 8.779 MB / 1.682 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.02789/6.546, allocations: 5.134 MB / 1.687 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.021/6.567, allocations: 6.312 MB / 1.693 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/6.567, allocations: 0 / 1.693 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/7.601, allocations: 238.4 MB / 1.926 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/7.602, allocations: 189.3 kB / 1.926 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/21.4, allocations: 4.062 kB / 1.926 GB, free: 123.1 MB / 0.6198 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