Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce2",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.01441/0.01441, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.783/1.783, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.002044/0.002045, allocations: 107.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.4439/0.4439, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004817, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5498, allocations: 89.32 MB / 0.4893 GB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5502, allocations: 77.84 kB / 0.4893 GB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2615/0.8117, allocations: 55.1 MB / 0.5431 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8117, allocations: 0 / 0.5431 GB, free: 12.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001423/0.8119, allocations: 52 kB / 0.5432 GB, free: 12.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01037/0.8223, allocations: 2.716 MB / 0.5459 GB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.8224, allocations: 11.97 kB / 0.5459 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002823/0.8252, allocations: 0.5479 MB / 0.5464 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.8398, allocations: 1.824 MB / 0.5482 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006118/0.8459, allocations: 1.711 MB / 0.5499 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.8463, allocations: 217.7 kB / 0.5501 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.848, allocations: 283.9 kB / 0.5503 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.8701, allocations: 6.628 MB / 0.5568 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.8704, allocations: 15.81 kB / 0.5568 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.8719, allocations: 137 kB / 0.5569 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.8737, allocations: 0.6804 MB / 0.5576 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.8936, allocations: 5.798 MB / 0.5633 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.23, allocations: 23.03 MB / 0.5858 GB, free: 94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/1.243, allocations: 2.242 MB / 0.588 GB, free: 93.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/1.258, allocations: 3.759 MB / 0.5916 GB, free: 92.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.258, allocations: 41.67 kB / 0.5917 GB, free: 92.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 7.094e-06/1.258, allocations: 0 / 0.5917 GB, free: 92.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.01417/1.272, allocations: 2.456 MB / 0.5941 GB, free: 92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/1.272, allocations: 58.41 kB / 0.5941 GB, free: 91.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004727/1.277, allocations: 1.767 MB / 0.5958 GB, free: 91.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/1.277, allocations: 39.78 kB / 0.5959 GB, free: 91.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.279, allocations: 1.951 MB / 0.5978 GB, free: 90.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/1.279, allocations: 358.6 kB / 0.5981 GB, free: 90.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/1.28, allocations: 61.31 kB / 0.5982 GB, free: 90.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005066/1.28, allocations: 0.4896 MB / 0.5987 GB, free: 90.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.284, allocations: 0.9179 MB / 0.5996 GB, free: 90.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/1.288, allocations: 2.832 MB / 0.6023 GB, free: 87.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/1.294, allocations: 1.627 MB / 0.6039 GB, free: 87.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-05/1.294, allocations: 23.75 kB / 0.6039 GB, free: 87.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009884/1.304, allocations: 3.656 MB / 0.6075 GB, free: 87.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/1.304, allocations: 34.25 kB / 0.6075 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.304, allocations: 69.69 kB / 0.6076 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/1.304, allocations: 97.88 kB / 0.6077 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/1.308, allocations: 0.7057 MB / 0.6084 GB, free: 87.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001394/1.308, allocations: 130.4 kB / 0.6085 GB, free: 87.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.312, allocations: 438.5 kB / 0.6089 GB, free: 87.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/1.312, allocations: 190.5 kB / 0.6091 GB, free: 87.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.003344/1.316, allocations: 1.419 MB / 0.6105 GB, free: 87.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/1.316, allocations: 171 kB / 0.6107 GB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/1.319, allocations: 1.183 MB / 0.6118 GB, free: 86.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/1.319, allocations: 13.02 kB / 0.6118 GB, free: 86.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.319, allocations: 0 / 0.6118 GB, free: 86.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.319, allocations: 6.375 kB / 0.6118 GB, free: 86.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.332, allocations: 4.984 MB / 0.6167 GB, free: 86.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.332, allocations: 9.75 kB / 0.6167 GB, free: 86.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.333, allocations: 137.1 kB / 0.6168 GB, free: 86.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-05/1.333, allocations: 16.95 kB / 0.6169 GB, free: 86.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/1.333, allocations: 30.98 kB / 0.6169 GB, free: 86.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/1.333, allocations: 18.83 kB / 0.6169 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/1.334, allocations: 18.11 kB / 0.6169 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/1.337, allocations: 2.175 MB / 0.619 GB, free: 84.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.338, allocations: 273.3 kB / 0.6193 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/1.338, allocations: 23.03 kB / 0.6193 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.339, allocations: 39.88 kB / 0.6194 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.339, allocations: 74.61 kB / 0.6194 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.339, allocations: 38.27 kB / 0.6195 GB, free: 84.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002946/1.342, allocations: 1.296 MB / 0.6207 GB, free: 84.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.342, allocations: 0 / 0.6207 GB, free: 84.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00388/1.346, allocations: 0.745 MB / 0.6215 GB, free: 83.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.003869/1.35, allocations: 5.257 MB / 0.6266 GB, free: 79.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005617/1.356, allocations: 2.157 MB / 0.6287 GB, free: 79.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.356, allocations: 2.188 kB / 0.6287 GB, free: 79.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.357, allocations: 0.5393 MB / 0.6292 GB, free: 79.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.359, allocations: 226.9 kB / 0.6295 GB, free: 79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0487/1.408, allocations: 62.98 MB / 0.691 GB, free: 37.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/1.413, allocations: 2.448 MB / 0.6933 GB, free: 36.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005335/1.418, allocations: 1.011 MB / 0.6943 GB, free: 36.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003574/1.422, allocations: 1.122 MB / 0.6954 GB, free: 35.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/1.422, allocations: 0 / 0.6954 GB, free: 35.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/1.56, allocations: 38.54 MB / 0.7331 GB, free: 22.65 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/1.56, allocations: 180.5 kB / 0.7332 GB, free: 22.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/5.022, allocations: 0 / 0.7332 GB, free: 22.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat