Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 84.5 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5175/0.5175, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006505, allocations: 16 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1431, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6368/0.78, allocations: 105 MB / 0.5813 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.7804, allocations: 82.19 kB / 0.5814 GB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9865/1.767, allocations: 159.1 MB / 0.7368 GB, free: 82.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.767, allocations: 0 / 0.7368 GB, free: 82.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004795/1.768, allocations: 152.7 kB / 0.7369 GB, free: 82.84 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03461/1.802, allocations: 8.309 MB / 0.745 GB, free: 79.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.802, allocations: 7.375 kB / 0.745 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007197/1.809, allocations: 1.4 MB / 0.7464 GB, free: 79.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03862/1.848, allocations: 3.627 MB / 0.75 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.049/1.897, allocations: 9.61 MB / 0.7593 GB, free: 75.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/1.898, allocations: 0.5992 MB / 0.7599 GB, free: 74.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00633/1.905, allocations: 0.7995 MB / 0.7607 GB, free: 74.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08991/1.995, allocations: 18.96 MB / 0.7792 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008771/1.996, allocations: 95.38 kB / 0.7793 GB, free: 64.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006003/2.002, allocations: 383.9 kB / 0.7797 GB, free: 64.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00681/2.009, allocations: 1.78 MB / 0.7814 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07747/2.086, allocations: 14.97 MB / 0.796 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6052/2.691, allocations: 79.08 MB / 0.8733 GB, free: 40.87 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0296/2.721, allocations: 6.083 MB / 0.8792 GB, free: 40.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03273/2.754, allocations: 11.02 MB / 0.89 GB, free: 37.23 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/2.754, allocations: 60.38 kB / 0.89 GB, free: 37.19 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=238): time 6.201e-06/2.754, allocations: 0 / 0.89 GB, free: 37.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=262): time 0.07703/2.831, allocations: 16.28 MB / 0.9059 GB, free: 32.34 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/2.831, allocations: 157.4 kB / 0.9061 GB, free: 32.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/2.852, allocations: 5.933 MB / 0.9119 GB, free: 31.62 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000668/2.852, allocations: 65.47 kB / 0.9119 GB, free: 31.59 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/2.858, allocations: 5.359 MB / 0.9172 GB, free: 28.48 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001947/2.86, allocations: 1.017 MB / 0.9182 GB, free: 27.91 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/2.862, allocations: 179.4 kB / 0.9183 GB, free: 27.91 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001037/2.863, allocations: 0.6846 MB / 0.919 GB, free: 27.57 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009613/2.873, allocations: 2.572 MB / 0.9215 GB, free: 27.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/2.885, allocations: 8.187 MB / 0.9295 GB, free: 20.27 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/2.897, allocations: 4.436 MB / 0.9338 GB, free: 20.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002486/2.898, allocations: 55.69 kB / 0.9339 GB, free: 20.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02993/2.927, allocations: 10.23 MB / 0.9439 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/2.928, allocations: 90.73 kB / 0.944 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003318/2.928, allocations: 202.6 kB / 0.9442 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/2.928, allocations: 292.7 kB / 0.9444 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/2.942, allocations: 2.183 MB / 0.9466 GB, free: 17.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/2.942, allocations: 397.8 kB / 0.947 GB, free: 16.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/2.954, allocations: 0.6044 MB / 0.9475 GB, free: 16.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/2.957, allocations: 0.5423 MB / 0.9481 GB, free: 16.72 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1131): * Single equations (assignments): 1128 * 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.01031/2.967, allocations: 3.617 MB / 0.9516 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/2.969, allocations: 0.5808 MB / 0.9522 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008482/2.977, allocations: 2.801 MB / 0.9549 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/2.977, allocations: 27.62 kB / 0.9549 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/2.977, allocations: 0 / 0.9549 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/2.977, allocations: 17 kB / 0.9549 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06131/3.039, allocations: 26.46 MB / 0.9808 GB, free: 3.629 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001302/3.039, allocations: 55.38 kB / 0.9808 GB, free: 3.629 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/3.042, allocations: 0.5159 MB / 0.9813 GB, free: 3.566 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-05/3.043, allocations: 78.94 kB / 0.9814 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/3.043, allocations: 119 kB / 0.9815 GB, free: 3.527 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.184e-05/3.043, allocations: 101.7 kB / 0.9816 GB, free: 3.504 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-05/3.043, allocations: 87.47 kB / 0.9817 GB, free: 3.48 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/3.059, allocations: 14.63 MB / 0.996 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003118/3.062, allocations: 0.6914 MB / 0.9967 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002442/3.065, allocations: 126 kB / 0.9968 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005893/3.071, allocations: 196.5 kB / 0.997 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/3.072, allocations: 349.2 kB / 0.9973 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004566/3.072, allocations: 151.4 kB / 0.9975 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01496/3.087, allocations: 4.246 MB / 1.002 GB, free: 0 / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/3.087, allocations: 336 / 1.002 GB, free: 0 / 0.5105 GB Notification: Performance of remove unused functions: time 0.02413/3.112, allocations: 2.196 MB / 1.004 GB, free: 0 / 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.02224/3.134, allocations: 25.16 MB / 1.028 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01798/3.152, allocations: 5.979 MB / 1.034 GB, free: 256 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.579e-05/3.152, allocations: 4 kB / 1.034 GB, free: 252 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004869/3.157, allocations: 1.513 MB / 1.036 GB, free: 15.05 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008078/3.165, allocations: 0.8644 MB / 1.036 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6534/3.818, allocations: 200.5 MB / 1.232 GB, free: 35.51 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02044/3.839, allocations: 5.737 MB / 1.238 GB, free: 34.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01181/3.851, allocations: 3.74 MB / 1.242 GB, free: 34.62 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/3.851, allocations: 0 / 1.242 GB, free: 34.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.706/9.557, allocations: 138.9 MB / 1.377 GB, free: 169.4 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat