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.001129/0.001129, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.8 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.2169/0.2169, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 80.94 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 62.44 MB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01171/0.1505, allocations: 9.521 MB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007766/0.1583, allocations: 2.928 MB / 492.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.1604, allocations: 51.88 kB / 492.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.1646, allocations: 2.002 MB / 494.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.1675, allocations: 1.097 MB / 495.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.1684, allocations: 295.4 kB / 496 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.1715, allocations: 2.321 MB / 498.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.1744, allocations: 2.317 MB / 0.4889 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.1758, allocations: 0.8763 MB / 0.4897 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.1774, allocations: 1.149 MB / 0.4908 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.1779, allocations: 196 kB / 0.491 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.1793, allocations: 0.6982 MB / 0.4917 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1805, allocations: 1.107 MB / 0.4928 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.1821, allocations: 1.308 MB / 0.4941 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.1859, allocations: 4.151 MB / 0.4981 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1859, allocations: 0 / 0.4981 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1859, allocations: 0 / 0.4981 GB, free: 7.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.383e-05/0.186, allocations: 0 / 0.4981 GB, free: 7.113 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.004343/0.1903, allocations: 2.868 MB / 0.5009 GB, free: 4.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1904, allocations: 8.031 kB / 0.5009 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.1952, allocations: 1.557 MB / 0.5025 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.1973, allocations: 1.32 MB / 0.5037 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.1974, allocations: 144 kB / 0.5039 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.1977, allocations: 191.8 kB / 0.5041 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2324/0.4301, allocations: 6.243 MB / 0.5102 GB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.4302, allocations: 14.44 kB / 0.5102 GB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.4305, allocations: 91.64 kB / 0.5103 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/0.4326, allocations: 1.342 MB / 0.5116 GB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4426, allocations: 5.324 MB / 0.5168 GB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.4661, allocations: 20.13 MB / 0.5364 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.4697, allocations: 2.088 MB / 0.5385 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.4705, allocations: 0.6931 MB / 0.5391 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005047/0.4756, allocations: 3.483 MB / 0.5425 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4756, allocations: 39 kB / 0.5426 GB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.4756, allocations: 0 / 0.5426 GB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004725/0.4804, allocations: 1.97 MB / 0.5445 GB, free: 13.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.4804, allocations: 59.84 kB / 0.5446 GB, free: 12.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.4829, allocations: 1.933 MB / 0.5465 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.4829, allocations: 37.7 kB / 0.5465 GB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.4837, allocations: 1.832 MB / 0.5483 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.4839, allocations: 320 kB / 0.5486 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007359/0.4847, allocations: 0.6151 MB / 0.5492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.4848, allocations: 357.9 kB / 0.5495 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.4858, allocations: 0.8958 MB / 0.5504 GB, free: 6.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.4875, allocations: 2.747 MB / 0.5531 GB, free: 3.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.4908, allocations: 3.968 MB / 0.557 GB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/0.4909, allocations: 20 kB / 0.557 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004939/0.4958, allocations: 3.515 MB / 0.5604 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.4959, allocations: 38.66 kB / 0.5604 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-05/0.496, allocations: 64 kB / 0.5605 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.02e-05/0.496, allocations: 88 kB / 0.5606 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.4978, allocations: 0.6595 MB / 0.5612 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.363e-05/0.4979, allocations: 135.5 kB / 0.5614 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4995, allocations: 411.5 kB / 0.5618 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.4998, allocations: 191.9 kB / 0.5619 GB, free: 9.254 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.001793/0.5016, allocations: 1.35 MB / 0.5633 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.5018, allocations: 161.9 kB / 0.5634 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.5021, allocations: 192.9 kB / 0.5636 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5021, allocations: 12 kB / 0.5636 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5021, allocations: 0 / 0.5636 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5021, allocations: 3.984 kB / 0.5636 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.5079, allocations: 4.074 MB / 0.5676 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.508, allocations: 8.031 kB / 0.5676 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.5084, allocations: 88.77 kB / 0.5677 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.5084, allocations: 8 kB / 0.5677 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.5084, allocations: 31.91 kB / 0.5677 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.5084, allocations: 11.94 kB / 0.5677 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.5085, allocations: 15.88 kB / 0.5677 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5098, allocations: 1.228 MB / 0.5689 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.5102, allocations: 246.8 kB / 0.5692 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.5103, allocations: 19.88 kB / 0.5692 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.5108, allocations: 35.88 kB / 0.5692 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5109, allocations: 55.77 kB / 0.5693 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.5109, allocations: 28 kB / 0.5693 GB, free: 1.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.5125, allocations: 1.267 MB / 0.5706 GB, free: 192 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5125, allocations: 0 / 0.5706 GB, free: 192 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002268/0.5148, allocations: 0.688 MB / 0.5712 GB, free: 15.5 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.0002761/0.5151, allocations: 140.4 kB / 0.5714 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.5183, allocations: 2.245 MB / 0.5736 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5183, allocations: 1.812 kB / 0.5736 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.5189, allocations: 465.4 kB / 0.574 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5201, allocations: 236.3 kB / 0.5742 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/0.5287, allocations: 5.065 MB / 0.5792 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.5315, allocations: 2.275 MB / 0.5814 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002232/0.5337, allocations: 0.9441 MB / 0.5823 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.5341, allocations: 119.4 kB / 0.5824 GB, free: 3.906 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5341, allocations: 7.938 kB / 0.5824 GB, free: 3.898 MB / 414.1 MB Notification: Performance of Templates: time 0.02802/0.5621, allocations: 14.14 MB / 0.5962 GB, free: 5.793 MB / 430.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