Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 176.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 96.56 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3007/0.3007, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.624e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5804, allocations: 104.5 MB / 0.5968 GB, free: 7.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.5808, allocations: 71.97 kB / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2013/0.7821, allocations: 59.42 MB / 0.6549 GB, free: 11.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.1e-06/0.7822, allocations: 0 / 0.6549 GB, free: 11.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001483/0.7823, allocations: 63.94 kB / 0.6549 GB, free: 11.91 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.01072/0.7931, allocations: 2.879 MB / 0.6577 GB, free: 8.973 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.7932, allocations: 11.98 kB / 0.6578 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.8059, allocations: 1.879 MB / 0.6596 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006809/0.8128, allocations: 1.895 MB / 0.6614 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.813, allocations: 108 kB / 0.6615 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.8146, allocations: 192 kB / 0.6617 GB, free: 4.836 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009938/0.8246, allocations: 4.799 MB / 0.6664 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.8391, allocations: 6.641 MB / 0.6729 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.8393, allocations: 11.88 kB / 0.6729 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/0.8396, allocations: 12 kB / 0.6729 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009307/0.8406, allocations: 0.7051 MB / 0.6736 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03138/0.872, allocations: 24.33 MB / 0.6974 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.8739, allocations: 1.481 MB / 0.6988 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.8747, allocations: 0.5468 MB / 0.6993 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.8747, allocations: 16.75 kB / 0.6994 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.8748, allocations: 43.34 kB / 0.6994 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=99): time 4.689e-06/0.8748, allocations: 4 kB / 0.6994 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.003797/0.8786, allocations: 1.546 MB / 0.7009 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.8786, allocations: 64.17 kB / 0.701 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.881, allocations: 1.638 MB / 0.7026 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.8811, allocations: 29.7 kB / 0.7026 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.8825, allocations: 2.143 MB / 0.7047 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.8829, allocations: 379.1 kB / 0.7051 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.883, allocations: 0 / 0.7051 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002874/0.8833, allocations: 0.4902 MB / 0.7055 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.8844, allocations: 0.8889 MB / 0.7064 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8868, allocations: 2.944 MB / 0.7093 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.8889, allocations: 1.643 MB / 0.7109 GB, free: 156 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-05/0.8889, allocations: 20 kB / 0.7109 GB, free: 136 kB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.311/1.2, allocations: 3.381 MB / 0.7142 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.2, allocations: 39.12 kB / 0.7142 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/1.2, allocations: 74.7 kB / 0.7143 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/1.201, allocations: 109.1 kB / 0.7144 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/1.203, allocations: 0.7506 MB / 0.7152 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002316/1.203, allocations: 143.5 kB / 0.7153 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.206, allocations: 370.6 kB / 0.7156 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/1.207, allocations: 209.4 kB / 0.7158 GB, free: 142.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (413): * Single equations (assignments): 410 * 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.0008442/1.208, allocations: 304 kB / 0.7161 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002326/1.21, allocations: 1.116 MB / 0.7172 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/1.21, allocations: 172.7 kB / 0.7174 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/1.213, allocations: 1.24 MB / 0.7186 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.213, allocations: 14.55 kB / 0.7186 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.213, allocations: 0.6562 kB / 0.7186 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.213, allocations: 4.594 kB / 0.7186 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.225, allocations: 4.554 MB / 0.7231 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.225, allocations: 8.188 kB / 0.7231 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/1.225, allocations: 141.7 kB / 0.7232 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/1.225, allocations: 13.34 kB / 0.7232 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/1.225, allocations: 17.19 kB / 0.7232 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-05/1.225, allocations: 18.11 kB / 0.7233 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.225, allocations: 13.08 kB / 0.7233 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.228, allocations: 2.123 MB / 0.7253 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/1.228, allocations: 252.1 kB / 0.7256 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/1.228, allocations: 14.05 kB / 0.7256 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/1.229, allocations: 19.52 kB / 0.7256 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.229, allocations: 81.78 kB / 0.7257 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/1.229, allocations: 44.42 kB / 0.7257 GB, free: 140 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001999/1.231, allocations: 1.087 MB / 0.7268 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/1.231, allocations: 0 / 0.7268 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004787/1.236, allocations: 0.7771 MB / 0.7276 GB, free: 139.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.003948/1.24, allocations: 5.173 MB / 0.7326 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004192/1.244, allocations: 2.095 MB / 0.7346 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.244, allocations: 3.375 kB / 0.7347 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/1.245, allocations: 0.5577 MB / 0.7352 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.246, allocations: 205.9 kB / 0.7354 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.261, allocations: 5.901 MB / 0.7412 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.263, allocations: 2.68 MB / 0.7438 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002633/1.266, allocations: 1.132 MB / 0.7449 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.267, allocations: 1.263 MB / 0.7461 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/1.267, allocations: 3.188 kB / 0.7461 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07026/1.338, allocations: 38.05 MB / 0.7833 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.338, allocations: 141.3 kB / 0.7834 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/4.151, allocations: 4 kB / 0.7834 GB, free: 122.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat