Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 181.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009502, allocations: 93.84 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3785/0.3785, allocations: 44.22 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003714, allocations: 11.98 kB / 460 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5641, allocations: 102.9 MB / 0.6101 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5645, allocations: 83.94 kB / 0.6102 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1405/0.705, allocations: 53.72 MB / 0.6626 GB, free: 2.141 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.531e-06/0.7051, allocations: 4 kB / 0.6626 GB, free: 2.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002348/0.7053, allocations: 52 kB / 0.6627 GB, free: 2.086 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.01028/0.7156, allocations: 2.624 MB / 0.6652 GB, free: 15.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.7157, allocations: 12.03 kB / 0.6653 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002618/0.7183, allocations: 0.523 MB / 0.6658 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/0.7262, allocations: 1.794 MB / 0.6675 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.7313, allocations: 1.676 MB / 0.6692 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.7316, allocations: 209.5 kB / 0.6694 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.7333, allocations: 267.9 kB / 0.6696 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.7505, allocations: 6.319 MB / 0.6758 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.7508, allocations: 15.88 kB / 0.6758 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.7521, allocations: 127.9 kB / 0.6759 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.7533, allocations: 0.6294 MB / 0.6765 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3759/1.129, allocations: 5.502 MB / 0.6819 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/1.158, allocations: 22.14 MB / 0.7035 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/1.162, allocations: 2.072 MB / 0.7056 GB, free: 94.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006106/1.168, allocations: 3.531 MB / 0.709 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.168, allocations: 37 kB / 0.709 GB, free: 92.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.439e-06/1.168, allocations: 0 / 0.709 GB, free: 92.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.00529/1.174, allocations: 2.236 MB / 0.7112 GB, free: 91.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/1.174, allocations: 57.88 kB / 0.7113 GB, free: 91.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/1.177, allocations: 1.737 MB / 0.713 GB, free: 90.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/1.178, allocations: 40.84 kB / 0.713 GB, free: 90.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.179, allocations: 1.881 MB / 0.7148 GB, free: 89.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/1.179, allocations: 318.3 kB / 0.7152 GB, free: 89.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.18, allocations: 54.03 kB / 0.7152 GB, free: 89.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003251/1.18, allocations: 495.1 kB / 0.7157 GB, free: 89.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.181, allocations: 0.8512 MB / 0.7165 GB, free: 88.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.184, allocations: 2.701 MB / 0.7191 GB, free: 86.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/1.187, allocations: 1.521 MB / 0.7206 GB, free: 85.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.187, allocations: 19.16 kB / 0.7206 GB, free: 85.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007348/1.194, allocations: 3.45 MB / 0.724 GB, free: 84.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/1.194, allocations: 33.41 kB / 0.724 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/1.194, allocations: 67.44 kB / 0.7241 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/1.195, allocations: 96.31 kB / 0.7242 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.197, allocations: 0.6654 MB / 0.7249 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002512/1.197, allocations: 129.6 kB / 0.725 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.2, allocations: 410.8 kB / 0.7254 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/1.201, allocations: 185 kB / 0.7255 GB, free: 83.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (362): * Single equations (assignments): 359 * 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.003281/1.204, allocations: 1.376 MB / 0.7269 GB, free: 83.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/1.204, allocations: 163.9 kB / 0.727 GB, free: 83.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/1.205, allocations: 199 kB / 0.7272 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/1.205, allocations: 10.42 kB / 0.7272 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.205, allocations: 2.906 kB / 0.7272 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.205, allocations: 2.719 kB / 0.7273 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.217, allocations: 4.151 MB / 0.7313 GB, free: 81.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/1.217, allocations: 8.938 kB / 0.7313 GB, free: 81.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/1.217, allocations: 96.55 kB / 0.7314 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/1.217, allocations: 13.62 kB / 0.7314 GB, free: 81.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/1.217, allocations: 14.39 kB / 0.7314 GB, free: 81.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-05/1.218, allocations: 10.52 kB / 0.7314 GB, free: 81.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.218, allocations: 10.38 kB / 0.7315 GB, free: 81.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/1.22, allocations: 1.657 MB / 0.7331 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/1.22, allocations: 258.2 kB / 0.7333 GB, free: 79.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/1.221, allocations: 16.78 kB / 0.7333 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/1.222, allocations: 28.81 kB / 0.7334 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.222, allocations: 53.39 kB / 0.7334 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/1.222, allocations: 26.34 kB / 0.7334 GB, free: 79.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002924/1.225, allocations: 1.272 MB / 0.7347 GB, free: 79.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.225, allocations: 4 kB / 0.7347 GB, free: 79.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003617/1.228, allocations: 0.7124 MB / 0.7354 GB, free: 79.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002392/1.231, allocations: 3.771 MB / 0.7391 GB, free: 75.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003197/1.234, allocations: 1.991 MB / 0.741 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.234, allocations: 4.062 kB / 0.741 GB, free: 75.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/1.235, allocations: 456.9 kB / 0.7414 GB, free: 75.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.236, allocations: 224.5 kB / 0.7417 GB, free: 75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/1.274, allocations: 60.81 MB / 0.801 GB, free: 19.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/1.278, allocations: 2.373 MB / 0.8034 GB, free: 18.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002453/1.28, allocations: 0.9639 MB / 0.8043 GB, free: 18.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.282, allocations: 1.051 MB / 0.8053 GB, free: 17.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.865e-06/1.282, allocations: 0 / 0.8053 GB, free: 17.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06185/1.343, allocations: 36.77 MB / 0.8412 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.344, allocations: 173.4 kB / 0.8414 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/4.267, allocations: 4 kB / 0.8414 GB, free: 11.3 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat