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.001574/0.001574, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.162/2.162, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001105/0.001104, allocations: 78.77 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3023/0.3023, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.306e-05, allocations: 0 / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.56/0.6842, allocations: 101.9 MB / 0.5724 GB, free: 1.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6846, allocations: 74.16 kB / 0.5725 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2312/0.9157, allocations: 55.28 MB / 0.6265 GB, free: 1.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.969e-06/0.9158, allocations: 0 / 0.6265 GB, free: 1.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.916, allocations: 55.94 kB / 0.6265 GB, free: 1.453 MB / 426.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.01009/0.9261, allocations: 2.624 MB / 0.6291 GB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.9262, allocations: 8.031 kB / 0.6291 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002594/0.9288, allocations: 0.549 MB / 0.6296 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.9456, allocations: 1.829 MB / 0.6314 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008898/0.9546, allocations: 1.719 MB / 0.6331 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/0.9552, allocations: 220.8 kB / 0.6333 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.9576, allocations: 289 kB / 0.6336 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.9846, allocations: 6.579 MB / 0.64 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.9848, allocations: 15.88 kB / 0.64 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009527/0.9858, allocations: 131.9 kB / 0.6402 GB, free: 4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.9874, allocations: 0.6804 MB / 0.6408 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/1.011, allocations: 5.72 MB / 0.6464 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/1.085, allocations: 23.15 MB / 0.669 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/1.093, allocations: 2.23 MB / 0.6712 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/1.095, allocations: 0.7557 MB / 0.6719 GB, free: 2.645 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/1.107, allocations: 3.757 MB / 0.6756 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.107, allocations: 47.05 kB / 0.6756 GB, free: 14.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 5.41e-06/1.107, allocations: 4 kB / 0.6757 GB, free: 14.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.008813/1.116, allocations: 1.711 MB / 0.6773 GB, free: 12.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.116, allocations: 59.97 kB / 0.6774 GB, free: 12.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.121, allocations: 1.78 MB / 0.6791 GB, free: 11.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/1.121, allocations: 41.69 kB / 0.6792 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.123, allocations: 1.967 MB / 0.6811 GB, free: 9.074 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/1.124, allocations: 367.3 kB / 0.6814 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/1.124, allocations: 60 kB / 0.6815 GB, free: 8.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003713/1.124, allocations: 449.6 kB / 0.6819 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/1.127, allocations: 0.9003 MB / 0.6828 GB, free: 7.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004626/1.131, allocations: 2.83 MB / 0.6856 GB, free: 3.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/1.135, allocations: 1.629 MB / 0.6871 GB, free: 1.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.028e-05/1.136, allocations: 16 kB / 0.6872 GB, free: 1.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01052/1.146, allocations: 3.58 MB / 0.6907 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/1.146, allocations: 36 kB / 0.6907 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.146, allocations: 68 kB / 0.6908 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/1.147, allocations: 104.1 kB / 0.6909 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/1.151, allocations: 0.7096 MB / 0.6916 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/1.152, allocations: 135.5 kB / 0.6917 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.155, allocations: 431.5 kB / 0.6921 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007656/1.156, allocations: 196 kB / 0.6923 GB, free: 12.61 MB / 0.4948 GB 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 () * 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.0007853/1.157, allocations: 361.9 kB / 0.6926 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/1.157, allocations: 165.8 kB / 0.6928 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/1.161, allocations: 1.169 MB / 0.6939 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/1.161, allocations: 19.94 kB / 0.6939 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.161, allocations: 0 / 0.6939 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.161, allocations: 7.938 kB / 0.6939 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.176, allocations: 4.974 MB / 0.6988 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.176, allocations: 8 kB / 0.6988 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.177, allocations: 135.8 kB / 0.6989 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/1.177, allocations: 12 kB / 0.699 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.177, allocations: 24 kB / 0.699 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/1.177, allocations: 15.94 kB / 0.699 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/1.177, allocations: 19.92 kB / 0.699 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/1.181, allocations: 2.179 MB / 0.7011 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/1.182, allocations: 274.4 kB / 0.7014 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/1.182, allocations: 24 kB / 0.7014 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.183, allocations: 35.97 kB / 0.7015 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.183, allocations: 79.7 kB / 0.7015 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.183, allocations: 39.98 kB / 0.7016 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003573/1.187, allocations: 1.293 MB / 0.7028 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.98e-06/1.187, allocations: 0 / 0.7028 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004168/1.191, allocations: 0.7582 MB / 0.7036 GB, free: 312 kB / 0.4948 GB 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 () * 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.3468/1.538, allocations: 5.225 MB / 0.7087 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00563/1.544, allocations: 2.13 MB / 0.7108 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.544, allocations: 2.219 kB / 0.7108 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.545, allocations: 0.5347 MB / 0.7113 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.547, allocations: 234.5 kB / 0.7115 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.567, allocations: 5.746 MB / 0.7171 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006465/1.573, allocations: 2.464 MB / 0.7195 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/1.577, allocations: 1.148 MB / 0.7206 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/1.577, allocations: 3.656 kB / 0.7207 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.329/4.905, allocations: 47.96 MB / 0.7675 GB, free: 123.7 MB / 0.4948 GB (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