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.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.001873/0.001873, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.002369/0.002369, allocations: 209.2 kB / 24.48 MB, free: 3.957 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.527/1.527, allocations: 230.6 MB / 258.3 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.2376/0.2376, allocations: 44.93 MB / 359.6 MB, free: 6.133 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.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: 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.002159/0.002159, allocations: 67.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 65.48 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01194/0.4453, allocations: 8.393 MB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.4521, allocations: 2.779 MB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.4538, allocations: 55.81 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.4578, allocations: 1.939 MB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.4609, allocations: 1.136 MB / 0.5722 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.4616, allocations: 291.5 kB / 0.5724 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003207/0.4648, allocations: 2.328 MB / 0.5747 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.467, allocations: 1.73 MB / 0.5764 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4681, allocations: 0.8956 MB / 0.5773 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4698, allocations: 1.176 MB / 0.5784 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.4702, allocations: 192 kB / 0.5786 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.4713, allocations: 0.6123 MB / 0.5792 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.4725, allocations: 1.13 MB / 0.5803 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.4735, allocations: 0.951 MB / 0.5812 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.4787, allocations: 4.342 MB / 0.5855 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4788, allocations: 7.938 kB / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4788, allocations: 0 / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.333e-05/0.4788, allocations: 0 / 0.5855 GB, free: 11.37 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.005871/0.4847, allocations: 2.862 MB / 0.5883 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4848, allocations: 8.031 kB / 0.5883 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.4899, allocations: 1.574 MB / 0.5898 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.4934, allocations: 1.294 MB / 0.5911 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4935, allocations: 140 kB / 0.5912 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/0.4939, allocations: 191.8 kB / 0.5914 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.5042, allocations: 6.246 MB / 0.5975 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.5043, allocations: 15.88 kB / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.5045, allocations: 83.91 kB / 0.5976 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/0.5067, allocations: 1.344 MB / 0.5989 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.5182, allocations: 5.322 MB / 0.6041 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.5461, allocations: 18.25 MB / 0.6219 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.5504, allocations: 1.561 MB / 0.6235 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/0.5514, allocations: 0.6328 MB / 0.6241 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006121/0.5575, allocations: 2.884 MB / 0.6269 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5575, allocations: 39 kB / 0.6269 GB, free: 15.94 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.336e-06/0.5575, allocations: 0 / 0.6269 GB, free: 15.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00526/0.5628, allocations: 1.971 MB / 0.6289 GB, free: 13.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.5629, allocations: 63.83 kB / 0.6289 GB, free: 13.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.5656, allocations: 1.931 MB / 0.6308 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.5657, allocations: 45.62 kB / 0.6308 GB, free: 11.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.5671, allocations: 1.915 MB / 0.6327 GB, free: 9.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.5674, allocations: 329.5 kB / 0.633 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/0.5683, allocations: 0.6195 MB / 0.6336 GB, free: 9.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5685, allocations: 345.9 kB / 0.634 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5698, allocations: 0.8842 MB / 0.6348 GB, free: 7.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/0.5732, allocations: 2.755 MB / 0.6375 GB, free: 4.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/0.5782, allocations: 3.977 MB / 0.6414 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.39e-05/0.5783, allocations: 20 kB / 0.6414 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005904/0.5842, allocations: 3.524 MB / 0.6449 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.5842, allocations: 39.94 kB / 0.6449 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.328e-05/0.5843, allocations: 64 kB / 0.645 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.5844, allocations: 88 kB / 0.645 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.5863, allocations: 0.6511 MB / 0.6457 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001127/0.5864, allocations: 131.5 kB / 0.6458 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.5882, allocations: 417.1 kB / 0.6462 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.5884, allocations: 184 kB / 0.6464 GB, free: 10.08 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.002223/0.5907, allocations: 1.35 MB / 0.6477 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.5909, allocations: 154.9 kB / 0.6478 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.5913, allocations: 188 kB / 0.648 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.5914, allocations: 8 kB / 0.648 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5914, allocations: 0 / 0.648 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5914, allocations: 3.984 kB / 0.648 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.5973, allocations: 3.118 MB / 0.6511 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5973, allocations: 4 kB / 0.6511 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.5977, allocations: 99.81 kB / 0.6512 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.5977, allocations: 8 kB / 0.6512 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.5977, allocations: 16 kB / 0.6512 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.5978, allocations: 11.98 kB / 0.6512 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.5978, allocations: 19.86 kB / 0.6512 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.5994, allocations: 1.222 MB / 0.6524 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.5997, allocations: 158.7 kB / 0.6526 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.5998, allocations: 16 kB / 0.6526 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.6002, allocations: 27.95 kB / 0.6526 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.6003, allocations: 63.62 kB / 0.6527 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.6004, allocations: 31.98 kB / 0.6527 GB, free: 3.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001619/0.602, allocations: 1.114 MB / 0.6538 GB, free: 2.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.602, allocations: 0 / 0.6538 GB, free: 2.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002687/0.6047, allocations: 0.6968 MB / 0.6545 GB, free: 1.559 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.0003249/0.605, allocations: 146.9 kB / 0.6546 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.6083, allocations: 1.956 MB / 0.6565 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6083, allocations: 0 / 0.6565 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.6089, allocations: 437.1 kB / 0.6569 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.6099, allocations: 187 kB / 0.6571 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/0.6198, allocations: 5.383 MB / 0.6624 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.6222, allocations: 1.708 MB / 0.664 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.6227, allocations: 131.4 kB / 0.6642 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.6227, allocations: 0 / 0.6642 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.05573/0.6784, allocations: 30.04 MB / 0.6935 GB, free: 9.496 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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: 10.697954737115651]