Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0014/0.0014, allocations: 109.8 kB / 19.69 MB, free: 2.199 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.001705/0.001705, allocations: 190 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2432/0.2432, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 78.7 kB / 467.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 61.03 MB / 0.5166 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01288/0.1451, allocations: 10.63 MB / 0.527 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.1519, allocations: 3.034 MB / 0.5299 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.1534, allocations: 63.75 kB / 0.53 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.1574, allocations: 2.025 MB / 0.532 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1604, allocations: 1.226 MB / 0.5332 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.1612, allocations: 291.4 kB / 0.5334 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.1652, allocations: 2.454 MB / 0.5358 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.1675, allocations: 1.692 MB / 0.5375 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1688, allocations: 0.954 MB / 0.5384 GB, free: 392 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3098/0.4786, allocations: 1.368 MB / 0.5397 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.4797, allocations: 212.5 kB / 0.54 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.4818, allocations: 0.7268 MB / 0.5407 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.4834, allocations: 1.247 MB / 0.5419 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.4852, allocations: 1.433 MB / 0.5433 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008196/0.4934, allocations: 4.726 MB / 0.5479 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4934, allocations: 1.312 kB / 0.5479 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4934, allocations: 0 / 0.5479 GB, free: 10.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.4936, allocations: 1.125 kB / 0.5479 GB, free: 10.9 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.008741/0.5024, allocations: 3.084 MB / 0.5509 GB, free: 9.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5024, allocations: 10.16 kB / 0.5509 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/0.509, allocations: 1.631 MB / 0.5525 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.5132, allocations: 1.333 MB / 0.5538 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.5133, allocations: 153 kB / 0.554 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/0.5139, allocations: 199.5 kB / 0.5541 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.5298, allocations: 6.79 MB / 0.5608 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.5299, allocations: 14.72 kB / 0.5608 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.5303, allocations: 90.14 kB / 0.5609 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/0.5329, allocations: 1.481 MB / 0.5623 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.5466, allocations: 5.81 MB / 0.568 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/0.5854, allocations: 21.39 MB / 0.5889 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.5904, allocations: 1.719 MB / 0.5906 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.5917, allocations: 0.7301 MB / 0.5913 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00799/0.5997, allocations: 3.281 MB / 0.5945 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5997, allocations: 39.22 kB / 0.5945 GB, free: 15.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 3.747e-06/0.5997, allocations: 0 / 0.5945 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.006389/0.6061, allocations: 2.2 MB / 0.5967 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.6062, allocations: 64 kB / 0.5967 GB, free: 13.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.6096, allocations: 2.028 MB / 0.5987 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.6097, allocations: 37.7 kB / 0.5987 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.6113, allocations: 2.035 MB / 0.6007 GB, free: 9.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.6118, allocations: 390.6 kB / 0.6011 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.6128, allocations: 0.6646 MB / 0.6018 GB, free: 8.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.613, allocations: 361.9 kB / 0.6021 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.6147, allocations: 0.9627 MB / 0.603 GB, free: 7.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.6183, allocations: 2.919 MB / 0.6059 GB, free: 3.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/0.6245, allocations: 4.247 MB / 0.61 GB, free: 14.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/0.6246, allocations: 16 kB / 0.6101 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007412/0.632, allocations: 3.796 MB / 0.6138 GB, free: 10.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.6321, allocations: 32 kB / 0.6138 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.244e-05/0.6321, allocations: 68 kB / 0.6139 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.6323, allocations: 92 kB / 0.6139 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.6347, allocations: 0.7145 MB / 0.6146 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002278/0.6349, allocations: 139.4 kB / 0.6148 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.6374, allocations: 456.8 kB / 0.6152 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.6377, allocations: 199.8 kB / 0.6154 GB, free: 9.277 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.003432/0.6412, allocations: 1.43 MB / 0.6168 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.6415, allocations: 178.8 kB / 0.617 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.6438, allocations: 1.197 MB / 0.6181 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.6439, allocations: 14.66 kB / 0.6182 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6439, allocations: 4.5 kB / 0.6182 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6439, allocations: 3.984 kB / 0.6182 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.6539, allocations: 4.95 MB / 0.623 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.6539, allocations: 8 kB / 0.623 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.6545, allocations: 135.4 kB / 0.6231 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.6545, allocations: 12.72 kB / 0.6231 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.6546, allocations: 24 kB / 0.6232 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.6546, allocations: 27.86 kB / 0.6232 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.6546, allocations: 11.94 kB / 0.6232 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.657, allocations: 1.519 MB / 0.6247 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.6576, allocations: 202.4 kB / 0.6249 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.6578, allocations: 26.5 kB / 0.6249 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.6584, allocations: 43.91 kB / 0.6249 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6585, allocations: 71.72 kB / 0.625 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.6586, allocations: 39.94 kB / 0.6251 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002321/0.6609, allocations: 1.324 MB / 0.6263 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6609, allocations: 0 / 0.6263 GB, free: 13.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003359/0.6643, allocations: 0.7659 MB / 0.6271 GB, free: 12.96 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0004047/0.6647, allocations: 147.5 kB / 0.6272 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.6689, allocations: 2.163 MB / 0.6293 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6689, allocations: 1.938 kB / 0.6294 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.6697, allocations: 0.5088 MB / 0.6298 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.6713, allocations: 260.6 kB / 0.6301 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.684, allocations: 5.635 MB / 0.6356 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/0.6871, allocations: 2.403 MB / 0.6379 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002546/0.6897, allocations: 1.012 MB / 0.6389 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.69, allocations: 139.4 kB / 0.6391 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of SimCode: time 2.074e-06/0.69, allocations: 0 / 0.6391 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of Templates: time 0.04376/0.7338, allocations: 18.86 MB / 0.6575 GB, free: 13.76 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.177129703573883]