Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001385/0.001385, allocations: 177 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.402/1.402, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009403/0.0009403, allocations: 86.67 kB / 292.1 MB, free: 10.92 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.4254/0.4254, allocations: 44.23 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.438, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5751, allocations: 102.9 MB / 0.6101 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5754, allocations: 83.94 kB / 0.6102 GB, free: 8.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1402/0.7156, allocations: 53.72 MB / 0.6627 GB, free: 2.059 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7157, allocations: 4 kB / 0.6627 GB, free: 2.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.7158, allocations: 52 kB / 0.6627 GB, free: 2.004 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.007999/0.7238, allocations: 2.632 MB / 0.6653 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7239, allocations: 8.031 kB / 0.6653 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002067/0.726, allocations: 0.5231 MB / 0.6658 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00745/0.7334, allocations: 1.794 MB / 0.6676 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.7382, allocations: 1.672 MB / 0.6692 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.7385, allocations: 213.5 kB / 0.6694 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.7396, allocations: 263.9 kB / 0.6696 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.753, allocations: 6.323 MB / 0.6758 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.922e-05/0.7531, allocations: 11.88 kB / 0.6758 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007747/0.7539, allocations: 127.9 kB / 0.6759 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009291/0.7548, allocations: 0.6372 MB / 0.6766 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.288/1.043, allocations: 5.501 MB / 0.6819 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/1.071, allocations: 22.13 MB / 0.7036 GB, free: 94.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/1.075, allocations: 2.07 MB / 0.7056 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00624/1.081, allocations: 3.533 MB / 0.709 GB, free: 92.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.081, allocations: 41.17 kB / 0.7091 GB, free: 92.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.017e-06/1.081, allocations: 0 / 0.7091 GB, free: 92.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004923/1.086, allocations: 2.233 MB / 0.7112 GB, free: 91.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/1.086, allocations: 58.66 kB / 0.7113 GB, free: 91.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.089, allocations: 1.742 MB / 0.713 GB, free: 90.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/1.089, allocations: 37.89 kB / 0.713 GB, free: 90.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.09, allocations: 1.879 MB / 0.7149 GB, free: 89.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/1.09, allocations: 320.1 kB / 0.7152 GB, free: 89.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/1.09, allocations: 57.11 kB / 0.7152 GB, free: 89.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/1.091, allocations: 494.2 kB / 0.7157 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/1.092, allocations: 0.8461 MB / 0.7165 GB, free: 88.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/1.094, allocations: 2.71 MB / 0.7192 GB, free: 85.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/1.096, allocations: 1.52 MB / 0.7207 GB, free: 85.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.208e-05/1.096, allocations: 19.38 kB / 0.7207 GB, free: 85.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.006057/1.102, allocations: 3.449 MB / 0.724 GB, free: 84.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/1.102, allocations: 35.59 kB / 0.7241 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.463e-05/1.102, allocations: 70.59 kB / 0.7241 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/1.102, allocations: 102.1 kB / 0.7242 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/1.104, allocations: 0.655 MB / 0.7249 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/1.105, allocations: 131.1 kB / 0.725 GB, free: 84.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/1.107, allocations: 417.8 kB / 0.7254 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/1.107, allocations: 180.2 kB / 0.7256 GB, free: 83.8 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.002374/1.109, allocations: 1.366 MB / 0.7269 GB, free: 83.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.109, allocations: 164.5 kB / 0.7271 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/1.11, allocations: 206.2 kB / 0.7273 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.11, allocations: 10.7 kB / 0.7273 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.11, allocations: 1.281 kB / 0.7273 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.11, allocations: 2.578 kB / 0.7273 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007955/1.118, allocations: 4.147 MB / 0.7313 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.118, allocations: 5.188 kB / 0.7313 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/1.118, allocations: 101.6 kB / 0.7314 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.118, allocations: 9.438 kB / 0.7314 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/1.118, allocations: 24.19 kB / 0.7315 GB, free: 81.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.118, allocations: 8.391 kB / 0.7315 GB, free: 81.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.119, allocations: 11.06 kB / 0.7315 GB, free: 81.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/1.12, allocations: 1.655 MB / 0.7331 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/1.12, allocations: 256.2 kB / 0.7333 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.121, allocations: 20.67 kB / 0.7334 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/1.121, allocations: 29.81 kB / 0.7334 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/1.121, allocations: 53.58 kB / 0.7334 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/1.121, allocations: 29.64 kB / 0.7335 GB, free: 79.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001785/1.123, allocations: 1.273 MB / 0.7347 GB, free: 79.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.123, allocations: 0 / 0.7347 GB, free: 79.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002557/1.126, allocations: 0.7094 MB / 0.7354 GB, free: 79.07 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.001801/1.127, allocations: 3.779 MB / 0.7391 GB, free: 75.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002696/1.13, allocations: 1.982 MB / 0.741 GB, free: 75.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.13, allocations: 3.844 kB / 0.741 GB, free: 75.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/1.131, allocations: 463.8 kB / 0.7415 GB, free: 75.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/1.132, allocations: 219 kB / 0.7417 GB, free: 74.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.159, allocations: 60.81 MB / 0.8011 GB, free: 19.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.161, allocations: 2.369 MB / 0.8034 GB, free: 18.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002157/1.163, allocations: 0.9653 MB / 0.8043 GB, free: 18.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.164, allocations: 1.056 MB / 0.8054 GB, free: 17.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/1.164, allocations: 0 / 0.8054 GB, free: 17.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05193/1.216, allocations: 36.77 MB / 0.8413 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.217, allocations: 185 kB / 0.8415 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.228, allocations: 0 / 0.8415 GB, free: 11.19 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat