Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.9 MB / 361.3 MB, free: 4.434 MB / 286.1 MB
"
[Timeout remaining time 180]
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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 79.86 kB / 0.4971 GB, free: 7.59 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3572, allocations: 66.02 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01285/0.3701, allocations: 9.595 MB / 0.5709 GB, free: 11 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006056/0.3762, allocations: 2.959 MB / 0.5738 GB, free: 8.031 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3775, allocations: 55.81 kB / 0.5738 GB, free: 7.977 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003952/0.3815, allocations: 2.033 MB / 0.5758 GB, free: 5.938 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002841/0.3843, allocations: 1.133 MB / 0.5769 GB, free: 4.801 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.385, allocations: 291.4 kB / 0.5772 GB, free: 4.516 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003247/0.3883, allocations: 2.332 MB / 0.5795 GB, free: 2.18 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.3904, allocations: 1.629 MB / 0.5811 GB, free: 0.5078 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.3916, allocations: 0.8878 MB / 0.5819 GB, free: 15.62 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.3933, allocations: 1.254 MB / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.3937, allocations: 192 kB / 0.5833 GB, free: 14.17 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.3951, allocations: 0.7294 MB / 0.5841 GB, free: 13.44 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00124/0.3963, allocations: 1.133 MB / 0.5852 GB, free: 12.3 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001519/0.3978, allocations: 1.312 MB / 0.5864 GB, free: 10.98 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005366/0.4032, allocations: 4.334 MB / 0.5907 GB, free: 6.633 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4032, allocations: 0 / 0.5907 GB, free: 6.633 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.824e-06/0.4032, allocations: 0 / 0.5907 GB, free: 6.633 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 8.991e-05/0.4033, allocations: 0 / 0.5907 GB, free: 6.633 MB / 430.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.005765/0.4091, allocations: 2.87 MB / 0.5935 GB, free: 3.719 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4091, allocations: 12.03 kB / 0.5935 GB, free: 3.707 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.4144, allocations: 1.574 MB / 0.595 GB, free: 2.129 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.417, allocations: 1.275 MB / 0.5963 GB, free: 0.8242 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4171, allocations: 148 kB / 0.5964 GB, free: 0.6797 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.4175, allocations: 191.8 kB / 0.5966 GB, free: 0.4922 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4278, allocations: 6.238 MB / 0.6027 GB, free: 9.977 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/0.4278, allocations: 15.88 kB / 0.6027 GB, free: 9.961 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.4281, allocations: 83.91 kB / 0.6028 GB, free: 9.879 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/0.4304, allocations: 1.34 MB / 0.6041 GB, free: 8.535 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.4412, allocations: 5.334 MB / 0.6093 GB, free: 3.188 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.4707, allocations: 19.96 MB / 0.6288 GB, free: 14.64 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.475, allocations: 1.556 MB / 0.6303 GB, free: 13.07 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/0.4759, allocations: 0.6407 MB / 0.6309 GB, free: 12.42 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006233/0.4822, allocations: 3.031 MB / 0.6339 GB, free: 9.363 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4822, allocations: 34.98 kB / 0.6339 GB, free: 9.32 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.4822, allocations: 0 / 0.6339 GB, free: 9.32 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005495/0.4877, allocations: 1.978 MB / 0.6359 GB, free: 7.332 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4877, allocations: 63.78 kB / 0.6359 GB, free: 7.258 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.4904, allocations: 1.942 MB / 0.6378 GB, free: 5.312 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.4905, allocations: 37.7 kB / 0.6379 GB, free: 5.27 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.4919, allocations: 1.903 MB / 0.6397 GB, free: 3.344 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.4922, allocations: 337.5 kB / 0.64 GB, free: 3.012 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007734/0.493, allocations: 0.6195 MB / 0.6407 GB, free: 2.383 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001847/0.4932, allocations: 357.9 kB / 0.641 GB, free: 2.027 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4945, allocations: 0.8842 MB / 0.6419 GB, free: 1.141 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.4973, allocations: 2.759 MB / 0.6446 GB, free: 13.45 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/0.502, allocations: 3.968 MB / 0.6484 GB, free: 8.559 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.593e-05/0.5021, allocations: 20 kB / 0.6484 GB, free: 8.539 MB / 494.1 MB
Notification: Performance of matching and sorting (n=396) (initialization): time 0.005971/0.508, allocations: 3.527 MB / 0.6519 GB, free: 5.004 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.5081, allocations: 32 kB / 0.6519 GB, free: 4.973 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.399e-05/0.5082, allocations: 68 kB / 0.652 GB, free: 4.906 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.5083, allocations: 84 kB / 0.6521 GB, free: 4.824 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.5102, allocations: 0.6589 MB / 0.6527 GB, free: 4.164 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/0.5103, allocations: 132.1 kB / 0.6528 GB, free: 4.035 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5122, allocations: 420.9 kB / 0.6532 GB, free: 3.621 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.5125, allocations: 196 kB / 0.6534 GB, free: 3.43 MB / 494.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.00207/0.5146, allocations: 1.342 MB / 0.6547 GB, free: 2.074 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.5148, allocations: 166.9 kB / 0.6549 GB, free: 1.91 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.5152, allocations: 200.9 kB / 0.6551 GB, free: 1.711 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5152, allocations: 8 kB / 0.6551 GB, free: 1.703 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5152, allocations: 0 / 0.6551 GB, free: 1.703 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5152, allocations: 11.92 kB / 0.6551 GB, free: 1.691 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/0.5222, allocations: 4.045 MB / 0.6591 GB, free: 13.52 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5222, allocations: 4 kB / 0.6591 GB, free: 13.51 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.5226, allocations: 107.9 kB / 0.6592 GB, free: 13.41 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5226, allocations: 8 kB / 0.6592 GB, free: 13.4 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.5227, allocations: 19.94 kB / 0.6592 GB, free: 13.38 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.5227, allocations: 8 kB / 0.6592 GB, free: 13.37 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/0.5227, allocations: 11.94 kB / 0.6592 GB, free: 13.36 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5242, allocations: 1.247 MB / 0.6604 GB, free: 12.02 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.5247, allocations: 174.6 kB / 0.6606 GB, free: 11.85 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5248, allocations: 27.92 kB / 0.6606 GB, free: 11.82 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.5253, allocations: 19.98 kB / 0.6606 GB, free: 11.8 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5254, allocations: 55.81 kB / 0.6607 GB, free: 11.75 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.5255, allocations: 31.98 kB / 0.6607 GB, free: 11.71 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.001802/0.5273, allocations: 1.263 MB / 0.662 GB, free: 10.46 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 1e-07/0.5273, allocations: 0 / 0.662 GB, free: 10.46 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.002512/0.5298, allocations: 0.6968 MB / 0.6626 GB, free: 9.762 MB / 0.4981 GB
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.0003119/0.5301, allocations: 143.5 kB / 0.6628 GB, free: 9.609 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.00324/0.5333, allocations: 1.965 MB / 0.6647 GB, free: 7.66 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5333, allocations: 4 kB / 0.6647 GB, free: 7.656 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.000586/0.5339, allocations: 422.7 kB / 0.6651 GB, free: 7.246 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5352, allocations: 228 kB / 0.6653 GB, free: 7.023 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00895/0.5441, allocations: 5.088 MB / 0.6703 GB, free: 1.82 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.5467, allocations: 2.271 MB / 0.6725 GB, free: 15.52 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.002234/0.5489, allocations: 0.9557 MB / 0.6734 GB, free: 14.56 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5492, allocations: 119.4 kB / 0.6735 GB, free: 14.44 MB / 0.5137 GB
Notification: Performance of SimCode: time 8.11e-07/0.5492, allocations: 0 / 0.6735 GB, free: 14.44 MB / 0.5137 GB
Notification: Performance of Templates: time 0.03446/0.5837, allocations: 17.15 MB / 0.6903 GB, free: 13.31 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.818397602066398]