Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_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.001207/0.001207, allocations: 183 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.652/1.652, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008824/0.0008823, allocations: 85.38 kB / 267 MB, free: 9.27 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.3862/0.3862, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.587e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5726, allocations: 102.1 MB / 0.5726 GB, free: 3.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5729, allocations: 72.16 kB / 0.5726 GB, free: 3.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1447/0.7176, allocations: 57.08 MB / 0.6284 GB, free: 2.305 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.7177, allocations: 3.984 kB / 0.6284 GB, free: 2.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.7178, allocations: 56 kB / 0.6284 GB, free: 2.246 MB / 442.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.009428/0.7272, allocations: 2.674 MB / 0.631 GB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7273, allocations: 12.03 kB / 0.631 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001892/0.7292, allocations: 0.5606 MB / 0.6316 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008437/0.7377, allocations: 1.844 MB / 0.6334 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/0.7432, allocations: 1.749 MB / 0.6351 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.7435, allocations: 226.9 kB / 0.6353 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.7455, allocations: 296.2 kB / 0.6356 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.7655, allocations: 6.766 MB / 0.6422 GB, free: 4.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-05/0.7657, allocations: 15.88 kB / 0.6422 GB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/0.7663, allocations: 139.9 kB / 0.6424 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/0.7675, allocations: 0.7039 MB / 0.643 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.7817, allocations: 5.849 MB / 0.6488 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/0.8223, allocations: 23.94 MB / 0.6721 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.8272, allocations: 2.174 MB / 0.6743 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.8287, allocations: 0.7892 MB / 0.675 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008103/0.8368, allocations: 4.011 MB / 0.6789 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.8369, allocations: 47.31 kB / 0.679 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.238e-06/0.8369, allocations: 0 / 0.679 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.005037/0.8419, allocations: 1.759 MB / 0.6807 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.842, allocations: 64.19 kB / 0.6808 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.8451, allocations: 1.805 MB / 0.6825 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.8452, allocations: 41.69 kB / 0.6826 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.8468, allocations: 2.011 MB / 0.6845 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/0.8473, allocations: 379.1 kB / 0.6849 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8474, allocations: 60 kB / 0.685 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.8476, allocations: 444.9 kB / 0.6854 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.8491, allocations: 0.9278 MB / 0.6863 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.8518, allocations: 2.903 MB / 0.6891 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.8542, allocations: 1.669 MB / 0.6907 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.218e-05/0.8542, allocations: 24 kB / 0.6908 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.348/1.202, allocations: 3.724 MB / 0.6944 GB, free: 119 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/1.202, allocations: 38.62 kB / 0.6944 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/1.203, allocations: 70.94 kB / 0.6945 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/1.203, allocations: 101.8 kB / 0.6946 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/1.205, allocations: 0.7312 MB / 0.6953 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000165/1.205, allocations: 137 kB / 0.6955 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.208, allocations: 451.5 kB / 0.6959 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/1.208, allocations: 196.3 kB / 0.6961 GB, free: 119 MB / 0.4948 GB 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 () * 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.0004343/1.209, allocations: 359.5 kB / 0.6964 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/1.209, allocations: 173.8 kB / 0.6966 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/1.211, allocations: 1.222 MB / 0.6978 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/1.211, allocations: 10.16 kB / 0.6978 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.211, allocations: 2.375 kB / 0.6978 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.211, allocations: 6.422 kB / 0.6978 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/1.221, allocations: 5.02 MB / 0.7027 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.221, allocations: 9.344 kB / 0.7027 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/1.221, allocations: 142.8 kB / 0.7028 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/1.221, allocations: 14.88 kB / 0.7029 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/1.221, allocations: 29 kB / 0.7029 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/1.222, allocations: 25.48 kB / 0.7029 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/1.222, allocations: 14.94 kB / 0.7029 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.224, allocations: 2.304 MB / 0.7052 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/1.224, allocations: 280.9 kB / 0.7054 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.224, allocations: 29.33 kB / 0.7055 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/1.225, allocations: 42 kB / 0.7055 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.225, allocations: 83.19 kB / 0.7056 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/1.225, allocations: 42.55 kB / 0.7056 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001752/1.227, allocations: 1.312 MB / 0.7069 GB, free: 116 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.227, allocations: 0 / 0.7069 GB, free: 116 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003266/1.23, allocations: 0.7681 MB / 0.7077 GB, free: 115.9 MB / 0.4948 GB 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 () * 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.00294/1.233, allocations: 5.558 MB / 0.7131 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003426/1.237, allocations: 2.21 MB / 0.7152 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.237, allocations: 0 / 0.7152 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/1.237, allocations: 0.5548 MB / 0.7158 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.239, allocations: 240.4 kB / 0.716 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.251, allocations: 5.605 MB / 0.7215 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.253, allocations: 2.519 MB / 0.7239 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002704/1.256, allocations: 1.048 MB / 0.725 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.257, allocations: 1.171 MB / 0.7261 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.924e-06/1.257, allocations: 0 / 0.7261 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08916/1.347, allocations: 40.26 MB / 0.7654 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.347, allocations: 142.7 kB / 0.7656 GB, free: 106 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.467, allocations: 2.219 kB / 0.7656 GB, free: 106 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat