Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",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.001028/0.001028, allocations: 170.4 kB / 8.74 MB, free: 348 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.453/1.453, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001059/0.001058, allocations: 99.06 kB / 281.6 MB, free: 5.32 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.2151/0.2151, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.735e-05, allocations: 8.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5994, allocations: 105.3 MB / 0.5976 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5997, allocations: 79.95 kB / 0.5976 GB, free: 6.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6588/1.258, allocations: 147.9 MB / 0.7421 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/1.259, allocations: 224 / 0.7421 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004055/1.259, allocations: 145.7 kB / 0.7422 GB, free: 102.9 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.0245/1.283, allocations: 7.36 MB / 0.7494 GB, free: 100 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/1.284, allocations: 15.05 kB / 0.7494 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/1.302, allocations: 3.525 MB / 0.7529 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.325, allocations: 8.759 MB / 0.7614 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007703/1.326, allocations: 247.8 kB / 0.7617 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005018/1.331, allocations: 445 kB / 0.7621 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02156/1.353, allocations: 10.28 MB / 0.7721 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03893/1.392, allocations: 15.22 MB / 0.787 GB, free: 85.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004579/1.392, allocations: 82.56 kB / 0.7871 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003914/1.396, allocations: 47.94 kB / 0.7871 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/1.399, allocations: 1.622 MB / 0.7887 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08378/1.483, allocations: 76.22 MB / 0.8631 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.486, allocations: 2.356 MB / 0.8654 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.487, allocations: 1.134 MB / 0.8665 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/1.487, allocations: 27.86 kB / 0.8666 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.487, allocations: 51.88 kB / 0.8666 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 3.366e-06/1.487, allocations: 0 / 0.8666 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188): time 0.02209/1.509, allocations: 10.05 MB / 0.8764 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.51, allocations: 149.8 kB / 0.8766 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009102/1.519, allocations: 4.825 MB / 0.8813 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/1.519, allocations: 25.7 kB / 0.8813 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004538/1.524, allocations: 5.362 MB / 0.8865 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.525, allocations: 0.7408 MB / 0.8873 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/1.525, allocations: 0 / 0.8873 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005509/1.526, allocations: 0.661 MB / 0.8879 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.529, allocations: 1.961 MB / 0.8898 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007828/1.537, allocations: 7.37 MB / 0.897 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3618/1.899, allocations: 3.741 MB / 0.9007 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002041/1.899, allocations: 55.16 kB / 0.9007 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02164/1.921, allocations: 8.091 MB / 0.9086 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/1.921, allocations: 89.81 kB / 0.9087 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004079/1.921, allocations: 197 kB / 0.9089 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/1.922, allocations: 286.7 kB / 0.9092 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007581/1.929, allocations: 2.02 MB / 0.9112 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004524/1.93, allocations: 381.5 kB / 0.9115 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007663/1.938, allocations: 426.5 kB / 0.9119 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/1.939, allocations: 0.5086 MB / 0.9124 GB, free: 113.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 68 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1049): * Single equations (assignments): 1046 * 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.001434/1.941, allocations: 0.5911 MB / 0.913 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004116/1.945, allocations: 2.153 MB / 0.9151 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008416/1.946, allocations: 0.4949 MB / 0.9156 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.948, allocations: 0.5857 MB / 0.9162 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/1.948, allocations: 23.8 kB / 0.9162 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/1.948, allocations: 0.5156 kB / 0.9162 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/1.948, allocations: 11.47 kB / 0.9162 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.967, allocations: 12.18 MB / 0.9281 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.588e-05/1.967, allocations: 39.75 kB / 0.9281 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.969, allocations: 392.9 kB / 0.9285 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.648e-05/1.969, allocations: 58 kB / 0.9285 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.969, allocations: 55.59 kB / 0.9286 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.102e-05/1.969, allocations: 75.78 kB / 0.9287 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-05/1.969, allocations: 72.42 kB / 0.9287 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/1.976, allocations: 10.12 MB / 0.9386 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.977, allocations: 0.5774 MB / 0.9392 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.977, allocations: 59.48 kB / 0.9392 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.979, allocations: 136.1 kB / 0.9394 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.98, allocations: 256.8 kB / 0.9396 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.98, allocations: 115.2 kB / 0.9397 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006051/1.986, allocations: 3.247 MB / 0.9429 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/1.986, allocations: 0 / 0.9429 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009796/1.996, allocations: 1.154 MB / 0.944 GB, free: 99.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 209 * 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.008813/2.004, allocations: 18.75 MB / 0.9623 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008698/2.013, allocations: 4.581 MB / 0.9668 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.716e-05/2.013, allocations: 6.625 kB / 0.9668 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/2.015, allocations: 1.009 MB / 0.9678 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/2.02, allocations: 0.7099 MB / 0.9685 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/2.058, allocations: 14.47 MB / 0.9826 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009616/2.067, allocations: 5.365 MB / 0.9879 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008499/2.076, allocations: 2.608 MB / 0.9904 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006522/2.082, allocations: 3.39 MB / 0.9937 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.693e-06/2.083, allocations: 0 / 0.9937 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/2.251, allocations: 100.4 MB / 1.092 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/2.252, allocations: 142.3 kB / 1.092 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/7.598, allocations: 0 / 1.092 GB, free: 6.668 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat