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.0009693/0.0009693, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008229/0.0008231, allocations: 90.06 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1691/0.1691, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.33e-05, allocations: 7.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09242, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4698, allocations: 103.9 MB / 0.6129 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4701, allocations: 75.83 kB / 0.613 GB, free: 6.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1285/0.5986, allocations: 55.15 MB / 0.6668 GB, free: 6.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5987, allocations: 0 / 0.6668 GB, free: 6.371 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.5988, allocations: 55.98 kB / 0.6669 GB, free: 6.316 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.005695/0.6045, allocations: 2.529 MB / 0.6694 GB, free: 3.934 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6046, allocations: 15.97 kB / 0.6694 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001665/0.6062, allocations: 0.5245 MB / 0.6699 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.6135, allocations: 1.798 MB / 0.6716 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.6174, allocations: 1.659 MB / 0.6733 GB, free: 448 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.6176, allocations: 206.4 kB / 0.6735 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007994/0.6184, allocations: 281 kB / 0.6737 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.6285, allocations: 6.257 MB / 0.6798 GB, free: 9.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.6285, allocations: 19.81 kB / 0.6799 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.6289, allocations: 123.9 kB / 0.68 GB, free: 9.289 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007644/0.6296, allocations: 0.645 MB / 0.6806 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008308/0.638, allocations: 5.419 MB / 0.6859 GB, free: 3.203 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.6625, allocations: 22.31 MB / 0.7077 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.6662, allocations: 1.992 MB / 0.7096 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/0.6671, allocations: 0.6924 MB / 0.7103 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005755/0.6729, allocations: 3.687 MB / 0.7139 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6729, allocations: 46.83 kB / 0.714 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.6729, allocations: 0 / 0.714 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78): time 0.004126/0.6771, allocations: 1.585 MB / 0.7155 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.6771, allocations: 59.84 kB / 0.7156 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.6792, allocations: 1.715 MB / 0.7172 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.6793, allocations: 37.7 kB / 0.7173 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.6803, allocations: 1.891 MB / 0.7191 GB, free: 192 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.6806, allocations: 316.2 kB / 0.7194 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.6807, allocations: 56 kB / 0.7195 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002515/0.6809, allocations: 493 kB / 0.7199 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.682, allocations: 0.8296 MB / 0.7207 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.6842, allocations: 2.686 MB / 0.7234 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.6859, allocations: 1.529 MB / 0.7249 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.686, allocations: 16 kB / 0.7249 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00427/0.6902, allocations: 3.42 MB / 0.7282 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.6903, allocations: 32 kB / 0.7282 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-05/0.6904, allocations: 68 kB / 0.7283 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.2e-05/0.6905, allocations: 100.5 kB / 0.7284 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.6921, allocations: 0.6628 MB / 0.7291 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-05/0.6922, allocations: 135.4 kB / 0.7292 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.6937, allocations: 407.7 kB / 0.7296 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.694, allocations: 180 kB / 0.7297 GB, free: 4.332 MB / 0.5105 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 () * 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.0003134/0.6943, allocations: 346.4 kB / 0.7301 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.6945, allocations: 157.8 kB / 0.7302 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.6949, allocations: 209.2 kB / 0.7304 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.6949, allocations: 11.95 kB / 0.7304 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6949, allocations: 0 / 0.7304 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6949, allocations: 0 / 0.7304 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/0.7007, allocations: 4.094 MB / 0.7344 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7008, allocations: 7.984 kB / 0.7344 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.7011, allocations: 103.8 kB / 0.7345 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.7011, allocations: 11.95 kB / 0.7346 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.7012, allocations: 23.98 kB / 0.7346 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.7012, allocations: 11.94 kB / 0.7346 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7012, allocations: 11.94 kB / 0.7346 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.7027, allocations: 1.72 MB / 0.7363 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.703, allocations: 262.7 kB / 0.7365 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.7031, allocations: 19.98 kB / 0.7365 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.7036, allocations: 31.89 kB / 0.7366 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.7037, allocations: 63.73 kB / 0.7366 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.7037, allocations: 31.89 kB / 0.7367 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001542/0.7053, allocations: 1.256 MB / 0.7379 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7053, allocations: 11.88 kB / 0.7379 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002856/0.7081, allocations: 0.7038 MB / 0.7386 GB, free: 10.75 MB / 0.5261 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 () * 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.002717/0.7109, allocations: 4.041 MB / 0.7425 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.7135, allocations: 1.948 MB / 0.7444 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.7136, allocations: 5.875 kB / 0.7445 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.7141, allocations: 461.1 kB / 0.7449 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.7149, allocations: 223 kB / 0.7451 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2482/0.9632, allocations: 5.028 MB / 0.75 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/0.966, allocations: 2.374 MB / 0.7523 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002491/0.9685, allocations: 0.9677 MB / 0.7533 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.9695, allocations: 1.07 MB / 0.7543 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.9695, allocations: 0 / 0.7543 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/1.031, allocations: 37.1 MB / 0.7905 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/1.031, allocations: 150.8 kB / 0.7907 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.767, allocations: 3.875 kB / 0.7907 GB, free: 151.1 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