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.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.001669/0.001669, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001561/0.001561, allocations: 209 kB / 24.48 MB, free: 3.938 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2437/0.2437, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.91 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4174, allocations: 65.46 MB / 0.5582 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01157/0.429, allocations: 8.409 MB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.4356, allocations: 2.783 MB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.4368, allocations: 55.81 kB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.4407, allocations: 1.947 MB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.4436, allocations: 1.136 MB / 0.5722 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.4443, allocations: 283.5 kB / 0.5724 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.4476, allocations: 2.325 MB / 0.5747 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.45, allocations: 1.734 MB / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.4513, allocations: 0.8917 MB / 0.5773 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.453, allocations: 1.176 MB / 0.5784 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.4533, allocations: 192 kB / 0.5786 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.4545, allocations: 0.6123 MB / 0.5792 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.4557, allocations: 1.133 MB / 0.5803 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.4572, allocations: 0.9432 MB / 0.5812 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.4627, allocations: 4.346 MB / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4627, allocations: 0 / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4627, allocations: 0 / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.788e-05/0.4628, allocations: 4 kB / 0.5855 GB, free: 11.24 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.005443/0.4682, allocations: 2.862 MB / 0.5883 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4683, allocations: 8.031 kB / 0.5883 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.4733, allocations: 1.582 MB / 0.5898 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.4766, allocations: 1.29 MB / 0.5911 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.4767, allocations: 144 kB / 0.5912 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.4771, allocations: 187.8 kB / 0.5914 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.4885, allocations: 6.246 MB / 0.5975 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.4885, allocations: 15.88 kB / 0.5975 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.4888, allocations: 87.91 kB / 0.5976 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/0.4911, allocations: 1.34 MB / 0.5989 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.5016, allocations: 5.33 MB / 0.6041 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/0.5295, allocations: 18.25 MB / 0.6219 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.5337, allocations: 1.557 MB / 0.6235 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5348, allocations: 0.6367 MB / 0.6241 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/0.5412, allocations: 2.88 MB / 0.6269 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5412, allocations: 39 kB / 0.6269 GB, free: 15.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.767e-06/0.5412, allocations: 0 / 0.6269 GB, free: 15.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005619/0.5468, allocations: 1.975 MB / 0.6289 GB, free: 13.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5469, allocations: 59.83 kB / 0.6289 GB, free: 13.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.5503, allocations: 1.935 MB / 0.6308 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.5503, allocations: 33.7 kB / 0.6308 GB, free: 11.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.552, allocations: 1.923 MB / 0.6327 GB, free: 9.824 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.5524, allocations: 321.6 kB / 0.633 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.5534, allocations: 0.6234 MB / 0.6336 GB, free: 8.875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5536, allocations: 353.9 kB / 0.634 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.5551, allocations: 0.8881 MB / 0.6348 GB, free: 7.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.5584, allocations: 2.747 MB / 0.6375 GB, free: 3.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005256/0.5636, allocations: 3.969 MB / 0.6414 GB, free: 15.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.5637, allocations: 20 kB / 0.6414 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006928/0.5707, allocations: 3.527 MB / 0.6449 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.5708, allocations: 36 kB / 0.6449 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.5709, allocations: 67.94 kB / 0.645 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.571, allocations: 88 kB / 0.645 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.573, allocations: 0.655 MB / 0.6457 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00013/0.5731, allocations: 127.5 kB / 0.6458 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.5752, allocations: 425.4 kB / 0.6462 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.5755, allocations: 184 kB / 0.6464 GB, free: 9.941 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.002346/0.5779, allocations: 1.346 MB / 0.6477 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.5782, allocations: 154.9 kB / 0.6479 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.5786, allocations: 188 kB / 0.648 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.5786, allocations: 8 kB / 0.648 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5786, allocations: 8 kB / 0.648 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5786, allocations: 3.984 kB / 0.648 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.5852, allocations: 3.106 MB / 0.6511 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.5852, allocations: 8 kB / 0.6511 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5856, allocations: 103.8 kB / 0.6512 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.5856, allocations: 8 kB / 0.6512 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.5857, allocations: 12.69 kB / 0.6512 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-05/0.5857, allocations: 15.92 kB / 0.6512 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.5857, allocations: 19.88 kB / 0.6512 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.5876, allocations: 1.217 MB / 0.6524 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.588, allocations: 162.7 kB / 0.6526 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5882, allocations: 12 kB / 0.6526 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.5888, allocations: 27.97 kB / 0.6526 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5889, allocations: 55.75 kB / 0.6527 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.5889, allocations: 39.91 kB / 0.6527 GB, free: 3.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.5909, allocations: 1.118 MB / 0.6538 GB, free: 2.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5909, allocations: 4 kB / 0.6538 GB, free: 2.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002983/0.5939, allocations: 0.6929 MB / 0.6545 GB, free: 1.422 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.0003986/0.5943, allocations: 143 kB / 0.6546 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.5979, allocations: 1.952 MB / 0.6565 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5979, allocations: 0 / 0.6565 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.5985, allocations: 436.1 kB / 0.6569 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.5998, allocations: 183.4 kB / 0.6571 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.6112, allocations: 5.388 MB / 0.6624 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003231/0.6144, allocations: 1.708 MB / 0.6641 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.615, allocations: 135.4 kB / 0.6642 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/0.615, allocations: 0 / 0.6642 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.05805/0.673, allocations: 30.04 MB / 0.6935 GB, free: 9.363 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.33609920507297]