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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008113/0.0008112, allocations: 98.12 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009808/0.0009808, allocations: 192 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 63.47 MB / 481.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03163/0.1539, allocations: 34.13 MB / 0.5037 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2555/0.4094, allocations: 7.242 MB / 0.5107 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009525/0.419, allocations: 155.9 kB / 0.5109 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006303/0.4254, allocations: 1.51 MB / 0.5124 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.4401, allocations: 4.4 MB / 0.5167 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.442, allocations: 255.3 kB / 0.5169 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.4468, allocations: 2.681 MB / 0.5195 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005972/0.4528, allocations: 2.978 MB / 0.5224 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.4551, allocations: 0.6836 MB / 0.5231 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.4575, allocations: 1.033 MB / 0.5241 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006165/0.4581, allocations: 86.88 kB / 0.5242 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.4599, allocations: 0.5269 MB / 0.5247 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.4617, allocations: 0.9868 MB / 0.5257 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.4631, allocations: 0.5236 MB / 0.5262 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.468, allocations: 3.426 MB / 0.5295 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.468, allocations: 6.781 kB / 0.5295 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.468, allocations: 0 / 0.5295 GB, free: 5.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.4682, allocations: 0 / 0.5295 GB, free: 5.746 MB / 382.1 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.005245/0.4734, allocations: 2.444 MB / 0.5319 GB, free: 4.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4735, allocations: 9.406 kB / 0.5319 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009229/0.4744, allocations: 495.2 kB / 0.5324 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.4792, allocations: 1.631 MB / 0.534 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.4821, allocations: 1.323 MB / 0.5353 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4822, allocations: 151.5 kB / 0.5354 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.4827, allocations: 191 kB / 0.5356 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4934, allocations: 6.419 MB / 0.5419 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.4935, allocations: 13.47 kB / 0.5419 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.4937, allocations: 95.94 kB / 0.542 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.4959, allocations: 1.411 MB / 0.5434 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.5067, allocations: 5.459 MB / 0.5487 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/0.5364, allocations: 20.59 MB / 0.5688 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.5405, allocations: 2.005 MB / 0.5708 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009907/0.5415, allocations: 0.6899 MB / 0.5714 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007159/0.5487, allocations: 3.627 MB / 0.575 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.5488, allocations: 39 kB / 0.575 GB, free: 2.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.02e-06/0.5488, allocations: 1.203 kB / 0.575 GB, free: 2.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006158/0.555, allocations: 1.981 MB / 0.577 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5551, allocations: 55.84 kB / 0.577 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.5591, allocations: 1.949 MB / 0.5789 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.5592, allocations: 37.7 kB / 0.579 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.561, allocations: 1.885 MB / 0.5808 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/0.5614, allocations: 309.7 kB / 0.5811 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.5615, allocations: 62.58 kB / 0.5811 GB, free: 12.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004231/0.562, allocations: 489.3 kB / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.5635, allocations: 0.8881 MB / 0.5825 GB, free: 11.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.5664, allocations: 2.764 MB / 0.5852 GB, free: 7.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.5685, allocations: 1.556 MB / 0.5867 GB, free: 5.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-05/0.5686, allocations: 20 kB / 0.5867 GB, free: 5.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005323/0.5739, allocations: 3.523 MB / 0.5902 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.574, allocations: 36 kB / 0.5902 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.573e-05/0.574, allocations: 64 kB / 0.5903 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.606e-05/0.5741, allocations: 104.7 kB / 0.5904 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.576, allocations: 0.6628 MB / 0.591 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.5761, allocations: 131.5 kB / 0.5911 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.578, allocations: 419.3 kB / 0.5915 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.5783, allocations: 192 kB / 0.5917 GB, free: 0.6133 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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 (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002406/0.5807, allocations: 1.372 MB / 0.5931 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.581, allocations: 157.8 kB / 0.5932 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.5814, allocations: 197.2 kB / 0.5934 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.5815, allocations: 8 kB / 0.5934 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5815, allocations: 3.953 kB / 0.5934 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5815, allocations: 3.984 kB / 0.5934 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.5881, allocations: 4.093 MB / 0.5974 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5881, allocations: 7.938 kB / 0.5974 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.5885, allocations: 103.8 kB / 0.5975 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.5885, allocations: 12 kB / 0.5975 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.5886, allocations: 23.95 kB / 0.5975 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.5886, allocations: 19.92 kB / 0.5976 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.5886, allocations: 8 kB / 0.5976 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.5907, allocations: 1.259 MB / 0.5988 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/0.5913, allocations: 266.6 kB / 0.5991 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.5915, allocations: 22.97 kB / 0.5991 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.5922, allocations: 27.94 kB / 0.5991 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.5924, allocations: 55.83 kB / 0.5992 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5925, allocations: 31.94 kB / 0.5992 GB, free: 8.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002784/0.5953, allocations: 1.275 MB / 0.6004 GB, free: 7.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5953, allocations: 0 / 0.6004 GB, free: 7.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004288/0.5996, allocations: 0.7032 MB / 0.6011 GB, free: 6.723 MB / 446.1 MB 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.002869/0.6025, allocations: 1.869 MB / 0.6029 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004598/0.6071, allocations: 2.018 MB / 0.6049 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.6071, allocations: 0 / 0.6049 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.6078, allocations: 461 kB / 0.6054 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.6092, allocations: 233.2 kB / 0.6056 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/0.6477, allocations: 15.47 MB / 0.6207 GB, free: 1.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.6504, allocations: 2.319 MB / 0.6229 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002388/0.6528, allocations: 0.9678 MB / 0.6239 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.6542, allocations: 1.073 MB / 0.6249 GB, free: 12.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6542, allocations: 1.641 kB / 0.6249 GB, free: 12.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.7223, allocations: 36.66 MB / 0.6607 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.7225, allocations: 176.8 kB / 0.6609 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.642, allocations: 0 / 0.6609 GB, free: 7.98 MB / 0.4981 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