Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.224/0.224, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01122/0.3351, allocations: 8.4 MB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.3408, allocations: 2.784 MB / 0.5727 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006811/0.3415, allocations: 55.81 kB / 0.5728 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.3451, allocations: 1.935 MB / 0.5747 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3474, allocations: 1.14 MB / 0.5758 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.348, allocations: 295.4 kB / 0.5761 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.3507, allocations: 2.333 MB / 0.5783 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.3526, allocations: 1.73 MB / 0.58 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.3535, allocations: 0.8957 MB / 0.5809 GB, free: 472 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.355, allocations: 1.25 MB / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.3553, allocations: 192 kB / 0.5823 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.3563, allocations: 0.6162 MB / 0.5829 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.3573, allocations: 1.133 MB / 0.584 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009338/0.3582, allocations: 0.9548 MB / 0.585 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004291/0.3625, allocations: 4.345 MB / 0.5892 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3625, allocations: 4 kB / 0.5892 GB, free: 7.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3625, allocations: 0 / 0.5892 GB, free: 7.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.277e-05/0.3626, allocations: 0 / 0.5892 GB, free: 7.941 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.004371/0.3669, allocations: 2.866 MB / 0.592 GB, free: 5.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.367, allocations: 12.03 kB / 0.592 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.3717, allocations: 1.571 MB / 0.5935 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.3744, allocations: 1.286 MB / 0.5948 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3745, allocations: 144 kB / 0.5949 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.3748, allocations: 191.8 kB / 0.5951 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00901/0.3839, allocations: 6.242 MB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.3839, allocations: 11.88 kB / 0.6012 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.3841, allocations: 91.91 kB / 0.6013 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/0.3862, allocations: 1.348 MB / 0.6026 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009925/0.3961, allocations: 5.326 MB / 0.6078 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.4235, allocations: 18.26 MB / 0.6257 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.4278, allocations: 1.549 MB / 0.6272 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4288, allocations: 0.6357 MB / 0.6278 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006413/0.4352, allocations: 2.88 MB / 0.6306 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4352, allocations: 39 kB / 0.6307 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.4352, allocations: 3.938 kB / 0.6307 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005452/0.4407, allocations: 1.974 MB / 0.6326 GB, free: 10.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4407, allocations: 63.83 kB / 0.6326 GB, free: 10.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.4434, allocations: 1.927 MB / 0.6345 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.4435, allocations: 37.7 kB / 0.6346 GB, free: 8.461 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.445, allocations: 1.923 MB / 0.6364 GB, free: 6.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.4453, allocations: 329.5 kB / 0.6368 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007931/0.4461, allocations: 0.6195 MB / 0.6374 GB, free: 5.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4463, allocations: 345.9 kB / 0.6377 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4476, allocations: 0.8842 MB / 0.6386 GB, free: 4.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.4505, allocations: 2.751 MB / 0.6412 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.4553, allocations: 3.969 MB / 0.6451 GB, free: 11.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-05/0.4553, allocations: 27.94 kB / 0.6451 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005619/0.4609, allocations: 3.523 MB / 0.6486 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.461, allocations: 32.97 kB / 0.6486 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.4611, allocations: 68 kB / 0.6487 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-05/0.4612, allocations: 92 kB / 0.6488 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.4631, allocations: 0.6589 MB / 0.6494 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001144/0.4632, allocations: 127.5 kB / 0.6495 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.4651, allocations: 416.9 kB / 0.6499 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.4653, allocations: 184 kB / 0.6501 GB, free: 6.637 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.001972/0.4673, allocations: 1.35 MB / 0.6514 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.4675, allocations: 154.9 kB / 0.6516 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.4678, allocations: 188 kB / 0.6518 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.4679, allocations: 11.94 kB / 0.6518 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4679, allocations: 0 / 0.6518 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4679, allocations: 3.984 kB / 0.6518 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.4741, allocations: 3.107 MB / 0.6548 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.4741, allocations: 8 kB / 0.6548 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.4745, allocations: 103.9 kB / 0.6549 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.4746, allocations: 8 kB / 0.6549 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.4746, allocations: 20 kB / 0.6549 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.4746, allocations: 11.98 kB / 0.6549 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.4746, allocations: 11.94 kB / 0.655 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.4763, allocations: 1.229 MB / 0.6562 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.4767, allocations: 158.7 kB / 0.6563 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.4768, allocations: 20 kB / 0.6563 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.4773, allocations: 23.97 kB / 0.6564 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4774, allocations: 55.75 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.4775, allocations: 31.98 kB / 0.6564 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001531/0.479, allocations: 1.11 MB / 0.6575 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.479, allocations: 0 / 0.6575 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00258/0.4816, allocations: 0.7006 MB / 0.6582 GB, free: 14.12 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.0003288/0.4819, allocations: 146.9 kB / 0.6583 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.485, allocations: 1.96 MB / 0.6603 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.485, allocations: 0 / 0.6603 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.4856, allocations: 429.5 kB / 0.6607 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4867, allocations: 189.1 kB / 0.6608 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/0.4955, allocations: 5.061 MB / 0.6658 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.4977, allocations: 1.712 MB / 0.6675 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002036/0.4998, allocations: 0.9233 MB / 0.6684 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.5, allocations: 107.4 kB / 0.6685 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.5, allocations: 0 / 0.6685 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.03082/0.5308, allocations: 15.5 MB / 0.6836 GB, free: 4.141 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.319837900999119]