Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",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.001635/0.001635, allocations: 177.6 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.674/1.674, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009124/0.0009124, allocations: 82.62 kB / 261.7 MB, free: 1.695 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.2084/0.2084, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.651e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5239, allocations: 104.4 MB / 0.5679 GB, free: 7.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.5242, allocations: 73.72 kB / 0.568 GB, free: 7.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6903/1.215, allocations: 162.6 MB / 0.7267 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/1.215, allocations: 2.812 kB / 0.7267 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005445/1.215, allocations: 163.5 kB / 0.7269 GB, free: 91.77 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02819/1.243, allocations: 7.974 MB / 0.7347 GB, free: 88.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.243, allocations: 11.78 kB / 0.7347 GB, free: 88.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/1.264, allocations: 3.679 MB / 0.7383 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/1.289, allocations: 9.683 MB / 0.7477 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006487/1.29, allocations: 280.5 kB / 0.748 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004628/1.294, allocations: 0.4894 MB / 0.7485 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02229/1.317, allocations: 11.6 MB / 0.7598 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03637/1.353, allocations: 16.97 MB / 0.7764 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005075/1.354, allocations: 97.09 kB / 0.7765 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004017/1.358, allocations: 44.91 kB / 0.7765 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003398/1.361, allocations: 1.879 MB / 0.7784 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09367/1.455, allocations: 82.21 MB / 0.8586 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/1.459, allocations: 3.053 MB / 0.8616 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/1.461, allocations: 1.499 MB / 0.8631 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.461, allocations: 45.05 kB / 0.8631 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.461, allocations: 60.56 kB / 0.8632 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.789e-06/1.461, allocations: 0 / 0.8632 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.02475/1.486, allocations: 11.81 MB / 0.8747 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/1.486, allocations: 158.5 kB / 0.8749 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008962/1.495, allocations: 5.186 MB / 0.8799 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006067/1.496, allocations: 25.7 kB / 0.88 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004913/1.501, allocations: 5.934 MB / 0.8858 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.502, allocations: 0.9686 MB / 0.8867 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009005/1.503, allocations: 4 kB / 0.8867 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006579/1.504, allocations: 0.7057 MB / 0.8874 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.508, allocations: 2.37 MB / 0.8897 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3523/1.86, allocations: 8.38 MB / 0.8979 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009907/1.87, allocations: 4.383 MB / 0.9022 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003492/1.871, allocations: 62.94 kB / 0.9022 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.0284/1.899, allocations: 9.417 MB / 0.9114 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000272/1.899, allocations: 100.3 kB / 0.9115 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005572/1.9, allocations: 218.4 kB / 0.9117 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/1.9, allocations: 321.1 kB / 0.912 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008942/1.909, allocations: 2.325 MB / 0.9143 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005224/1.91, allocations: 422.8 kB / 0.9147 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009309/1.919, allocations: 467.9 kB / 0.9152 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002497/1.922, allocations: 0.579 MB / 0.9157 GB, free: 90.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 991 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1213): * Single equations (assignments): 1210 * 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.003632/1.926, allocations: 0.6378 MB / 0.9164 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005535/1.931, allocations: 2.847 MB / 0.9191 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.932, allocations: 0.5561 MB / 0.9197 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/1.937, allocations: 2.586 MB / 0.9222 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/1.938, allocations: 26.38 kB / 0.9222 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.938, allocations: 7.406 kB / 0.9222 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.938, allocations: 11.91 kB / 0.9222 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/1.972, allocations: 21.2 MB / 0.9429 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.422e-05/1.972, allocations: 54.53 kB / 0.943 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/1.974, allocations: 0.5641 MB / 0.9436 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-05/1.974, allocations: 80.88 kB / 0.9436 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/1.975, allocations: 81.45 kB / 0.9437 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.232e-05/1.975, allocations: 114.3 kB / 0.9438 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.858e-05/1.975, allocations: 92.97 kB / 0.9439 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009493/1.984, allocations: 14.83 MB / 0.9584 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.987, allocations: 0.6525 MB / 0.959 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.988, allocations: 88.92 kB / 0.9591 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/1.992, allocations: 157.6 kB / 0.9593 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/1.992, allocations: 375.9 kB / 0.9596 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.993, allocations: 155.2 kB / 0.9598 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007541/2, allocations: 3.481 MB / 0.9632 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/2, allocations: 3.344 kB / 0.9632 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01089/2.011, allocations: 1.326 MB / 0.9645 GB, free: 72.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.0124/2.023, allocations: 26.42 MB / 0.9903 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01037/2.034, allocations: 5.568 MB / 0.9957 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.689e-05/2.034, allocations: 6.656 kB / 0.9957 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/2.036, allocations: 1.409 MB / 0.9971 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/2.041, allocations: 0.7341 MB / 0.9978 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/2.087, allocations: 16.82 MB / 1.014 GB, free: 38.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.098, allocations: 5.93 MB / 1.02 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008825/2.107, allocations: 2.961 MB / 1.023 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006354/2.113, allocations: 3.798 MB / 1.027 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/2.113, allocations: 0 / 1.027 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5013/2.614, allocations: 113 MB / 1.137 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001185/2.614, allocations: 134 kB / 1.137 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.831/8.445, allocations: 1.422 kB / 1.137 GB, free: 113.3 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat