Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009636/0.009636, allocations: 175.4 kB / 15.12 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.969/1.969, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002025/0.002025, allocations: 116.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2488/0.2488, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004966, allocations: 10.03 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.6079, allocations: 98.79 MB / 0.5468 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6083, allocations: 79.42 kB / 0.5469 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6372/1.246, allocations: 158.9 MB / 0.7021 GB, free: 3.551 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.246, allocations: 0 / 0.7021 GB, free: 3.551 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004802/1.246, allocations: 160 kB / 0.7022 GB, free: 3.395 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03432/1.28, allocations: 8.296 MB / 0.7103 GB, free: 11.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/1.281, allocations: 12.03 kB / 0.7104 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00715/1.288, allocations: 1.392 MB / 0.7117 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03297/1.321, allocations: 3.624 MB / 0.7153 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3917/1.712, allocations: 9.593 MB / 0.7246 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009488/1.713, allocations: 0.6031 MB / 0.7252 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004571/1.718, allocations: 0.7921 MB / 0.726 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06196/1.78, allocations: 18.95 MB / 0.7445 GB, free: 71.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006145/1.781, allocations: 88.34 kB / 0.7446 GB, free: 71.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004053/1.785, allocations: 386.1 kB / 0.7449 GB, free: 71.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004611/1.789, allocations: 1.783 MB / 0.7467 GB, free: 71.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04931/1.839, allocations: 14.95 MB / 0.7613 GB, free: 71.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1341/1.973, allocations: 79 MB / 0.8384 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02845/2.001, allocations: 6.092 MB / 0.8444 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/2.032, allocations: 11 MB / 0.8551 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/2.032, allocations: 63.33 kB / 0.8552 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 7.243e-06/2.032, allocations: 3.938 kB / 0.8552 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.07156/2.104, allocations: 16.27 MB / 0.8711 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/2.104, allocations: 150.5 kB / 0.8712 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01641/2.12, allocations: 5.907 MB / 0.877 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005318/2.121, allocations: 65.7 kB / 0.8771 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004602/2.126, allocations: 5.587 MB / 0.8825 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/2.127, allocations: 1.013 MB / 0.8835 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009166/2.128, allocations: 179.5 kB / 0.8837 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005565/2.129, allocations: 0.6745 MB / 0.8843 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007941/2.137, allocations: 2.569 MB / 0.8868 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/2.15, allocations: 8.165 MB / 0.8948 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/2.163, allocations: 4.431 MB / 0.8991 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000214/2.163, allocations: 59.95 kB / 0.8992 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.0338/2.197, allocations: 10.45 MB / 0.9094 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/2.197, allocations: 91.56 kB / 0.9095 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003338/2.198, allocations: 200 kB / 0.9097 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/2.198, allocations: 292.7 kB / 0.91 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3655/2.564, allocations: 2.206 MB / 0.9121 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004962/2.564, allocations: 394.6 kB / 0.9125 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.576, allocations: 0.6071 MB / 0.9131 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/2.578, allocations: 0.5331 MB / 0.9136 GB, free: 93.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1128): * Single equations (assignments): 1125 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01024/2.588, allocations: 3.601 MB / 0.9171 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.59, allocations: 0.5811 MB / 0.9177 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00899/2.599, allocations: 2.805 MB / 0.9204 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.132e-05/2.599, allocations: 28.69 kB / 0.9205 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/2.599, allocations: 7.188 kB / 0.9205 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/2.599, allocations: 12.52 kB / 0.9205 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0608/2.66, allocations: 26.45 MB / 0.9463 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001584/2.66, allocations: 53.72 kB / 0.9464 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004008/2.664, allocations: 0.5184 MB / 0.9469 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/2.664, allocations: 76.5 kB / 0.9469 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/2.665, allocations: 115.1 kB / 0.947 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.367e-05/2.665, allocations: 105.9 kB / 0.9471 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.342e-05/2.665, allocations: 82.97 kB / 0.9472 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/2.676, allocations: 14.59 MB / 0.9615 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003477/2.68, allocations: 0.6873 MB / 0.9621 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/2.682, allocations: 124.6 kB / 0.9623 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005562/2.688, allocations: 199.1 kB / 0.9625 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000846/2.688, allocations: 356.6 kB / 0.9628 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/2.689, allocations: 140.9 kB / 0.9629 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01215/2.701, allocations: 4.206 MB / 0.967 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.91e-07/2.701, allocations: 3.094 kB / 0.967 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0139/2.715, allocations: 1.482 MB / 0.9685 GB, free: 77.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * 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 (270): * Single equations (assignments): 267 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01779/2.733, allocations: 25.14 MB / 0.993 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01985/2.753, allocations: 5.962 MB / 0.9989 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.819e-05/2.753, allocations: 8.688 kB / 0.9989 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/2.757, allocations: 1.48 MB / 1 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009156/2.766, allocations: 0.8649 MB / 1.001 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5997/3.366, allocations: 198.7 MB / 1.195 GB, free: 87.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01524/3.381, allocations: 5.737 MB / 1.201 GB, free: 87.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01353/3.395, allocations: 2.79 MB / 1.204 GB, free: 87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008606/3.404, allocations: 3.655 MB / 1.207 GB, free: 87 MB / 0.573 GB Notification: Performance of SimCode: time 1.462e-06/3.404, allocations: 2.812 kB / 1.207 GB, free: 87 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6619/4.066, allocations: 116.8 MB / 1.321 GB, free: 130.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/4.066, allocations: 173.9 kB / 1.321 GB, free: 130.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/10.96, allocations: 7.281 kB / 1.321 GB, free: 130.4 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat