Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.13/1.13, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.16/0.16, allocations: 46.2 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002016, allocations: 11.98 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08339, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2142/0.2976, allocations: 82.38 MB / 0.5522 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02864/0.3263, allocations: 16.19 MB / 0.568 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008653/0.335, allocations: 380.7 kB / 0.5684 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3362, allocations: 0.6433 MB / 0.569 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.3406, allocations: 2.614 MB / 0.5716 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.3425, allocations: 1.252 MB / 0.5728 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00914/0.3517, allocations: 11.12 MB / 0.5836 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.3624, allocations: 10.34 MB / 0.5937 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.3647, allocations: 2.203 MB / 0.5959 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.368, allocations: 3.457 MB / 0.5993 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.3684, allocations: 248 kB / 0.5995 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3701, allocations: 1.139 MB / 0.6006 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.3722, allocations: 3.077 MB / 0.6036 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3747, allocations: 3.37 MB / 0.6069 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.3825, allocations: 10.75 MB / 0.6174 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3825, allocations: 0 / 0.6174 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3825, allocations: 0 / 0.6174 GB, free: 12.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.034e-05/0.3826, allocations: 0 / 0.6174 GB, free: 12.87 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.009702/0.3923, allocations: 6.959 MB / 0.6242 GB, free: 5.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3923, allocations: 8.875 kB / 0.6242 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008016/0.4003, allocations: 2.534 MB / 0.6267 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005657/0.406, allocations: 4.403 MB / 0.631 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.4063, allocations: 435 kB / 0.6314 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007746/0.4071, allocations: 0.5426 MB / 0.6319 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.4285, allocations: 16.72 MB / 0.6483 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.4287, allocations: 79.25 kB / 0.6483 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.4292, allocations: 263.8 kB / 0.6486 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/0.4328, allocations: 2.927 MB / 0.6514 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.4531, allocations: 12.82 MB / 0.664 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3765/0.8296, allocations: 64.16 MB / 0.7266 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.843, allocations: 5.504 MB / 0.732 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.8452, allocations: 2.115 MB / 0.7341 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.8559, allocations: 9.941 MB / 0.7438 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.856, allocations: 59.48 kB / 0.7438 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 3.928e-06/0.856, allocations: 1.562 kB / 0.7438 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.02611/0.8821, allocations: 14.1 MB / 0.7576 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8821, allocations: 152.9 kB / 0.7577 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/0.8875, allocations: 6.292 MB / 0.7639 GB, free: 122 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.8876, allocations: 54.17 kB / 0.7639 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.8893, allocations: 5.077 MB / 0.7689 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.8896, allocations: 0.8139 MB / 0.7697 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005131/0.8902, allocations: 0.7366 MB / 0.7704 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.8902, allocations: 307.1 kB / 0.7707 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.8926, allocations: 2.326 MB / 0.773 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.8964, allocations: 7.685 MB / 0.7805 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.9027, allocations: 10.87 MB / 0.7911 GB, free: 90.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-05/0.9028, allocations: 52 kB / 0.7911 GB, free: 90.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009475/0.9123, allocations: 9.659 MB / 0.8006 GB, free: 81.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.9124, allocations: 84 kB / 0.8007 GB, free: 81.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.837e-05/0.9125, allocations: 192 kB / 0.8008 GB, free: 80.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.9126, allocations: 248 kB / 0.8011 GB, free: 80.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.9168, allocations: 1.926 MB / 0.803 GB, free: 78.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001512/0.9169, allocations: 370.5 kB / 0.8033 GB, free: 78.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/0.9206, allocations: 406.9 kB / 0.8037 GB, free: 78.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.9209, allocations: 0.5126 MB / 0.8042 GB, free: 77.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.002962/0.9239, allocations: 3.307 MB / 0.8074 GB, free: 74.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.9243, allocations: 0.5244 MB / 0.8079 GB, free: 73.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.9251, allocations: 0.6201 MB / 0.8085 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.9251, allocations: 20 kB / 0.8086 GB, free: 73.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.9251, allocations: 4 kB / 0.8086 GB, free: 73.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.9251, allocations: 10.47 kB / 0.8086 GB, free: 73.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.9394, allocations: 16.44 MB / 0.8246 GB, free: 56.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.9394, allocations: 48.89 kB / 0.8247 GB, free: 55.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.9404, allocations: 375.3 kB / 0.825 GB, free: 55.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.6e-05/0.9404, allocations: 52 kB / 0.8251 GB, free: 55.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.914e-05/0.9405, allocations: 87.98 kB / 0.8252 GB, free: 55.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-05/0.9405, allocations: 79.59 kB / 0.8252 GB, free: 55.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-05/0.9406, allocations: 59.75 kB / 0.8253 GB, free: 55.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.9429, allocations: 3.936 MB / 0.8291 GB, free: 50.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.9435, allocations: 0.6111 MB / 0.8297 GB, free: 50.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.9438, allocations: 91.97 kB / 0.8298 GB, free: 50.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.9453, allocations: 112.5 kB / 0.8299 GB, free: 50 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.9455, allocations: 254.8 kB / 0.8302 GB, free: 49.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.9456, allocations: 106 kB / 0.8303 GB, free: 49.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003523/0.9491, allocations: 3.935 MB / 0.8341 GB, free: 45.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9491, allocations: 0 / 0.8341 GB, free: 45.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004308/0.9534, allocations: 1.313 MB / 0.8354 GB, free: 44.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0002807/0.9537, allocations: 252 kB / 0.8356 GB, free: 44.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004774/0.9585, allocations: 5.332 MB / 0.8409 GB, free: 38.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9585, allocations: 4.812 kB / 0.8409 GB, free: 38.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.9595, allocations: 1.137 MB / 0.842 GB, free: 37.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03047/0.9899, allocations: 0.8269 MB / 0.8428 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.005, allocations: 18.37 MB / 0.8607 GB, free: 17.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/1.009, allocations: 5.064 MB / 0.8657 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004601/1.014, allocations: 2.52 MB / 0.8681 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/1.014, allocations: 347.4 kB / 0.8685 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/1.014, allocations: 0 / 0.8685 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.06088/1.075, allocations: 41.33 MB / 0.9088 GB, free: 0.9023 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches