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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 108.8 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.88 kB / 497.7 MB, free: 1.012 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01385/0.4268, allocations: 9.817 MB / 0.5584 GB, free: 5.5 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008464/0.4353, allocations: 2.958 MB / 0.5613 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.4379, allocations: 59.81 kB / 0.5613 GB, free: 2.578 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004427/0.4423, allocations: 2.025 MB / 0.5633 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003854/0.4462, allocations: 1.168 MB / 0.5645 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.447, allocations: 287.4 kB / 0.5647 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003912/0.4509, allocations: 2.322 MB / 0.567 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.4534, allocations: 1.645 MB / 0.5686 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4551, allocations: 0.9228 MB / 0.5695 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.4571, allocations: 1.273 MB / 0.5708 GB, free: 8.875 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006124/0.4578, allocations: 196 kB / 0.5709 GB, free: 8.684 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.4594, allocations: 0.7293 MB / 0.5717 GB, free: 7.953 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001452/0.4608, allocations: 1.192 MB / 0.5728 GB, free: 6.758 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001943/0.4628, allocations: 1.347 MB / 0.5741 GB, free: 5.402 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006945/0.4697, allocations: 4.474 MB / 0.5785 GB, free: 0.9102 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.4697, allocations: 4 kB / 0.5785 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.535e-06/0.4697, allocations: 0 / 0.5785 GB, free: 0.9062 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0001727/0.4699, allocations: 0 / 0.5785 GB, free: 0.9062 MB / 414.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.007203/0.4771, allocations: 2.952 MB / 0.5814 GB, free: 13.91 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4772, allocations: 8.922 kB / 0.5814 GB, free: 13.9 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/0.483, allocations: 1.602 MB / 0.583 GB, free: 12.3 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.4871, allocations: 1.29 MB / 0.5842 GB, free: 10.98 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4873, allocations: 144.1 kB / 0.5844 GB, free: 10.84 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.4879, allocations: 195.8 kB / 0.5845 GB, free: 10.64 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.5005, allocations: 6.428 MB / 0.5908 GB, free: 3.945 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.5005, allocations: 15.88 kB / 0.5908 GB, free: 3.93 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.5008, allocations: 91.91 kB / 0.5909 GB, free: 3.84 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/0.5034, allocations: 1.406 MB / 0.5923 GB, free: 2.43 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.5155, allocations: 5.491 MB / 0.5977 GB, free: 12.92 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.5527, allocations: 20.37 MB / 0.6176 GB, free: 7.961 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.5572, allocations: 1.558 MB / 0.6191 GB, free: 6.383 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.5583, allocations: 0.6328 MB / 0.6197 GB, free: 5.746 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006853/0.5652, allocations: 3.059 MB / 0.6227 GB, free: 2.66 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5652, allocations: 35 kB / 0.6227 GB, free: 2.617 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.727e-06/0.5652, allocations: 0 / 0.6227 GB, free: 2.617 MB / 462.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005678/0.5709, allocations: 1.986 MB / 0.6247 GB, free: 0.6289 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.571, allocations: 59.78 kB / 0.6247 GB, free: 0.5586 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.5747, allocations: 1.967 MB / 0.6266 GB, free: 14.59 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.5748, allocations: 37.7 kB / 0.6267 GB, free: 14.55 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.5768, allocations: 1.958 MB / 0.6286 GB, free: 12.57 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006315/0.5775, allocations: 329.5 kB / 0.6289 GB, free: 12.24 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.5789, allocations: 0.6235 MB / 0.6295 GB, free: 11.61 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002853/0.5792, allocations: 361.9 kB / 0.6299 GB, free: 11.25 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.5808, allocations: 0.892 MB / 0.6307 GB, free: 10.36 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003641/0.5845, allocations: 2.77 MB / 0.6334 GB, free: 6.645 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.5904, allocations: 4.004 MB / 0.6373 GB, free: 1.699 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.13e-05/0.5904, allocations: 20 kB / 0.6374 GB, free: 1.68 MB / 478.1 MB
Notification: Performance of matching and sorting (n=399) (initialization): time 0.007378/0.5978, allocations: 3.551 MB / 0.6408 GB, free: 14.12 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.5979, allocations: 36.94 kB / 0.6409 GB, free: 14.09 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.598, allocations: 68 kB / 0.6409 GB, free: 14.02 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.5982, allocations: 91.94 kB / 0.641 GB, free: 13.93 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.6004, allocations: 0.6667 MB / 0.6417 GB, free: 13.26 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000144/0.6005, allocations: 127.5 kB / 0.6418 GB, free: 13.14 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.6031, allocations: 433.3 kB / 0.6422 GB, free: 12.71 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/0.6035, allocations: 188 kB / 0.6424 GB, free: 12.53 MB / 494.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.00276/0.6063, allocations: 1.377 MB / 0.6437 GB, free: 11.14 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.6067, allocations: 170.8 kB / 0.6439 GB, free: 10.97 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.6072, allocations: 197.2 kB / 0.6441 GB, free: 10.77 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.6072, allocations: 19.94 kB / 0.6441 GB, free: 10.75 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6072, allocations: 0 / 0.6441 GB, free: 10.75 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6072, allocations: 3.984 kB / 0.6441 GB, free: 10.75 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009477/0.6167, allocations: 4.113 MB / 0.6481 GB, free: 6.508 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/0.6167, allocations: 8.75 kB / 0.6481 GB, free: 6.5 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.6172, allocations: 99.81 kB / 0.6482 GB, free: 6.402 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.6172, allocations: 12 kB / 0.6482 GB, free: 6.391 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.6173, allocations: 20 kB / 0.6482 GB, free: 6.371 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.6173, allocations: 8 kB / 0.6483 GB, free: 6.363 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.6173, allocations: 11.92 kB / 0.6483 GB, free: 6.352 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6192, allocations: 1.251 MB / 0.6495 GB, free: 5.004 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/0.6199, allocations: 178.6 kB / 0.6497 GB, free: 4.828 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/0.6203, allocations: 15.98 kB / 0.6497 GB, free: 4.812 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.621, allocations: 27.98 kB / 0.6497 GB, free: 4.785 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6212, allocations: 59.8 kB / 0.6498 GB, free: 4.727 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.6212, allocations: 27.98 kB / 0.6498 GB, free: 4.699 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.00259/0.6238, allocations: 1.287 MB / 0.651 GB, free: 3.422 MB / 494.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.6238, allocations: 0 / 0.651 GB, free: 3.422 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.003526/0.6274, allocations: 0.724 MB / 0.6517 GB, free: 2.695 MB / 494.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.0004883/0.6278, allocations: 143 kB / 0.6519 GB, free: 2.543 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.003821/0.6317, allocations: 1.969 MB / 0.6538 GB, free: 0.5898 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6317, allocations: 0 / 0.6538 GB, free: 0.5898 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.6323, allocations: 434.3 kB / 0.6542 GB, free: 172 kB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.634, allocations: 249.8 kB / 0.6545 GB, free: 15.93 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.6449, allocations: 5.2 MB / 0.6595 GB, free: 10.62 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00353/0.6484, allocations: 2.316 MB / 0.6618 GB, free: 8.27 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.002409/0.6508, allocations: 0.9599 MB / 0.6627 GB, free: 7.305 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.6512, allocations: 127.4 kB / 0.6629 GB, free: 7.18 MB / 0.4981 GB
Notification: Performance of SimCode: time 1.743e-06/0.6512, allocations: 0 / 0.6629 GB, free: 7.18 MB / 0.4981 GB
Notification: Performance of Templates: time 0.04162/0.6929, allocations: 17.5 MB / 0.6799 GB, free: 5.707 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.189186084084213]