Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009611/0.0009613, allocations: 94.55 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.001007/0.001007, allocations: 192.7 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.474/1.474, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.18 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002836, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02448/0.1507, allocations: 27.37 MB / 0.4978 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1636, allocations: 5.972 MB / 0.5037 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.1673, allocations: 123.8 kB / 0.5038 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.1705, allocations: 1.31 MB / 0.5051 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2912/0.4617, allocations: 3.842 MB / 0.5088 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.4637, allocations: 241.9 kB / 0.509 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005502/0.4692, allocations: 2.611 MB / 0.5116 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/0.4745, allocations: 2.967 MB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.4762, allocations: 0.6623 MB / 0.5151 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.4783, allocations: 1.008 MB / 0.5161 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.4786, allocations: 88.03 kB / 0.5162 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.4801, allocations: 0.5223 MB / 0.5167 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.4814, allocations: 0.9529 MB / 0.5176 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.4821, allocations: 0.5033 MB / 0.5181 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.4869, allocations: 3.315 MB / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.487, allocations: 1 kB / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.487, allocations: 3.094 kB / 0.5214 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.4871, 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.005305/0.4924, allocations: 2.382 MB / 0.5237 GB, free: 9.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4925, allocations: 9.531 kB / 0.5237 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/0.4974, allocations: 1.608 MB / 0.5253 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.5003, allocations: 1.3 MB / 0.5266 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5004, allocations: 151 kB / 0.5267 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/0.5008, allocations: 184.8 kB / 0.5269 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.5117, allocations: 6.233 MB / 0.533 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.5117, allocations: 9 kB / 0.533 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.512, allocations: 86.84 kB / 0.533 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.5138, allocations: 1.347 MB / 0.5344 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.525, allocations: 5.299 MB / 0.5395 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.5546, allocations: 20.12 MB / 0.5592 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.5589, allocations: 2.081 MB / 0.5612 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/0.5599, allocations: 0.6933 MB / 0.5619 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005851/0.5657, allocations: 3.493 MB / 0.5653 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.5658, allocations: 42.94 kB / 0.5653 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/0.5658, allocations: 0 / 0.5653 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005127/0.5709, allocations: 1.966 MB / 0.5673 GB, free: 11.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.571, allocations: 63.83 kB / 0.5673 GB, free: 11.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.5738, allocations: 1.927 MB / 0.5692 GB, free: 9.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.5738, allocations: 31.78 kB / 0.5692 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.5751, allocations: 1.836 MB / 0.571 GB, free: 7.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.5754, allocations: 315.1 kB / 0.5713 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5755, allocations: 60 kB / 0.5714 GB, free: 6.984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.5758, allocations: 489.2 kB / 0.5719 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.577, allocations: 0.8802 MB / 0.5727 GB, free: 5.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.5796, allocations: 2.744 MB / 0.5754 GB, free: 1.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.5816, allocations: 1.54 MB / 0.5769 GB, free: 408 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.5816, allocations: 21.64 kB / 0.5769 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004855/0.5865, allocations: 3.501 MB / 0.5803 GB, free: 12.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.5865, allocations: 38.53 kB / 0.5804 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.265e-05/0.5866, allocations: 68 kB / 0.5804 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.891e-05/0.5867, allocations: 96 kB / 0.5805 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.5885, allocations: 0.6589 MB / 0.5812 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/0.5886, allocations: 127.5 kB / 0.5813 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5903, allocations: 411.2 kB / 0.5817 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.5906, allocations: 195.9 kB / 0.5819 GB, free: 11.31 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.002755/0.5933, allocations: 1.349 MB / 0.5832 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.5936, allocations: 157.8 kB / 0.5833 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.594, allocations: 196.9 kB / 0.5835 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.594, allocations: 8 kB / 0.5835 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.594, allocations: 0 / 0.5835 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5941, allocations: 0 / 0.5835 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/0.6009, allocations: 4.065 MB / 0.5875 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.601, allocations: 5.75 kB / 0.5875 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.6013, allocations: 99.81 kB / 0.5876 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.6014, allocations: 12 kB / 0.5876 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.6014, allocations: 16.66 kB / 0.5876 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.6014, allocations: 15.92 kB / 0.5877 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6015, allocations: 12 kB / 0.5877 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.6029, allocations: 1.229 MB / 0.5889 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.6034, allocations: 262.6 kB / 0.5891 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6035, allocations: 16 kB / 0.5891 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.604, allocations: 27.97 kB / 0.5892 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.6041, allocations: 54.09 kB / 0.5892 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.6042, allocations: 32 kB / 0.5892 GB, free: 3.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00201/0.6062, allocations: 1.259 MB / 0.5905 GB, free: 2.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6062, allocations: 0 / 0.5905 GB, free: 2.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003598/0.6098, allocations: 0.6801 MB / 0.5911 GB, free: 1.59 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.0003508/0.6101, allocations: 137.5 kB / 0.5913 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.6134, allocations: 2.016 MB / 0.5932 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6134, allocations: 4.25 kB / 0.5932 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.6141, allocations: 455.9 kB / 0.5937 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6153, allocations: 221.5 kB / 0.5939 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6259, allocations: 6.102 MB / 0.5998 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/0.6283, allocations: 2.263 MB / 0.6021 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002323/0.6307, allocations: 0.9557 MB / 0.603 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.631, allocations: 123.4 kB / 0.6031 GB, free: 5.203 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.631, allocations: 0 / 0.6031 GB, free: 5.203 MB / 446.1 MB Notification: Performance of Templates: time 0.02918/0.6602, allocations: 13.33 MB / 0.6161 GB, free: 7.961 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches