Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008987/0.0008988, allocations: 99.41 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3936/0.3936, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003031, allocations: 11.98 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3583, allocations: 63.24 MB / 0.5193 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.498, allocations: 103.9 MB / 0.6208 GB, free: 1.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.4984, allocations: 87.92 kB / 0.6208 GB, free: 1.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1401/0.6385, allocations: 55.11 MB / 0.6747 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.6386, allocations: 0 / 0.6747 GB, free: 10.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.6387, allocations: 59.94 kB / 0.6747 GB, free: 10.15 MB / 490.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.00877/0.6475, allocations: 2.624 MB / 0.6773 GB, free: 7.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.6476, allocations: 8.031 kB / 0.6773 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002365/0.65, allocations: 0.527 MB / 0.6778 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007988/0.658, allocations: 1.798 MB / 0.6796 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/0.6629, allocations: 1.668 MB / 0.6812 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.663, allocations: 205.5 kB / 0.6814 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/0.6636, allocations: 279.9 kB / 0.6817 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.674, allocations: 6.315 MB / 0.6878 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.674, allocations: 11.88 kB / 0.6878 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.6744, allocations: 135.9 kB / 0.688 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007872/0.6752, allocations: 0.6333 MB / 0.6886 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009725/0.6849, allocations: 5.507 MB / 0.694 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/0.9846, allocations: 22.31 MB / 0.7157 GB, free: 96.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.9881, allocations: 2.006 MB / 0.7177 GB, free: 96.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.9946, allocations: 3.699 MB / 0.7213 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.9947, allocations: 40.75 kB / 0.7214 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 4.839e-06/0.9947, allocations: 0 / 0.7214 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78): time 0.00511/0.9998, allocations: 2.232 MB / 0.7235 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.9999, allocations: 61 kB / 0.7236 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.002, allocations: 1.728 MB / 0.7253 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/1.002, allocations: 36.19 kB / 0.7253 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.003, allocations: 1.892 MB / 0.7272 GB, free: 93.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/1.003, allocations: 317.5 kB / 0.7275 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/1.003, allocations: 56.75 kB / 0.7275 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.003, allocations: 490 kB / 0.728 GB, free: 93.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/1.004, allocations: 0.8547 MB / 0.7288 GB, free: 93.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.006, allocations: 2.703 MB / 0.7315 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.008, allocations: 1.525 MB / 0.733 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/1.008, allocations: 18.38 kB / 0.733 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004179/1.012, allocations: 3.459 MB / 0.7363 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/1.012, allocations: 32.53 kB / 0.7364 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-05/1.012, allocations: 66.12 kB / 0.7364 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.154e-05/1.012, allocations: 96.75 kB / 0.7365 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.014, allocations: 0.6601 MB / 0.7372 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/1.014, allocations: 127.7 kB / 0.7373 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.016, allocations: 405.8 kB / 0.7377 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/1.016, allocations: 186.4 kB / 0.7379 GB, free: 90.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.002022/1.018, allocations: 1.373 MB / 0.7392 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.018, allocations: 160.7 kB / 0.7394 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/1.018, allocations: 199.4 kB / 0.7396 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.018, allocations: 8.781 kB / 0.7396 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.019, allocations: 1.156 kB / 0.7396 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.019, allocations: 4.672 kB / 0.7396 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/1.024, allocations: 4.106 MB / 0.7436 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.025, allocations: 6.406 kB / 0.7436 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/1.025, allocations: 104.5 kB / 0.7437 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.025, allocations: 10.03 kB / 0.7437 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/1.025, allocations: 17.36 kB / 0.7437 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/1.025, allocations: 18.45 kB / 0.7437 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.025, allocations: 11.62 kB / 0.7437 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.026, allocations: 1.722 MB / 0.7454 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/1.027, allocations: 267 kB / 0.7457 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.027, allocations: 18.98 kB / 0.7457 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/1.028, allocations: 28.09 kB / 0.7457 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/1.028, allocations: 58.83 kB / 0.7458 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/1.028, allocations: 30.22 kB / 0.7458 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002042/1.03, allocations: 1.273 MB / 0.747 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/1.03, allocations: 0 / 0.747 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003282/1.033, allocations: 0.7089 MB / 0.7477 GB, free: 86.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.002354/1.035, allocations: 4.051 MB / 0.7517 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00331/1.039, allocations: 1.984 MB / 0.7536 GB, free: 82.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.039, allocations: 1.812 kB / 0.7536 GB, free: 82.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/1.039, allocations: 462.4 kB / 0.7541 GB, free: 81.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.04, allocations: 229.3 kB / 0.7543 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/1.073, allocations: 60.85 MB / 0.8137 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/1.075, allocations: 2.372 MB / 0.816 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002176/1.078, allocations: 0.9765 MB / 0.817 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.079, allocations: 1.065 MB / 0.818 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/1.079, allocations: 0 / 0.818 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/1.135, allocations: 36.79 MB / 0.854 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/1.136, allocations: 174.4 kB / 0.8541 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.358, allocations: 0 / 0.8541 GB, free: 11.6 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat