Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.001065/0.001065, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009018/0.0009018, allocations: 94.53 kB / 267.1 MB, free: 9.277 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.393/0.393, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.631e-05/4.657e-05, allocations: 4 kB / 425.4 MB, free: 8.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 58.85 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5962, allocations: 107 MB / 0.5774 GB, free: 13.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5966, allocations: 79.23 kB / 0.5775 GB, free: 13.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8251/1.422, allocations: 199.6 MB / 0.7724 GB, free: 67.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.422, allocations: 3.938 kB / 0.7724 GB, free: 67.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005743/1.422, allocations: 188.2 kB / 0.7726 GB, free: 67.61 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03381/1.456, allocations: 9.431 MB / 0.7818 GB, free: 61.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.456, allocations: 13.72 kB / 0.7818 GB, free: 61.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009707/1.466, allocations: 1.817 MB / 0.7836 GB, free: 60.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02443/1.49, allocations: 4.03 MB / 0.7876 GB, free: 57.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/1.52, allocations: 10.58 MB / 0.7979 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/1.521, allocations: 0.7903 MB / 0.7987 GB, free: 46.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006991/1.528, allocations: 1.048 MB / 0.7997 GB, free: 45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07175/1.6, allocations: 24.1 MB / 0.8232 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008659/1.601, allocations: 91.16 kB / 0.8233 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005841/1.607, allocations: 492.1 kB / 0.8238 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004017/1.611, allocations: 2.279 MB / 0.826 GB, free: 16.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04711/1.658, allocations: 18.98 MB / 0.8445 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5458/2.204, allocations: 94.23 MB / 0.9366 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02698/2.231, allocations: 7.618 MB / 0.944 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006574/2.238, allocations: 3.036 MB / 0.947 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/2.271, allocations: 13.31 MB / 0.96 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.142e-05/2.271, allocations: 68.75 kB / 0.96 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 8.276e-06/2.271, allocations: 0 / 0.96 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.06086/2.332, allocations: 18.8 MB / 0.9784 GB, free: 24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/2.332, allocations: 175.7 kB / 0.9786 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01573/2.348, allocations: 6.415 MB / 0.9848 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000958/2.349, allocations: 83.64 kB / 0.9849 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00675/2.355, allocations: 6.822 MB / 0.9916 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002128/2.358, allocations: 1.357 MB / 0.9929 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/2.359, allocations: 215.2 kB / 0.9931 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001436/2.361, allocations: 0.7564 MB / 0.9938 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006519/2.367, allocations: 2.991 MB / 0.9967 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/2.378, allocations: 9.489 MB / 1.006 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.389, allocations: 5.238 MB / 1.011 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000385/2.389, allocations: 69.06 kB / 1.011 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03303/2.422, allocations: 12.22 MB / 1.023 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/2.423, allocations: 106.3 kB / 1.023 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006692/2.423, allocations: 228 kB / 1.023 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/2.424, allocations: 340.4 kB / 1.024 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/2.435, allocations: 2.621 MB / 1.026 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005997/2.436, allocations: 456.1 kB / 1.027 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.447, allocations: 0.6891 MB / 1.027 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003142/2.45, allocations: 0.6341 MB / 1.028 GB, free: 11.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * 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.005014/2.455, allocations: 0.9463 MB / 1.029 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/2.458, allocations: 0.671 MB / 1.03 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.471, allocations: 3.989 MB / 1.034 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.822e-05/2.472, allocations: 36 kB / 1.034 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/2.472, allocations: 4 kB / 1.034 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.978e-05/2.472, allocations: 21.95 kB / 1.034 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5281/3, allocations: 41.67 MB / 1.074 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001904/3, allocations: 87.47 kB / 1.074 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/3.003, allocations: 0.8493 MB / 1.075 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/3.003, allocations: 126.2 kB / 1.075 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/3.004, allocations: 192.2 kB / 1.075 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001186/3.004, allocations: 171.4 kB / 1.076 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.462e-05/3.004, allocations: 138.1 kB / 1.076 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/3.019, allocations: 25.15 MB / 1.1 GB, free: 90.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/3.023, allocations: 0.8386 MB / 1.101 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002785/3.026, allocations: 209.4 kB / 1.101 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006183/3.032, allocations: 272.2 kB / 1.102 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/3.033, allocations: 0.5619 MB / 1.102 GB, free: 90.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005785/3.034, allocations: 238.6 kB / 1.102 GB, free: 90.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01221/3.046, allocations: 4.48 MB / 1.107 GB, free: 89.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.41e-07/3.046, allocations: 0 / 1.107 GB, free: 89.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01664/3.063, allocations: 1.88 MB / 1.109 GB, free: 89.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.02323/3.086, allocations: 40.81 MB / 1.148 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01606/3.102, allocations: 7.288 MB / 1.156 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-05/3.102, allocations: 14.69 kB / 1.156 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003751/3.106, allocations: 2.119 MB / 1.158 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009074/3.115, allocations: 1.071 MB / 1.159 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07064/3.186, allocations: 21.8 MB / 1.18 GB, free: 43.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/3.207, allocations: 7.175 MB / 1.187 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01449/3.221, allocations: 3.316 MB / 1.19 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01044/3.232, allocations: 4.772 MB / 1.195 GB, free: 36.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.483e-06/3.232, allocations: 1.75 kB / 1.195 GB, free: 36.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7034/3.935, allocations: 145.7 MB / 1.337 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/3.935, allocations: 163.1 kB / 1.337 GB, free: 106 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.386/13.32, allocations: 4 kB / 1.337 GB, free: 106 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat