Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",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.002423/0.002423, allocations: 185.4 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.192/2.192, 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.001161/0.00116, allocations: 94.77 kB / 270.9 MB, free: 8.375 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.5559/0.5559, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004695, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6242, allocations: 102 MB / 0.5784 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.6246, allocations: 79.95 kB / 0.5785 GB, free: 440 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2331/0.8577, allocations: 55.27 MB / 0.6325 GB, free: 8.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.8577, allocations: 0 / 0.6325 GB, free: 8.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001596/0.8579, allocations: 52 kB / 0.6325 GB, free: 8.789 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.0107/0.8686, allocations: 2.74 MB / 0.6352 GB, free: 5.988 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.8687, allocations: 8.031 kB / 0.6352 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002614/0.8713, allocations: 0.5513 MB / 0.6358 GB, free: 5.422 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.8857, allocations: 1.821 MB / 0.6375 GB, free: 3.594 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/0.8921, allocations: 1.723 MB / 0.6392 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.8925, allocations: 217.7 kB / 0.6394 GB, free: 1.609 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.8943, allocations: 283.9 kB / 0.6397 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.9166, allocations: 6.646 MB / 0.6462 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.9168, allocations: 15.81 kB / 0.6462 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001291/0.9181, allocations: 131.9 kB / 0.6463 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.9198, allocations: 0.6765 MB / 0.647 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.9393, allocations: 5.817 MB / 0.6527 GB, free: 3.645 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4092/1.349, allocations: 23.13 MB / 0.6753 GB, free: 95.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/1.357, allocations: 2.242 MB / 0.6774 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.368, allocations: 3.767 MB / 0.6811 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/1.368, allocations: 39.06 kB / 0.6812 GB, free: 94.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 5.861e-06/1.368, allocations: 0 / 0.6812 GB, free: 94.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.00982/1.378, allocations: 2.454 MB / 0.6836 GB, free: 93.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.378, allocations: 63.47 kB / 0.6836 GB, free: 93.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/1.382, allocations: 1.784 MB / 0.6854 GB, free: 93.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/1.383, allocations: 39.59 kB / 0.6854 GB, free: 93.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.385, allocations: 1.97 MB / 0.6873 GB, free: 92.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/1.385, allocations: 364.9 kB / 0.6877 GB, free: 92.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.386, allocations: 62.78 kB / 0.6877 GB, free: 92.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/1.386, allocations: 456.2 kB / 0.6882 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/1.389, allocations: 0.9225 MB / 0.6891 GB, free: 91.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.392, allocations: 2.857 MB / 0.6919 GB, free: 89.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/1.396, allocations: 1.632 MB / 0.6935 GB, free: 89.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.45e-05/1.396, allocations: 19.84 kB / 0.6935 GB, free: 89.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009642/1.406, allocations: 3.633 MB / 0.697 GB, free: 89.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/1.406, allocations: 37.44 kB / 0.6971 GB, free: 89.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.406, allocations: 70.78 kB / 0.6971 GB, free: 89.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/1.406, allocations: 103.8 kB / 0.6972 GB, free: 89.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/1.411, allocations: 0.704 MB / 0.6979 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/1.411, allocations: 139.6 kB / 0.698 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/1.414, allocations: 432.7 kB / 0.6985 GB, free: 88.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/1.415, allocations: 194.2 kB / 0.6986 GB, free: 88.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (388): * Single equations (assignments): 385 * 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.003605/1.419, allocations: 1.425 MB / 0.7 GB, free: 88.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/1.419, allocations: 173.5 kB / 0.7002 GB, free: 88.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/1.422, allocations: 1.19 MB / 0.7014 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.422, allocations: 13.52 kB / 0.7014 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.422, allocations: 0 / 0.7014 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.422, allocations: 3.562 kB / 0.7014 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.436, allocations: 4.987 MB / 0.7062 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.436, allocations: 14.61 kB / 0.7063 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.437, allocations: 129.8 kB / 0.7064 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/1.438, allocations: 21.06 kB / 0.7064 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.438, allocations: 22 kB / 0.7064 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.438, allocations: 20.03 kB / 0.7064 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/1.438, allocations: 13.16 kB / 0.7065 GB, free: 87.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/1.441, allocations: 2.201 MB / 0.7086 GB, free: 86.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/1.442, allocations: 270.4 kB / 0.7089 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/1.442, allocations: 28.55 kB / 0.7089 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.443, allocations: 39.55 kB / 0.7089 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.443, allocations: 71.86 kB / 0.709 GB, free: 86.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.443, allocations: 43.53 kB / 0.709 GB, free: 86.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003091/1.447, allocations: 1.308 MB / 0.7103 GB, free: 85.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.447, allocations: 0 / 0.7103 GB, free: 85.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00452/1.451, allocations: 0.7593 MB / 0.7111 GB, free: 85.69 MB / 490.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.004506/1.456, allocations: 5.266 MB / 0.7162 GB, free: 81.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00573/1.461, allocations: 2.166 MB / 0.7183 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.461, allocations: 0.9688 kB / 0.7183 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.463, allocations: 0.5387 MB / 0.7188 GB, free: 80.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.465, allocations: 227.6 kB / 0.7191 GB, free: 80.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.051/1.516, allocations: 63.91 MB / 0.7815 GB, free: 22.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/1.522, allocations: 2.476 MB / 0.7839 GB, free: 21.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/1.525, allocations: 1.148 MB / 0.785 GB, free: 20.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/1.525, allocations: 0 / 0.785 GB, free: 20.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.394/4.919, allocations: 47.82 MB / 0.8317 GB, free: 1.871 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat