Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.17 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.8 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01254/0.1312, allocations: 9.72 MB / 479.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.1391, allocations: 2.916 MB / 482.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.1413, allocations: 55.88 kB / 482.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.1457, allocations: 1.994 MB / 484.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.1494, allocations: 1.129 MB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1506, allocations: 299.4 kB / 486 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.1545, allocations: 2.325 MB / 488.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003717/0.1583, allocations: 2.344 MB / 490.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.1602, allocations: 0.8956 MB / 491.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.1623, allocations: 1.176 MB / 492.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.1631, allocations: 196 kB / 493 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1648, allocations: 0.7098 MB / 493.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.1663, allocations: 1.142 MB / 494.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.1685, allocations: 1.347 MB / 496.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.1733, allocations: 4.283 MB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1734, allocations: 0 / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1734, allocations: 0 / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.722e-05/0.1735, allocations: 0 / 0.4887 GB, free: 15.71 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005028/0.1785, allocations: 2.951 MB / 0.4916 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1786, allocations: 8.031 kB / 0.4916 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.1836, allocations: 1.584 MB / 0.4932 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.1861, allocations: 1.344 MB / 0.4945 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.1862, allocations: 148.1 kB / 0.4946 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.1865, allocations: 191.8 kB / 0.4948 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009214/0.1958, allocations: 6.432 MB / 0.5011 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1958, allocations: 15.88 kB / 0.5011 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.1961, allocations: 95.83 kB / 0.5012 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.1982, allocations: 1.399 MB / 0.5025 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2164/0.4146, allocations: 5.488 MB / 0.5079 GB, free: 45.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.4416, allocations: 20.57 MB / 0.528 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.4457, allocations: 2.077 MB / 0.53 GB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.4466, allocations: 0.689 MB / 0.5307 GB, free: 30.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005872/0.4525, allocations: 3.51 MB / 0.5341 GB, free: 28.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4526, allocations: 42.44 kB / 0.5342 GB, free: 28.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.068e-06/0.4526, allocations: 0 / 0.5342 GB, free: 28.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00513/0.4577, allocations: 1.975 MB / 0.5361 GB, free: 26.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4578, allocations: 59.84 kB / 0.5361 GB, free: 26.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.4603, allocations: 1.962 MB / 0.5381 GB, free: 24.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.4603, allocations: 37.3 kB / 0.5381 GB, free: 24.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/0.461, allocations: 1.883 MB / 0.5399 GB, free: 22.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4612, allocations: 315 kB / 0.5402 GB, free: 22.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005656/0.4618, allocations: 0.6171 MB / 0.5408 GB, free: 22.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.4619, allocations: 365.9 kB / 0.5412 GB, free: 21.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.4628, allocations: 0.8881 MB / 0.5421 GB, free: 20.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4644, allocations: 2.772 MB / 0.5448 GB, free: 17.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4672, allocations: 4.005 MB / 0.5487 GB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.265e-05/0.4673, allocations: 20 kB / 0.5487 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004419/0.4717, allocations: 3.546 MB / 0.5522 GB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.4718, allocations: 36.94 kB / 0.5522 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-05/0.4719, allocations: 68 kB / 0.5523 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.99e-05/0.4719, allocations: 84 kB / 0.5523 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.4736, allocations: 0.6706 MB / 0.553 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.87e-05/0.4737, allocations: 127.5 kB / 0.5531 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4755, allocations: 421.5 kB / 0.5535 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.4757, allocations: 192 kB / 0.5537 GB, free: 7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001669/0.4774, allocations: 1.375 MB / 0.555 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.4776, allocations: 157.9 kB / 0.5552 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.4779, allocations: 197.2 kB / 0.5554 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.4779, allocations: 8 kB / 0.5554 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.478, allocations: 3.938 kB / 0.5554 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.478, allocations: 1.688 kB / 0.5554 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.4835, allocations: 4.149 MB / 0.5594 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4835, allocations: 4.875 kB / 0.5594 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.4839, allocations: 99.83 kB / 0.5595 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.4839, allocations: 8 kB / 0.5596 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.484, allocations: 19.92 kB / 0.5596 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.484, allocations: 11.94 kB / 0.5596 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.484, allocations: 8 kB / 0.5596 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4853, allocations: 1.241 MB / 0.5608 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.4857, allocations: 247.6 kB / 0.561 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.4859, allocations: 23.94 kB / 0.5611 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.4864, allocations: 27.97 kB / 0.5611 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.4865, allocations: 51.83 kB / 0.5611 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.4866, allocations: 27.98 kB / 0.5612 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.4885, allocations: 1.287 MB / 0.5624 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4885, allocations: 0 / 0.5624 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002748/0.4912, allocations: 0.7179 MB / 0.5631 GB, free: 13.11 MB / 398.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.0003597/0.4916, allocations: 133.8 kB / 0.5632 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.4953, allocations: 2.258 MB / 0.5655 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.4953, allocations: 0 / 0.5655 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.4959, allocations: 469 kB / 0.5659 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4973, allocations: 243.9 kB / 0.5661 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009475/0.5068, allocations: 5.502 MB / 0.5715 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.5096, allocations: 2.316 MB / 0.5738 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.5101, allocations: 151.4 kB / 0.5739 GB, free: 1.941 MB / 398.1 MB Notification: Performance of SimCode: time 3.075e-06/0.5102, allocations: 0 / 0.5739 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Templates: time 0.04915/0.5593, allocations: 30.51 MB / 0.6037 GB, free: 3.496 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches