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.001178/0.001178, allocations: 177.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008121, allocations: 82.69 kB / 261.7 MB, free: 1.688 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.2423/0.2423, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.897e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5882, allocations: 106.3 MB / 0.5699 GB, free: 4.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5886, allocations: 79.75 kB / 0.57 GB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8667/1.455, allocations: 194.8 MB / 0.7602 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.464e-06/1.455, allocations: 0 / 0.7602 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004964/1.456, allocations: 193.6 kB / 0.7604 GB, free: 90 MB / 0.4948 GB 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.03478/1.491, allocations: 9.424 MB / 0.7696 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.491, allocations: 10.34 kB / 0.7696 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/1.515, allocations: 4.031 MB / 0.7736 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02874/1.544, allocations: 10.57 MB / 0.7839 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000983/1.545, allocations: 347.2 kB / 0.7842 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007535/1.552, allocations: 0.605 MB / 0.7848 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03589/1.588, allocations: 14.55 MB / 0.799 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0635/1.652, allocations: 20.75 MB / 0.8193 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008636/1.653, allocations: 95.16 kB / 0.8194 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007012/1.66, allocations: 52.34 kB / 0.8194 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/1.664, allocations: 2.288 MB / 0.8216 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5598/2.224, allocations: 93.88 MB / 0.9133 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007835/2.232, allocations: 4.14 MB / 0.9174 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/2.235, allocations: 1.933 MB / 0.9193 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/2.236, allocations: 67.72 kB / 0.9193 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/2.236, allocations: 65.11 kB / 0.9194 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=330): time 7.735e-06/2.236, allocations: 0 / 0.9194 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.03557/2.271, allocations: 14.91 MB / 0.9339 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/2.271, allocations: 164.1 kB / 0.9341 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009403/2.281, allocations: 5.683 MB / 0.9397 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008268/2.282, allocations: 25.7 kB / 0.9397 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004548/2.286, allocations: 6.972 MB / 0.9465 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/2.288, allocations: 1.267 MB / 0.9477 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/2.289, allocations: 0 / 0.9477 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000537/2.289, allocations: 0.7733 MB / 0.9485 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/2.293, allocations: 2.865 MB / 0.9513 GB, free: 37.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006856/2.3, allocations: 9.648 MB / 0.9607 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007318/2.307, allocations: 5.159 MB / 0.9657 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000192/2.308, allocations: 70.53 kB / 0.9658 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.02741/2.335, allocations: 11.07 MB / 0.9766 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/2.335, allocations: 113.1 kB / 0.9767 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004166/2.336, allocations: 247.7 kB / 0.977 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/2.336, allocations: 359.7 kB / 0.9773 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.346, allocations: 2.719 MB / 0.98 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003772/2.347, allocations: 483 kB / 0.9804 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.358, allocations: 494.1 kB / 0.9809 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002996/2.361, allocations: 0.6622 MB / 0.9815 GB, free: 27.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1115 * 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 (1423): * Single equations (assignments): 1420 * 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.002959/2.364, allocations: 0.7184 MB / 0.9822 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006036/2.37, allocations: 3.702 MB / 0.9859 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.371, allocations: 0.62 MB / 0.9865 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/2.378, allocations: 3.575 MB / 0.9899 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/2.378, allocations: 33.33 kB / 0.99 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/2.378, allocations: 8.312 kB / 0.99 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/2.378, allocations: 12.94 kB / 0.99 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04952/2.428, allocations: 36.92 MB / 1.026 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.113e-05/2.428, allocations: 84 kB / 1.026 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/2.43, allocations: 0.8076 MB / 1.027 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-05/2.43, allocations: 120 kB / 1.027 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/2.431, allocations: 127.5 kB / 1.027 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.655e-05/2.431, allocations: 160.6 kB / 1.027 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.109e-05/2.431, allocations: 131.4 kB / 1.027 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/2.449, allocations: 22.49 MB / 1.049 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/2.452, allocations: 0.7675 MB / 1.05 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/2.454, allocations: 129.1 kB / 1.05 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/2.457, allocations: 194.9 kB / 1.05 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/2.458, allocations: 0.54 MB / 1.051 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000381/2.458, allocations: 235.2 kB / 1.051 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008773/2.467, allocations: 3.792 MB / 1.055 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.162e-06/2.467, allocations: 0 / 1.055 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01557/2.483, allocations: 1.594 MB / 1.056 GB, free: 5.559 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.02832/2.511, allocations: 38.41 MB / 1.094 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01405/2.525, allocations: 6.752 MB / 1.101 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.343e-05/2.525, allocations: 12 kB / 1.101 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003717/2.529, allocations: 1.891 MB / 1.102 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007136/2.536, allocations: 0.8467 MB / 1.103 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06461/2.601, allocations: 20.98 MB / 1.124 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3715/2.972, allocations: 7.132 MB / 1.131 GB, free: 175.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01335/2.986, allocations: 3.4 MB / 1.134 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009617/2.996, allocations: 4.738 MB / 1.139 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.843e-06/2.996, allocations: 0 / 1.139 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/3.207, allocations: 134.2 MB / 1.27 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/3.207, allocations: 137.1 kB / 1.27 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/10.35, allocations: 4 kB / 1.27 GB, free: 112.4 MB / 0.6042 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