Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009281/0.0009281, allocations: 99.42 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 192.3 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.605/1.605, allocations: 227.7 MB / 246.4 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003162, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 63.56 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02747/0.1743, allocations: 27.38 MB / 0.4978 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.1934, allocations: 5.968 MB / 0.5037 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007876/0.2013, allocations: 123.8 kB / 0.5038 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005585/0.2069, allocations: 1.318 MB / 0.5051 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2711/0.4781, allocations: 3.833 MB / 0.5088 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4793, allocations: 244.3 kB / 0.509 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.4829, allocations: 2.605 MB / 0.5116 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004628/0.4876, allocations: 2.967 MB / 0.5145 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.4891, allocations: 0.665 MB / 0.5151 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.491, allocations: 1.009 MB / 0.5161 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.4915, allocations: 84.25 kB / 0.5162 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.493, allocations: 0.529 MB / 0.5167 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.4945, allocations: 0.9466 MB / 0.5176 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.4957, allocations: 0.5055 MB / 0.5181 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.4995, allocations: 3.319 MB / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4995, allocations: 1.125 kB / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4995, allocations: 0 / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.148e-05/0.4996, allocations: 0 / 0.5214 GB, free: 10.38 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.005612/0.5053, allocations: 2.39 MB / 0.5237 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5053, allocations: 9.719 kB / 0.5237 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.5103, allocations: 1.603 MB / 0.5253 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.513, allocations: 1.3 MB / 0.5266 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5132, allocations: 143.4 kB / 0.5267 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.5135, allocations: 188.7 kB / 0.5269 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009143/0.5227, allocations: 6.234 MB / 0.533 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.5228, allocations: 13.56 kB / 0.533 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.523, allocations: 86.88 kB / 0.5331 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.5246, allocations: 1.341 MB / 0.5344 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009026/0.5336, allocations: 5.307 MB / 0.5395 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.5599, allocations: 20.12 MB / 0.5592 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/0.5645, allocations: 2.077 MB / 0.5612 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5656, allocations: 0.6919 MB / 0.5619 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0063/0.5719, allocations: 3.495 MB / 0.5653 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.572, allocations: 35 kB / 0.5653 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.572, allocations: 0 / 0.5653 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005263/0.5773, allocations: 1.97 MB / 0.5673 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5773, allocations: 63.83 kB / 0.5673 GB, free: 11.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.581, allocations: 1.925 MB / 0.5692 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.5811, allocations: 33.7 kB / 0.5692 GB, free: 9.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.5827, allocations: 1.835 MB / 0.571 GB, free: 7.293 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.5831, allocations: 318.7 kB / 0.5713 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5833, allocations: 57.72 kB / 0.5714 GB, free: 6.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003601/0.5837, allocations: 498.8 kB / 0.5719 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5853, allocations: 0.8763 MB / 0.5727 GB, free: 5.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.5881, allocations: 2.736 MB / 0.5754 GB, free: 1.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.5905, allocations: 1.544 MB / 0.5769 GB, free: 352 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.761e-05/0.5905, allocations: 20 kB / 0.5769 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005899/0.5964, allocations: 3.501 MB / 0.5803 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.5965, allocations: 35.94 kB / 0.5804 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.5967, allocations: 68 kB / 0.5804 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.5968, allocations: 96 kB / 0.5805 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/0.599, allocations: 0.6557 MB / 0.5812 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.5991, allocations: 135.5 kB / 0.5813 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.6015, allocations: 409.1 kB / 0.5817 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/0.6019, allocations: 188.9 kB / 0.5819 GB, free: 11.25 MB / 430.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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003115/0.605, allocations: 1.344 MB / 0.5832 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.6053, allocations: 161.8 kB / 0.5833 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.6057, allocations: 196.9 kB / 0.5835 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6058, allocations: 13.69 kB / 0.5835 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6058, allocations: 0 / 0.5835 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6058, allocations: 0 / 0.5835 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007867/0.6137, allocations: 4.069 MB / 0.5875 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6137, allocations: 4 kB / 0.5875 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.6141, allocations: 99.81 kB / 0.5876 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/0.6141, allocations: 8 kB / 0.5876 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.6142, allocations: 21.17 kB / 0.5876 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.6142, allocations: 15.92 kB / 0.5877 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6142, allocations: 4 kB / 0.5877 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.6157, allocations: 1.241 MB / 0.5889 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.6162, allocations: 254.6 kB / 0.5891 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.6165, allocations: 17.95 kB / 0.5891 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.617, allocations: 27.97 kB / 0.5892 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.6171, allocations: 55.83 kB / 0.5892 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.6171, allocations: 28 kB / 0.5892 GB, free: 3.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.6191, allocations: 1.261 MB / 0.5905 GB, free: 2.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6191, allocations: 0 / 0.5905 GB, free: 2.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002606/0.6217, allocations: 0.6801 MB / 0.5911 GB, free: 1.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003497/0.622, allocations: 142.6 kB / 0.5913 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.6253, allocations: 2.01 MB / 0.5932 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6253, allocations: 2 kB / 0.5932 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.626, allocations: 463 kB / 0.5937 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6273, allocations: 227.8 kB / 0.5939 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.6386, allocations: 6.093 MB / 0.5998 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/0.6423, allocations: 2.275 MB / 0.6021 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002549/0.6448, allocations: 0.948 MB / 0.603 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.6452, allocations: 115.4 kB / 0.6031 GB, free: 5.148 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6453, allocations: 4 kB / 0.6031 GB, free: 5.145 MB / 446.1 MB Notification: Performance of Templates: time 0.03241/0.6777, allocations: 13.34 MB / 0.6161 GB, free: 7.895 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches