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.001065/0.001065, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001203/0.001203, allocations: 192 kB / 18.55 MB, free: 4.566 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.34/1.34, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2088/0.2088, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.77 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 60.83 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01085/0.1331, allocations: 9.72 MB / 479 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.1387, allocations: 2.928 MB / 481.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008891/0.1396, allocations: 47.94 kB / 481.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.143, allocations: 2.002 MB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.1453, allocations: 1.125 MB / 485.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.146, allocations: 291.4 kB / 485.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.1486, allocations: 2.336 MB / 487.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.1511, allocations: 2.332 MB / 490 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.1522, allocations: 0.9034 MB / 490.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1535, allocations: 1.176 MB / 492.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.1538, allocations: 200 kB / 492.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.155, allocations: 0.6943 MB / 493 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009056/0.1559, allocations: 1.145 MB / 494.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.157, allocations: 1.351 MB / 495.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.1608, allocations: 4.283 MB / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1608, allocations: 3.984 kB / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1609, allocations: 0 / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.737e-05/0.1609, allocations: 0 / 499.8 MB, free: 15.69 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.004322/0.1652, allocations: 2.947 MB / 0.4909 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1653, allocations: 8.031 kB / 0.4909 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.1702, allocations: 1.58 MB / 0.4925 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.1724, allocations: 1.344 MB / 0.4938 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1725, allocations: 152 kB / 0.4939 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.1729, allocations: 191.8 kB / 0.4941 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008628/0.1815, allocations: 6.44 MB / 0.5004 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.1816, allocations: 11.88 kB / 0.5004 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.1818, allocations: 91.89 kB / 0.5005 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/0.1839, allocations: 1.395 MB / 0.5019 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1986/0.3825, allocations: 5.486 MB / 0.5072 GB, free: 45.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.4067, allocations: 20.57 MB / 0.5273 GB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.4103, allocations: 2.081 MB / 0.5294 GB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.411, allocations: 0.696 MB / 0.53 GB, free: 30.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004611/0.4157, allocations: 3.499 MB / 0.5335 GB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.4157, allocations: 38.28 kB / 0.5335 GB, free: 28.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.4157, allocations: 3.984 kB / 0.5335 GB, free: 28.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004414/0.4201, allocations: 1.983 MB / 0.5354 GB, free: 26.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.4202, allocations: 59.84 kB / 0.5355 GB, free: 26.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.422, allocations: 1.958 MB / 0.5374 GB, free: 24.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4221, allocations: 37.7 kB / 0.5374 GB, free: 24.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/0.4228, allocations: 1.884 MB / 0.5393 GB, free: 22.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.423, allocations: 312 kB / 0.5396 GB, free: 22.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/0.4236, allocations: 0.6182 MB / 0.5402 GB, free: 22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4237, allocations: 365.9 kB / 0.5405 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4252, allocations: 0.8881 MB / 0.5414 GB, free: 20.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.4273, allocations: 2.78 MB / 0.5441 GB, free: 17.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/0.4313, allocations: 3.997 MB / 0.548 GB, free: 12.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-05/0.4314, allocations: 20.88 kB / 0.548 GB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00608/0.4375, allocations: 3.552 MB / 0.5515 GB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.4375, allocations: 35.94 kB / 0.5515 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.801e-05/0.4376, allocations: 68 kB / 0.5516 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.64e-05/0.4377, allocations: 91.98 kB / 0.5517 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.4401, allocations: 0.6589 MB / 0.5523 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-05/0.4402, allocations: 135.4 kB / 0.5525 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.4429, allocations: 423.7 kB / 0.5529 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.4431, allocations: 190.6 kB / 0.553 GB, free: 6.934 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.002253/0.4454, allocations: 1.375 MB / 0.5544 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.4457, allocations: 157.9 kB / 0.5545 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.446, allocations: 193.2 kB / 0.5547 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.4461, allocations: 8 kB / 0.5547 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4461, allocations: 0 / 0.5547 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4461, allocations: 7.984 kB / 0.5547 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/0.4533, allocations: 4.139 MB / 0.5588 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.4533, allocations: 4 kB / 0.5588 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.4538, allocations: 103.8 kB / 0.5589 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4539, allocations: 8.75 kB / 0.5589 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.4539, allocations: 19.94 kB / 0.5589 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.4539, allocations: 19.92 kB / 0.5589 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.454, allocations: 8 kB / 0.5589 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4557, allocations: 1.24 MB / 0.5601 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.4562, allocations: 246.7 kB / 0.5604 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4564, allocations: 27.92 kB / 0.5604 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.4571, allocations: 31.88 kB / 0.5604 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4573, allocations: 51.83 kB / 0.5605 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.4574, allocations: 30.5 kB / 0.5605 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.4597, allocations: 1.283 MB / 0.5618 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4597, allocations: 0 / 0.5618 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003757/0.4635, allocations: 0.7063 MB / 0.5625 GB, free: 13.06 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.0002773/0.4638, allocations: 141.3 kB / 0.5626 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.4668, allocations: 2.254 MB / 0.5648 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4668, allocations: 0 / 0.5648 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.4673, allocations: 465.5 kB / 0.5652 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4685, allocations: 247.7 kB / 0.5655 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.4762, allocations: 5.185 MB / 0.5705 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.4783, allocations: 2.316 MB / 0.5728 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0021/0.4805, allocations: 0.9685 MB / 0.5737 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.4807, allocations: 123.4 kB / 0.5739 GB, free: 1.273 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4807, allocations: 0 / 0.5739 GB, free: 1.273 MB / 398.1 MB Notification: Performance of Templates: time 0.02691/0.5076, allocations: 14.44 MB / 0.588 GB, free: 2.871 MB / 414.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/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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches