Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",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.001473/0.001472, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000883/0.000883, allocations: 89.11 kB / 292.1 MB, free: 10.93 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.3706/0.3706, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4448, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.5978, allocations: 102.9 MB / 0.6101 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.598, allocations: 83.92 kB / 0.6102 GB, free: 8.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1335/0.7315, allocations: 53.75 MB / 0.6627 GB, free: 2.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.7316, allocations: 0 / 0.6627 GB, free: 2.035 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.7317, allocations: 52 kB / 0.6627 GB, free: 1.984 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007481/0.7392, allocations: 2.632 MB / 0.6653 GB, free: 15.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.7392, allocations: 8.031 kB / 0.6653 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/0.7409, allocations: 0.5192 MB / 0.6658 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007229/0.7481, allocations: 1.794 MB / 0.6676 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.7526, allocations: 1.676 MB / 0.6692 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.7528, allocations: 209.5 kB / 0.6694 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009259/0.7537, allocations: 267.9 kB / 0.6697 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.7665, allocations: 6.323 MB / 0.6758 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.7666, allocations: 15.88 kB / 0.6758 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/0.767, allocations: 123.9 kB / 0.676 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001086/0.7681, allocations: 0.6294 MB / 0.6766 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3252/1.093, allocations: 5.506 MB / 0.682 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/1.123, allocations: 22.32 MB / 0.7038 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/1.127, allocations: 1.996 MB / 0.7057 GB, free: 93.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006165/1.133, allocations: 3.701 MB / 0.7093 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.133, allocations: 41.41 kB / 0.7094 GB, free: 91.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.446e-06/1.133, allocations: 0 / 0.7094 GB, free: 91.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005076/1.138, allocations: 2.231 MB / 0.7115 GB, free: 91.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.138, allocations: 58.25 kB / 0.7116 GB, free: 90.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.141, allocations: 1.743 MB / 0.7133 GB, free: 90.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/1.141, allocations: 36.42 kB / 0.7133 GB, free: 90.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/1.142, allocations: 1.882 MB / 0.7152 GB, free: 89.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/1.142, allocations: 322.3 kB / 0.7155 GB, free: 88.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.142, allocations: 56.16 kB / 0.7155 GB, free: 88.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/1.143, allocations: 497.1 kB / 0.716 GB, free: 88.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.144, allocations: 0.8499 MB / 0.7168 GB, free: 88.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.146, allocations: 2.707 MB / 0.7195 GB, free: 85.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/1.149, allocations: 1.517 MB / 0.721 GB, free: 84.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/1.149, allocations: 22.03 kB / 0.721 GB, free: 84.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00647/1.155, allocations: 3.45 MB / 0.7243 GB, free: 83.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/1.155, allocations: 33.75 kB / 0.7244 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.155, allocations: 67.11 kB / 0.7244 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/1.156, allocations: 96.53 kB / 0.7245 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.158, allocations: 0.6588 MB / 0.7252 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001314/1.158, allocations: 131.2 kB / 0.7253 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.16, allocations: 415.7 kB / 0.7257 GB, free: 83.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/1.16, allocations: 181 kB / 0.7259 GB, free: 83.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (362): * Single equations (assignments): 359 * 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.002965/1.163, allocations: 1.373 MB / 0.7272 GB, free: 82.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/1.164, allocations: 164.7 kB / 0.7274 GB, free: 82.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/1.164, allocations: 205.6 kB / 0.7276 GB, free: 82.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/1.164, allocations: 10.97 kB / 0.7276 GB, free: 82.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.164, allocations: 2.156 kB / 0.7276 GB, free: 82.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.164, allocations: 3.25 kB / 0.7276 GB, free: 82.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/1.174, allocations: 4.101 MB / 0.7316 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.174, allocations: 5.531 kB / 0.7316 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/1.175, allocations: 107.8 kB / 0.7317 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/1.175, allocations: 10.3 kB / 0.7317 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/1.175, allocations: 20.61 kB / 0.7317 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/1.175, allocations: 14.42 kB / 0.7317 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/1.175, allocations: 10.47 kB / 0.7317 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.176, allocations: 1.729 MB / 0.7334 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/1.177, allocations: 257.5 kB / 0.7337 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.177, allocations: 21.28 kB / 0.7337 GB, free: 78.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/1.178, allocations: 31.77 kB / 0.7337 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/1.178, allocations: 59.61 kB / 0.7338 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/1.178, allocations: 29.03 kB / 0.7338 GB, free: 78.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002225/1.18, allocations: 1.273 MB / 0.7351 GB, free: 78.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.18, allocations: 0 / 0.7351 GB, free: 78.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003811/1.184, allocations: 0.7079 MB / 0.7358 GB, free: 78.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002622/1.186, allocations: 4.046 MB / 0.7397 GB, free: 74.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003656/1.19, allocations: 1.986 MB / 0.7416 GB, free: 74.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.19, allocations: 0 / 0.7416 GB, free: 74.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/1.191, allocations: 468.5 kB / 0.7421 GB, free: 73.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.192, allocations: 223 kB / 0.7423 GB, free: 73.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03149/1.224, allocations: 60.85 MB / 0.8017 GB, free: 18.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.226, allocations: 2.37 MB / 0.804 GB, free: 17.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002125/1.228, allocations: 0.9759 MB / 0.805 GB, free: 17.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.229, allocations: 1.066 MB / 0.806 GB, free: 16.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/1.229, allocations: 0 / 0.806 GB, free: 16.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0587/1.288, allocations: 36.8 MB / 0.842 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.288, allocations: 170.6 kB / 0.8421 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/4.548, allocations: 4 kB / 0.8421 GB, free: 9.82 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat