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.001697/0.001697, 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.474/1.474, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009179/0.000918, allocations: 92.44 kB / 281.6 MB, free: 5.332 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.2076/0.2076, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.611e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5686, allocations: 102.1 MB / 0.5945 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.569, allocations: 79.95 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.129/0.698, allocations: 52.55 MB / 0.6459 GB, free: 5.203 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6981, allocations: 0 / 0.6459 GB, free: 5.203 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.6982, allocations: 59.98 kB / 0.646 GB, free: 5.145 MB / 458.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.006053/0.7042, allocations: 2.519 MB / 0.6484 GB, free: 2.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7043, allocations: 11.98 kB / 0.6484 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.7119, allocations: 1.798 MB / 0.6502 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.7159, allocations: 1.668 MB / 0.6518 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.716, allocations: 92 kB / 0.6519 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/0.7169, allocations: 156 kB / 0.6521 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006813/0.7237, allocations: 4.141 MB / 0.6561 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.7343, allocations: 5.776 MB / 0.6617 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.7344, allocations: 19.81 kB / 0.6618 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.7348, allocations: 12 kB / 0.6618 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008549/0.7356, allocations: 0.6339 MB / 0.6624 GB, free: 3.855 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.7634, allocations: 22.15 MB / 0.684 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.7651, allocations: 1.39 MB / 0.6854 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.7657, allocations: 494.9 kB / 0.6859 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.7658, allocations: 20.48 kB / 0.6859 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.7658, allocations: 43.12 kB / 0.6859 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 3.787e-06/0.7659, allocations: 0 / 0.6859 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.003334/0.7692, allocations: 1.317 MB / 0.6872 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.7693, allocations: 55.97 kB / 0.6873 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.7719, allocations: 1.576 MB / 0.6888 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.772, allocations: 25.7 kB / 0.6888 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.7733, allocations: 1.918 MB / 0.6907 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.7737, allocations: 351.5 kB / 0.691 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.7737, allocations: 0 / 0.691 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.774, allocations: 497.6 kB / 0.6915 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7751, allocations: 0.834 MB / 0.6923 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.7776, allocations: 2.848 MB / 0.6951 GB, free: 388 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.7795, allocations: 1.565 MB / 0.6966 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/0.7796, allocations: 24 kB / 0.6966 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004871/0.7844, allocations: 3.226 MB / 0.6998 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.7845, allocations: 39.94 kB / 0.6998 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.926e-05/0.7846, allocations: 75.98 kB / 0.6999 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.7847, allocations: 108 kB / 0.7 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.7867, allocations: 0.7057 MB / 0.7007 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/0.7868, allocations: 143.4 kB / 0.7008 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.789, allocations: 371.9 kB / 0.7012 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.7893, allocations: 204 kB / 0.7014 GB, free: 9.926 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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.0004033/0.7897, allocations: 290.2 kB / 0.7017 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001562/0.7913, allocations: 1.012 MB / 0.7027 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.7915, allocations: 165.8 kB / 0.7028 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.7933, allocations: 1.135 MB / 0.7039 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.7933, allocations: 8 kB / 0.7039 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7933, allocations: 0 / 0.7039 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.7934, allocations: 7.938 kB / 0.7039 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.7996, allocations: 3.714 MB / 0.7076 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.7996, allocations: 4 kB / 0.7076 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.8001, allocations: 119.8 kB / 0.7077 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.8002, allocations: 12 kB / 0.7077 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.8002, allocations: 16 kB / 0.7077 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.8002, allocations: 16.55 kB / 0.7077 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.8002, allocations: 12 kB / 0.7077 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.8021, allocations: 1.807 MB / 0.7095 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.8025, allocations: 234.8 kB / 0.7097 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.8027, allocations: 8 kB / 0.7097 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.8031, allocations: 15.98 kB / 0.7097 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.8033, allocations: 63.77 kB / 0.7098 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.8033, allocations: 35.98 kB / 0.7098 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3329/1.136, allocations: 1.043 MB / 0.7109 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.152e-06/1.136, allocations: 0 / 0.7109 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005822/1.142, allocations: 0.6623 MB / 0.7115 GB, free: 147.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.00498/1.147, allocations: 4.283 MB / 0.7157 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005943/1.153, allocations: 1.983 MB / 0.7176 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.153, allocations: 1.031 kB / 0.7176 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.154, allocations: 0.5026 MB / 0.7181 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.156, allocations: 170.8 kB / 0.7183 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.179, allocations: 5.107 MB / 0.7233 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006274/1.186, allocations: 2.376 MB / 0.7256 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00479/1.19, allocations: 1.076 MB / 0.7266 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/1.193, allocations: 1.092 MB / 0.7277 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/1.193, allocations: 0 / 0.7277 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08028/1.273, allocations: 34.49 MB / 0.7614 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.274, allocations: 133.5 kB / 0.7615 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/4.146, allocations: 7.938 kB / 0.7615 GB, free: 139.5 MB / 0.5105 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