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.001625/0.001625, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.51/1.51, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.000905, allocations: 103.5 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.6249, allocations: 102.8 MB / 0.6022 GB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6252, allocations: 75.95 kB / 0.6023 GB, free: 2.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.7616, allocations: 53.77 MB / 0.6548 GB, free: 12.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.7616, allocations: 0 / 0.6548 GB, free: 12.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.7618, allocations: 52 kB / 0.6548 GB, free: 12.2 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.006296/0.7681, allocations: 2.53 MB / 0.6573 GB, free: 9.617 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7681, allocations: 8.031 kB / 0.6573 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/0.7699, allocations: 0.5153 MB / 0.6578 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007882/0.7778, allocations: 1.802 MB / 0.6596 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005197/0.7831, allocations: 1.664 MB / 0.6612 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.7834, allocations: 213.5 kB / 0.6614 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.785, allocations: 267.9 kB / 0.6617 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.7983, allocations: 6.261 MB / 0.6678 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.7984, allocations: 15.81 kB / 0.6678 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.7988, allocations: 135.9 kB / 0.6679 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009074/0.7997, allocations: 0.6294 MB / 0.6685 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.8102, allocations: 5.414 MB / 0.6738 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.84, allocations: 22.13 MB / 0.6954 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.8441, allocations: 2.071 MB / 0.6975 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009279/0.8451, allocations: 0.677 MB / 0.6981 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006279/0.8514, allocations: 3.53 MB / 0.7016 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.8515, allocations: 43 kB / 0.7016 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.418e-06/0.8515, allocations: 0 / 0.7016 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004686/0.8562, allocations: 1.581 MB / 0.7031 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.8562, allocations: 55.84 kB / 0.7032 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.8594, allocations: 1.722 MB / 0.7049 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.8595, allocations: 41.64 kB / 0.7049 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.8609, allocations: 1.883 MB / 0.7068 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.8612, allocations: 312.2 kB / 0.7071 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.8613, allocations: 59.98 kB / 0.7071 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003362/0.8616, allocations: 497 kB / 0.7076 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.8629, allocations: 0.8296 MB / 0.7084 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.8653, allocations: 2.686 MB / 0.711 GB, free: 212 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3133/1.179, allocations: 1.525 MB / 0.7125 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.53e-05/1.179, allocations: 19.03 kB / 0.7125 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.006257/1.185, allocations: 3.413 MB / 0.7159 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/1.185, allocations: 32.81 kB / 0.7159 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/1.185, allocations: 66.97 kB / 0.716 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/1.185, allocations: 96.94 kB / 0.716 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.188, allocations: 0.6591 MB / 0.7167 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/1.188, allocations: 129.5 kB / 0.7168 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.19, allocations: 412.4 kB / 0.7172 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.19, allocations: 183.3 kB / 0.7174 GB, free: 145 MB / 0.5105 GB 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 () * 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.0003561/1.19, allocations: 337.3 kB / 0.7177 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.191, allocations: 160.4 kB / 0.7179 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/1.191, allocations: 203.5 kB / 0.7181 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.191, allocations: 8.875 kB / 0.7181 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.191, allocations: 2.203 kB / 0.7181 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.191, allocations: 3.844 kB / 0.7181 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/1.199, allocations: 4.141 MB / 0.7221 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.199, allocations: 9.062 kB / 0.7221 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/1.2, allocations: 100.2 kB / 0.7222 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/1.2, allocations: 9.406 kB / 0.7222 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/1.2, allocations: 19.33 kB / 0.7222 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/1.2, allocations: 16.73 kB / 0.7223 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.2, allocations: 7.531 kB / 0.7223 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.201, allocations: 1.647 MB / 0.7239 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/1.202, allocations: 259 kB / 0.7241 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/1.202, allocations: 21.72 kB / 0.7241 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/1.203, allocations: 27.25 kB / 0.7242 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.203, allocations: 49.7 kB / 0.7242 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/1.203, allocations: 29.64 kB / 0.7242 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002221/1.205, allocations: 1.257 MB / 0.7255 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.843e-06/1.205, allocations: 0 / 0.7255 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003875/1.209, allocations: 0.7098 MB / 0.7262 GB, free: 142.7 MB / 0.5105 GB 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 () * 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.002853/1.212, allocations: 3.779 MB / 0.7299 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.215, allocations: 1.957 MB / 0.7318 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.215, allocations: 0 / 0.7318 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/1.216, allocations: 459.6 kB / 0.7322 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.217, allocations: 223 kB / 0.7324 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.228, allocations: 4.995 MB / 0.7373 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/1.23, allocations: 2.38 MB / 0.7396 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002064/1.232, allocations: 0.9611 MB / 0.7406 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.233, allocations: 1.058 MB / 0.7416 GB, free: 137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/1.233, allocations: 0 / 0.7416 GB, free: 137 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/1.291, allocations: 37.07 MB / 0.7778 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.291, allocations: 158.1 kB / 0.7779 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.246, allocations: 4 kB / 0.7779 GB, free: 126.4 MB / 0.5105 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