Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001097/0.001097, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.408/1.408, allocations: 222.9 MB / 242.3 MB, free: 15.25 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.2062/0.2062, allocations: 44.19 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.45 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 60.83 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01087/0.128, allocations: 9.72 MB / 479 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.1346, allocations: 2.932 MB / 481.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.1363, allocations: 47.94 kB / 481.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.1402, allocations: 1.99 MB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.144, allocations: 1.121 MB / 485.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1451, allocations: 303.4 kB / 485.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.1496, allocations: 2.333 MB / 487.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.1529, allocations: 2.329 MB / 490 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1546, allocations: 0.9034 MB / 490.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.1566, allocations: 1.176 MB / 492.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.1574, allocations: 196 kB / 492.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1592, allocations: 0.706 MB / 493 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.1607, allocations: 1.145 MB / 494.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.1627, allocations: 1.351 MB / 495.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005203/0.1679, allocations: 4.279 MB / 499.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.168, allocations: 0 / 499.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.168, allocations: 0 / 499.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.1682, allocations: 0 / 499.8 MB, free: 15.73 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.00609/0.1743, allocations: 2.943 MB / 0.4909 GB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1743, allocations: 12.03 kB / 0.4909 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.1794, allocations: 1.584 MB / 0.4925 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.1832, allocations: 1.34 MB / 0.4938 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1833, allocations: 152.1 kB / 0.4939 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.1838, allocations: 195.8 kB / 0.4941 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.1931, allocations: 6.428 MB / 0.5004 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.1932, allocations: 15.88 kB / 0.5004 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.1934, allocations: 91.89 kB / 0.5005 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.1955, allocations: 1.403 MB / 0.5019 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2335/0.4291, allocations: 5.481 MB / 0.5072 GB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.4532, allocations: 20.57 MB / 0.5273 GB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.4567, allocations: 2.085 MB / 0.5294 GB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.4575, allocations: 0.692 MB / 0.53 GB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/0.462, allocations: 3.509 MB / 0.5335 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.462, allocations: 35 kB / 0.5335 GB, free: 28.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/0.462, allocations: 0 / 0.5335 GB, free: 28.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004249/0.4663, allocations: 1.978 MB / 0.5354 GB, free: 27.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.4663, allocations: 63.84 kB / 0.5355 GB, free: 26.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.468, allocations: 1.961 MB / 0.5374 GB, free: 24.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.4681, allocations: 36.91 kB / 0.5374 GB, free: 24.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.4687, allocations: 1.877 MB / 0.5393 GB, free: 23.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4689, allocations: 317.7 kB / 0.5396 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.4694, allocations: 0.6181 MB / 0.5402 GB, free: 22.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.4695, allocations: 361.9 kB / 0.5405 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009031/0.4704, allocations: 0.892 MB / 0.5414 GB, free: 20.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.4719, allocations: 2.78 MB / 0.5441 GB, free: 17.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.4745, allocations: 4.004 MB / 0.548 GB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.4745, allocations: 20 kB / 0.548 GB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003675/0.4782, allocations: 3.546 MB / 0.5515 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.4783, allocations: 36 kB / 0.5515 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/0.4783, allocations: 64 kB / 0.5516 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/0.4784, allocations: 88 kB / 0.5517 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.4799, allocations: 0.6628 MB / 0.5523 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.05e-05/0.48, allocations: 131.5 kB / 0.5524 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4816, allocations: 421.5 kB / 0.5529 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.4818, allocations: 196 kB / 0.553 GB, free: 7.059 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.001778/0.4836, allocations: 1.371 MB / 0.5544 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4838, allocations: 157.9 kB / 0.5545 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.484, allocations: 197.2 kB / 0.5547 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.4841, allocations: 8 kB / 0.5547 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4841, allocations: 0 / 0.5547 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4841, allocations: 7.969 kB / 0.5547 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/0.4888, allocations: 4.144 MB / 0.5588 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4888, allocations: 8 kB / 0.5588 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.4892, allocations: 99.81 kB / 0.5589 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4892, allocations: 8 kB / 0.5589 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.4892, allocations: 28.56 kB / 0.5589 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.4892, allocations: 11.94 kB / 0.5589 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4892, allocations: 12 kB / 0.5589 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4904, allocations: 1.239 MB / 0.5601 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4907, allocations: 242.8 kB / 0.5604 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.4908, allocations: 23.92 kB / 0.5604 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.4913, allocations: 35.88 kB / 0.5604 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.4914, allocations: 43.83 kB / 0.5605 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.4914, allocations: 35.98 kB / 0.5605 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.493, allocations: 1.287 MB / 0.5618 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.493, allocations: 0 / 0.5618 GB, free: 13.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002308/0.4953, allocations: 0.7024 MB / 0.5625 GB, free: 13.17 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.0002956/0.4956, allocations: 143.5 kB / 0.5626 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.499, allocations: 2.258 MB / 0.5648 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.499, allocations: 0 / 0.5648 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.4996, allocations: 467.8 kB / 0.5652 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5009, allocations: 241.6 kB / 0.5655 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/0.5106, allocations: 5.184 MB / 0.5705 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.5132, allocations: 2.323 MB / 0.5728 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002427/0.5157, allocations: 0.9621 MB / 0.5737 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.516, allocations: 127.4 kB / 0.5739 GB, free: 1.375 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.516, allocations: 0 / 0.5739 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Templates: time 0.02838/0.5444, allocations: 14.45 MB / 0.588 GB, free: 2.969 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches