Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001554/0.001554, allocations: 186.5 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.055/2.055, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.00119/0.001189, allocations: 104.3 kB / 270.9 MB, free: 8.383 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.5263/0.5263, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.0006587, allocations: 12 kB / 431.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1289, allocations: 58.84 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.6658, allocations: 102.1 MB / 0.5786 GB, free: 428 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.6663, allocations: 87.89 kB / 0.5787 GB, free: 340 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3622/1.029, allocations: 57.02 MB / 0.6343 GB, free: 6.961 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.029, allocations: 3.938 kB / 0.6343 GB, free: 6.957 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002183/1.029, allocations: 56 kB / 0.6344 GB, free: 6.902 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.01628/1.045, allocations: 2.791 MB / 0.6371 GB, free: 4.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/1.045, allocations: 12.03 kB / 0.6371 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003614/1.049, allocations: 0.5639 MB / 0.6377 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02191/1.071, allocations: 1.844 MB / 0.6395 GB, free: 1.621 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00946/1.08, allocations: 1.758 MB / 0.6412 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005184/1.081, allocations: 233.8 kB / 0.6414 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/1.083, allocations: 295.9 kB / 0.6417 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/1.116, allocations: 6.812 MB / 0.6484 GB, free: 8.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/1.116, allocations: 23.81 kB / 0.6484 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/1.118, allocations: 135.9 kB / 0.6485 GB, free: 7.945 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/1.121, allocations: 0.7117 MB / 0.6492 GB, free: 7.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02935/1.15, allocations: 5.935 MB / 0.655 GB, free: 1.277 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4521/1.602, allocations: 23.92 MB / 0.6784 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.613, allocations: 2.193 MB / 0.6805 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/1.626, allocations: 4.011 MB / 0.6844 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.626, allocations: 43.55 kB / 0.6845 GB, free: 92.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.117e-06/1.626, allocations: 2.469 kB / 0.6845 GB, free: 92.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01003/1.636, allocations: 2.507 MB / 0.6869 GB, free: 92.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.636, allocations: 69.91 kB / 0.687 GB, free: 92.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/1.641, allocations: 1.819 MB / 0.6888 GB, free: 91.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/1.641, allocations: 37.3 kB / 0.6888 GB, free: 91.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.643, allocations: 2.022 MB / 0.6908 GB, free: 90.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/1.643, allocations: 375.8 kB / 0.6911 GB, free: 90.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/1.644, allocations: 69.11 kB / 0.6912 GB, free: 90.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/1.644, allocations: 448.7 kB / 0.6916 GB, free: 90.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/1.646, allocations: 0.9576 MB / 0.6925 GB, free: 90.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.65, allocations: 2.922 MB / 0.6954 GB, free: 87.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/1.654, allocations: 1.674 MB / 0.697 GB, free: 87.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.2e-05/1.654, allocations: 20.56 kB / 0.6971 GB, free: 87.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009488/1.663, allocations: 3.732 MB / 0.7007 GB, free: 87.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/1.663, allocations: 34.88 kB / 0.7007 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/1.663, allocations: 73.27 kB / 0.7008 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/1.664, allocations: 103.3 kB / 0.7009 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/1.668, allocations: 0.7255 MB / 0.7016 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001306/1.668, allocations: 143.5 kB / 0.7017 GB, free: 87.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/1.671, allocations: 454.7 kB / 0.7022 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/1.672, allocations: 197.7 kB / 0.7024 GB, free: 87.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (398): * Single equations (assignments): 395 * 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.003455/1.675, allocations: 1.46 MB / 0.7038 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/1.676, allocations: 170.1 kB / 0.704 GB, free: 86.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/1.679, allocations: 1.234 MB / 0.7052 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.679, allocations: 16.3 kB / 0.7052 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.679, allocations: 1.312 kB / 0.7052 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.679, allocations: 3.469 kB / 0.7052 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.692, allocations: 5.051 MB / 0.7101 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.692, allocations: 12.66 kB / 0.7101 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.694, allocations: 141.3 kB / 0.7103 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/1.694, allocations: 14.31 kB / 0.7103 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/1.694, allocations: 27.25 kB / 0.7103 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.846e-05/1.694, allocations: 19.17 kB / 0.7103 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/1.694, allocations: 16.31 kB / 0.7103 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/1.697, allocations: 2.325 MB / 0.7126 GB, free: 84.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/1.698, allocations: 278.7 kB / 0.7129 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.698, allocations: 35.59 kB / 0.7129 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.699, allocations: 40.45 kB / 0.7129 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.699, allocations: 79.55 kB / 0.713 GB, free: 84.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.699, allocations: 37.03 kB / 0.7131 GB, free: 84.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002964/1.702, allocations: 1.336 MB / 0.7144 GB, free: 84.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.702, allocations: 3.906 kB / 0.7144 GB, free: 84.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004239/1.707, allocations: 0.7752 MB / 0.7151 GB, free: 83.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.004362/1.711, allocations: 5.578 MB / 0.7206 GB, free: 78.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005674/1.717, allocations: 2.235 MB / 0.7228 GB, free: 78.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.717, allocations: 5.188 kB / 0.7228 GB, free: 78.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.718, allocations: 0.5595 MB / 0.7233 GB, free: 78.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.72, allocations: 240.9 kB / 0.7235 GB, free: 77.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06314/1.783, allocations: 65.46 MB / 0.7875 GB, free: 34.47 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006368/1.79, allocations: 2.528 MB / 0.7899 GB, free: 33.36 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/1.793, allocations: 1.194 MB / 0.7911 GB, free: 32.39 MB / 0.4949 GB Notification: Performance of SimCode: time 1.734e-06/1.793, allocations: 0 / 0.7911 GB, free: 32.39 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.433/5.226, allocations: 49.14 MB / 0.8391 GB, free: 12 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat