Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000909/0.0009091, allocations: 96.17 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.705e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5708, allocations: 103.2 MB / 0.6053 GB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5712, allocations: 72.59 kB / 0.6053 GB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.7134, allocations: 53.95 MB / 0.658 GB, free: 1.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.726e-06/0.7135, allocations: 0 / 0.658 GB, free: 1.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001181/0.7137, allocations: 63.88 kB / 0.6581 GB, free: 1.281 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.00981/0.7235, allocations: 2.525 MB / 0.6605 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.7235, allocations: 8.031 kB / 0.6605 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008533/0.7321, allocations: 1.805 MB / 0.6623 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.7366, allocations: 1.662 MB / 0.6639 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.7369, allocations: 88 kB / 0.664 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.7382, allocations: 156 kB / 0.6642 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008219/0.7464, allocations: 4.144 MB / 0.6682 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.7606, allocations: 5.773 MB / 0.6738 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.7609, allocations: 15.88 kB / 0.6739 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/0.7623, allocations: 8 kB / 0.6739 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/0.7636, allocations: 0.6456 MB / 0.6745 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.7962, allocations: 22.16 MB / 0.6961 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.7981, allocations: 1.379 MB / 0.6975 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.7989, allocations: 0.4909 MB / 0.698 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.799, allocations: 12.56 kB / 0.698 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.799, allocations: 43.08 kB / 0.698 GB, free: 7.531 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 4.979e-06/0.7991, allocations: 0 / 0.698 GB, free: 7.531 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.003226/0.8023, allocations: 1.313 MB / 0.6993 GB, free: 6.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.8024, allocations: 63.95 kB / 0.6994 GB, free: 6.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.8049, allocations: 1.576 MB / 0.7009 GB, free: 4.559 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.805, allocations: 25.7 kB / 0.7009 GB, free: 4.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.8064, allocations: 1.91 MB / 0.7028 GB, free: 2.586 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.8069, allocations: 351.5 kB / 0.7031 GB, free: 2.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.807, allocations: 96 / 0.7031 GB, free: 2.238 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003342/0.8073, allocations: 0.4898 MB / 0.7036 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.8086, allocations: 0.8378 MB / 0.7044 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.8112, allocations: 2.848 MB / 0.7072 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.8134, allocations: 1.561 MB / 0.7087 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/0.8135, allocations: 24 kB / 0.7088 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.005349/0.8189, allocations: 3.226 MB / 0.7119 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.8189, allocations: 40.25 kB / 0.7119 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.973e-05/0.819, allocations: 72 kB / 0.712 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.8191, allocations: 108 kB / 0.7121 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.8212, allocations: 0.7213 MB / 0.7128 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.8213, allocations: 147.4 kB / 0.713 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.8234, allocations: 355.6 kB / 0.7133 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.8237, allocations: 204 kB / 0.7135 GB, free: 6.578 MB / 0.4948 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.0003814/0.8241, allocations: 294.3 kB / 0.7138 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001421/0.8255, allocations: 1.008 MB / 0.7148 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.8257, allocations: 165.8 kB / 0.7149 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.8274, allocations: 1.131 MB / 0.716 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.8274, allocations: 16 kB / 0.716 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.8275, allocations: 0 / 0.716 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.8275, allocations: 3.984 kB / 0.716 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/0.8334, allocations: 3.719 MB / 0.7197 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.8334, allocations: 8 kB / 0.7197 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.8339, allocations: 115.8 kB / 0.7198 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.54e-05/0.834, allocations: 12 kB / 0.7198 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.834, allocations: 15.98 kB / 0.7198 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.834, allocations: 11.94 kB / 0.7198 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.834, allocations: 11.94 kB / 0.7198 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.8358, allocations: 1.799 MB / 0.7216 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.8362, allocations: 234.8 kB / 0.7218 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.8363, allocations: 23.92 kB / 0.7218 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.8368, allocations: 19.98 kB / 0.7219 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.8369, allocations: 55.78 kB / 0.7219 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.837, allocations: 40 kB / 0.722 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001524/0.8385, allocations: 1.046 MB / 0.723 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8385, allocations: 0 / 0.723 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00347/0.842, allocations: 0.6606 MB / 0.7236 GB, free: 11.72 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.003065/0.8451, allocations: 4.286 MB / 0.7278 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00326/0.8483, allocations: 1.974 MB / 0.7297 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8484, allocations: 8.75 kB / 0.7297 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.849, allocations: 0.5039 MB / 0.7302 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.8501, allocations: 181.8 kB / 0.7304 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.8605, allocations: 5.113 MB / 0.7354 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.8628, allocations: 2.372 MB / 0.7377 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00264/0.8655, allocations: 1.073 MB / 0.7388 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.867, allocations: 1.093 MB / 0.7398 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.867, allocations: 0 / 0.7398 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.347/1.214, allocations: 34.48 MB / 0.7735 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.214, allocations: 133.1 kB / 0.7736 GB, free: 155 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.878, allocations: 0 / 0.7736 GB, free: 155 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat