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.001446/0.001446, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001556, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.39 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01104/0.1224, allocations: 9.52 MB / 490.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.1283, allocations: 2.916 MB / 493.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1296, allocations: 47.94 kB / 493.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.1335, allocations: 2.009 MB / 495.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.1363, allocations: 1.094 MB / 496.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.137, allocations: 299.4 kB / 496.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.1402, allocations: 2.317 MB / 498.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.1432, allocations: 2.313 MB / 0.4895 GB, free: 0.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.1445, allocations: 0.88 MB / 0.4903 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.1462, allocations: 1.153 MB / 0.4914 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005304/0.1467, allocations: 196 kB / 0.4916 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.1482, allocations: 0.6943 MB / 0.4923 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1494, allocations: 1.107 MB / 0.4934 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.1512, allocations: 1.312 MB / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.1559, allocations: 4.159 MB / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1559, allocations: 0 / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1559, allocations: 0 / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.1561, allocations: 0 / 0.4987 GB, free: 7.141 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.005939/0.162, allocations: 2.861 MB / 0.5015 GB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1621, allocations: 12.03 kB / 0.5015 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.1673, allocations: 1.557 MB / 0.5031 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.1698, allocations: 1.32 MB / 0.5043 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.17, allocations: 148 kB / 0.5045 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.1705, allocations: 187.8 kB / 0.5047 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2061/0.3766, allocations: 6.244 MB / 0.5108 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.3768, allocations: 14.03 kB / 0.5108 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006775/0.3775, allocations: 87.62 kB / 0.5109 GB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003265/0.3807, allocations: 1.339 MB / 0.5122 GB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.3963, allocations: 5.334 MB / 0.5174 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/0.4215, allocations: 20.12 MB / 0.537 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.4252, allocations: 2.09 MB / 0.5391 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.426, allocations: 0.6953 MB / 0.5397 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004869/0.4309, allocations: 3.477 MB / 0.5431 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4309, allocations: 35 kB / 0.5432 GB, free: 15.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.4309, allocations: 4.875 kB / 0.5432 GB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004549/0.4355, allocations: 1.974 MB / 0.5451 GB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4355, allocations: 55.84 kB / 0.5452 GB, free: 13.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.4377, allocations: 1.941 MB / 0.5471 GB, free: 11.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4378, allocations: 37.7 kB / 0.5471 GB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007254/0.4385, allocations: 1.832 MB / 0.5489 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4387, allocations: 312.1 kB / 0.5492 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/0.4393, allocations: 0.619 MB / 0.5498 GB, free: 8.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.4394, allocations: 361.9 kB / 0.5501 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009777/0.4404, allocations: 0.8842 MB / 0.551 GB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.442, allocations: 2.755 MB / 0.5537 GB, free: 3.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.4451, allocations: 3.969 MB / 0.5576 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-05/0.4452, allocations: 23.31 kB / 0.5576 GB, free: 14.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00544/0.4506, allocations: 3.52 MB / 0.561 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.4507, allocations: 32 kB / 0.561 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-05/0.4508, allocations: 68 kB / 0.5611 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.4509, allocations: 88 kB / 0.5612 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.4527, allocations: 0.6589 MB / 0.5618 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.4529, allocations: 127.5 kB / 0.562 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.4547, allocations: 419.9 kB / 0.5624 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.455, allocations: 199.9 kB / 0.5626 GB, free: 9.426 MB / 398.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.001886/0.4569, allocations: 1.338 MB / 0.5639 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4571, allocations: 157.9 kB / 0.564 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.4575, allocations: 196.9 kB / 0.5642 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4575, allocations: 8 kB / 0.5642 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4575, allocations: 8 kB / 0.5642 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4575, allocations: 0 / 0.5642 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.4641, allocations: 4.065 MB / 0.5682 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.4642, allocations: 8 kB / 0.5682 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.4646, allocations: 100.6 kB / 0.5683 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.4646, allocations: 12 kB / 0.5683 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.4647, allocations: 23.94 kB / 0.5683 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.4647, allocations: 15.92 kB / 0.5683 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4647, allocations: 4 kB / 0.5683 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4661, allocations: 1.235 MB / 0.5695 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.4664, allocations: 242.8 kB / 0.5698 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.4667, allocations: 19.94 kB / 0.5698 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.4672, allocations: 31.88 kB / 0.5698 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.4673, allocations: 51.83 kB / 0.5699 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.4674, allocations: 35.98 kB / 0.5699 GB, free: 1.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.4691, allocations: 1.267 MB / 0.5711 GB, free: 376 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4691, allocations: 1.125 kB / 0.5711 GB, free: 376 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002372/0.4714, allocations: 0.6895 MB / 0.5718 GB, free: 15.68 MB / 414.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.0003283/0.4718, allocations: 141.7 kB / 0.572 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.475, allocations: 2.248 MB / 0.5742 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.475, allocations: 4 kB / 0.5742 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.4756, allocations: 457.7 kB / 0.5746 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4768, allocations: 242.7 kB / 0.5748 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/0.4856, allocations: 5.376 MB / 0.5801 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/0.4882, allocations: 2.276 MB / 0.5823 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.4887, allocations: 147.4 kB / 0.5824 GB, free: 4.684 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4887, allocations: 0 / 0.5824 GB, free: 4.684 MB / 414.1 MB Notification: Performance of Templates: time 0.04336/0.5321, allocations: 29.81 MB / 0.6116 GB, free: 6.93 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches