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.001057/0.001057, allocations: 96.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02737/0.13, allocations: 29.39 MB / 0.5006 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1429, allocations: 6.271 MB / 0.5067 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.1472, allocations: 123.8 kB / 0.5068 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2091/0.3563, allocations: 286 kB / 0.5071 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.3593, allocations: 1.049 MB / 0.5081 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.3599, allocations: 262.1 kB / 0.5083 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.3636, allocations: 3.369 MB / 0.5116 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.3678, allocations: 3.348 MB / 0.5149 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/0.3688, allocations: 0.6253 MB / 0.5155 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3702, allocations: 1.025 MB / 0.5165 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.3704, allocations: 84.59 kB / 0.5166 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3717, allocations: 0.6356 MB / 0.5172 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.3729, allocations: 0.9879 MB / 0.5182 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008558/0.3737, allocations: 1.178 MB / 0.5193 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.3778, allocations: 4.001 MB / 0.5232 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3779, allocations: 1.688 kB / 0.5232 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3779, allocations: 1.531 kB / 0.5232 GB, free: 7.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.378, allocations: 0 / 0.5232 GB, free: 7.805 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005215/0.3832, allocations: 2.346 MB / 0.5255 GB, free: 6.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3833, allocations: 14.83 kB / 0.5255 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008996/0.3842, allocations: 481.4 kB / 0.526 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.3892, allocations: 1.604 MB / 0.5276 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.3913, allocations: 1.312 MB / 0.5289 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.3914, allocations: 148.8 kB / 0.529 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.3917, allocations: 190.2 kB / 0.5292 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007339/0.399, allocations: 6.243 MB / 0.5353 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.3991, allocations: 14.03 kB / 0.5353 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.3993, allocations: 87.05 kB / 0.5354 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/0.401, allocations: 1.345 MB / 0.5367 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007284/0.4083, allocations: 5.336 MB / 0.5419 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.4291, allocations: 20.17 MB / 0.5616 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.4328, allocations: 2.016 MB / 0.5636 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.4337, allocations: 0.6953 MB / 0.5642 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005339/0.4391, allocations: 3.61 MB / 0.5678 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4391, allocations: 39 kB / 0.5678 GB, free: 3.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.968e-06/0.4391, allocations: 0 / 0.5678 GB, free: 3.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.004958/0.4441, allocations: 1.982 MB / 0.5697 GB, free: 1.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4441, allocations: 67.78 kB / 0.5698 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.4464, allocations: 1.934 MB / 0.5717 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.4464, allocations: 33.7 kB / 0.5717 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.4475, allocations: 1.836 MB / 0.5735 GB, free: 13.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.4478, allocations: 322.2 kB / 0.5738 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.4481, allocations: 275.4 kB / 0.5741 GB, free: 12.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4482, allocations: 353.9 kB / 0.5744 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4494, allocations: 0.8881 MB / 0.5753 GB, free: 11.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.4517, allocations: 2.754 MB / 0.578 GB, free: 7.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003709/0.4554, allocations: 3.964 MB / 0.5819 GB, free: 3.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/0.4554, allocations: 20 kB / 0.5819 GB, free: 3.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004797/0.4602, allocations: 3.522 MB / 0.5853 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.4603, allocations: 34.66 kB / 0.5853 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-05/0.4604, allocations: 68 kB / 0.5854 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.193e-05/0.4605, allocations: 84 kB / 0.5855 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.4621, allocations: 0.661 MB / 0.5861 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.264e-05/0.4622, allocations: 129 kB / 0.5863 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4639, allocations: 419.9 kB / 0.5867 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.4641, allocations: 194.6 kB / 0.5868 GB, free: 14.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001878/0.466, allocations: 1.331 MB / 0.5881 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.4662, allocations: 157.9 kB / 0.5883 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.4666, allocations: 200.9 kB / 0.5885 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.4666, allocations: 15.94 kB / 0.5885 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4666, allocations: 0 / 0.5885 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4666, allocations: 3.984 kB / 0.5885 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/0.4724, allocations: 4.027 MB / 0.5924 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.4725, allocations: 8 kB / 0.5924 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.4728, allocations: 107.9 kB / 0.5925 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.4729, allocations: 8 kB / 0.5926 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.4729, allocations: 20 kB / 0.5926 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.4729, allocations: 11.94 kB / 0.5926 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4729, allocations: 15.92 kB / 0.5926 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4743, allocations: 1.255 MB / 0.5938 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.4746, allocations: 258.7 kB / 0.5941 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.4748, allocations: 27.92 kB / 0.5941 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.4753, allocations: 27.89 kB / 0.5941 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.4754, allocations: 51.83 kB / 0.5942 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.4755, allocations: 34.88 kB / 0.5942 GB, free: 6.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4772, allocations: 1.271 MB / 0.5954 GB, free: 5.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4772, allocations: 0 / 0.5954 GB, free: 5.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002191/0.4794, allocations: 0.6727 MB / 0.5961 GB, free: 4.656 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.4812, allocations: 1.875 MB / 0.5979 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.4838, allocations: 2.02 MB / 0.5999 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4838, allocations: 4 kB / 0.5999 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.4843, allocations: 457.5 kB / 0.6003 GB, free: 220 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.4868, allocations: 233.5 kB / 0.6006 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/0.5216, allocations: 23.32 MB / 0.6233 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/0.5249, allocations: 2.277 MB / 0.6256 GB, free: 3.402 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002368/0.5272, allocations: 0.952 MB / 0.6265 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.5288, allocations: 1.042 MB / 0.6275 GB, free: 1.402 MB / 478.1 MB Notification: Performance of SimCode: time 2.645e-06/0.5289, allocations: 0 / 0.6275 GB, free: 1.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.5814, allocations: 31.14 MB / 0.6579 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.5816, allocations: 189.3 kB / 0.6581 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.055, allocations: 0 / 0.6581 GB, free: 2.176 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches