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.001491/0.001491, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.748/1.748, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4104/0.4104, allocations: 46.1 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 77.16 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 62.44 MB / 480.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.06097/0.2425, allocations: 30.3 MB / 0.4985 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.2655, allocations: 6.278 MB / 0.5046 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007354/0.2729, allocations: 127.7 kB / 0.5047 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3263/0.5992, allocations: 1.919 MB / 0.5066 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.6045, allocations: 1.029 MB / 0.5076 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.6058, allocations: 273 kB / 0.5079 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.6108, allocations: 2.347 MB / 0.5102 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005029/0.6159, allocations: 2.424 MB / 0.5125 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.6185, allocations: 0.8877 MB / 0.5134 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.6219, allocations: 1.268 MB / 0.5146 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.6231, allocations: 197.6 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.6262, allocations: 0.7027 MB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.6295, allocations: 1.119 MB / 0.5166 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004205/0.6337, allocations: 1.32 MB / 0.5179 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007001/0.6408, allocations: 3.43 MB / 0.5212 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.6409, allocations: 1.656 kB / 0.5212 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6409, allocations: 0 / 0.5212 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002/0.6411, allocations: 3.938 kB / 0.5213 GB, free: 9.246 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.01243/0.6535, allocations: 2.862 MB / 0.524 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.6536, allocations: 8.875 kB / 0.5241 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.6601, allocations: 1.56 MB / 0.5256 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.6637, allocations: 1.316 MB / 0.5269 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.6639, allocations: 143.8 kB / 0.527 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.665, allocations: 185.4 kB / 0.5272 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.6795, allocations: 6.252 MB / 0.5333 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.499e-05/0.6796, allocations: 12.84 kB / 0.5333 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.6806, allocations: 84.53 kB / 0.5334 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/0.6829, allocations: 1.35 MB / 0.5347 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.6951, allocations: 5.335 MB / 0.5399 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03586/0.731, allocations: 20.13 MB / 0.5596 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.7359, allocations: 2.079 MB / 0.5616 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.7371, allocations: 0.6875 MB / 0.5623 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00729/0.7444, allocations: 3.496 MB / 0.5657 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.7445, allocations: 39 kB / 0.5657 GB, free: 3.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.509e-06/0.7445, allocations: 0 / 0.5657 GB, free: 3.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005889/0.7504, allocations: 1.972 MB / 0.5676 GB, free: 1.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.7505, allocations: 59.84 kB / 0.5677 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004248/0.7548, allocations: 1.933 MB / 0.5696 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.755, allocations: 31.48 kB / 0.5696 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.7567, allocations: 1.847 MB / 0.5714 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.7572, allocations: 309.5 kB / 0.5717 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.7585, allocations: 0.6138 MB / 0.5723 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.7587, allocations: 357.9 kB / 0.5727 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.7604, allocations: 0.8985 MB / 0.5735 GB, free: 11.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/0.7634, allocations: 2.743 MB / 0.5762 GB, free: 8.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/0.7684, allocations: 3.97 MB / 0.5801 GB, free: 3.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-05/0.7685, allocations: 16 kB / 0.5801 GB, free: 3.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007486/0.776, allocations: 3.527 MB / 0.5835 GB, free: 436 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.7761, allocations: 32 kB / 0.5836 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/0.7763, allocations: 68 kB / 0.5836 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.7764, allocations: 88 kB / 0.5837 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.7788, allocations: 0.6602 MB / 0.5844 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001259/0.779, allocations: 127.1 kB / 0.5845 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.7819, allocations: 419.5 kB / 0.5849 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006668/0.7826, allocations: 190.7 kB / 0.5851 GB, free: 14.95 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003462/0.7861, allocations: 1.342 MB / 0.5864 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.7865, allocations: 157.9 kB / 0.5865 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/0.7873, allocations: 200.9 kB / 0.5867 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.7873, allocations: 8 kB / 0.5867 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.7874, allocations: 0 / 0.5867 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7874, allocations: 3.984 kB / 0.5867 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.7975, allocations: 4.084 MB / 0.5907 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.7976, allocations: 8.156 kB / 0.5907 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.7981, allocations: 103.8 kB / 0.5908 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.7981, allocations: 8 kB / 0.5908 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.7982, allocations: 16 kB / 0.5909 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.7982, allocations: 15.88 kB / 0.5909 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.7982, allocations: 4 kB / 0.5909 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.8, allocations: 1.238 MB / 0.5921 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.8006, allocations: 242.8 kB / 0.5923 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000363/0.801, allocations: 20 kB / 0.5923 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.8017, allocations: 27.91 kB / 0.5924 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8018, allocations: 58.56 kB / 0.5924 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.8019, allocations: 24 kB / 0.5924 GB, free: 7.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002712/0.8046, allocations: 1.271 MB / 0.5937 GB, free: 5.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8046, allocations: 0 / 0.5937 GB, free: 5.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003657/0.8083, allocations: 0.6804 MB / 0.5943 GB, free: 5.277 MB / 446.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 (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.0005745/0.8089, allocations: 147.4 kB / 0.5945 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004187/0.8131, allocations: 2.24 MB / 0.5967 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.8131, allocations: 7.938 kB / 0.5967 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.8138, allocations: 455 kB / 0.5971 GB, free: 2.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.8158, allocations: 242.4 kB / 0.5973 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.8295, allocations: 6.658 MB / 0.6038 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/0.834, allocations: 2.279 MB / 0.6061 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.8346, allocations: 143.4 kB / 0.6062 GB, free: 9.004 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8346, allocations: 0 / 0.6062 GB, free: 9.004 MB / 462.1 MB Notification: Performance of Templates: time 0.05162/0.8863, allocations: 29.81 MB / 0.6353 GB, free: 11.26 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches