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.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.00156/0.00156, allocations: 77 kB / 19.93 MB, free: 1.781 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.001748/0.001748, allocations: 162.2 kB / 23.21 MB, free: 4.91 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.581/1.581, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.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.2403/0.2403, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 180] 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.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_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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.13e-05, allocations: 2.281 kB / 407.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0169/0.01693, allocations: 9.281 MB / 416.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.02632, allocations: 2.87 MB / 419.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.02847, allocations: 59.81 kB / 419.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005694/0.03416, allocations: 2.052 MB / 421.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004752/0.03891, allocations: 1.256 MB / 422.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.04015, allocations: 327.2 kB / 423.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005272/0.04542, allocations: 2.492 MB / 425.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.04892, allocations: 1.828 MB / 427.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.05169, allocations: 1.395 MB / 428.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.0545, allocations: 1.255 MB / 430.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006591/0.05516, allocations: 212 kB / 430.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.05694, allocations: 0.6475 MB / 431 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.05879, allocations: 1.289 MB / 432.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.06041, allocations: 0.7943 MB / 433.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008184/0.06859, allocations: 4.688 MB / 437.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.0686, allocations: 0 / 437.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.0686, allocations: 3.938 kB / 437.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001404/0.06874, allocations: 0 / 437.8 MB, free: 4.449 MB / 366.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.008639/0.07738, allocations: 3.05 MB / 440.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.07743, allocations: 12.03 kB / 440.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008935/0.08636, allocations: 1.641 MB / 442.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/0.09081, allocations: 1.352 MB / 443.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.09103, allocations: 156.3 kB / 444 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/0.0917, allocations: 196.3 kB / 444.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.1079, allocations: 6.793 MB / 451 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/0.108, allocations: 15.88 kB / 451 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/0.1084, allocations: 103.8 kB / 451.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/0.1121, allocations: 1.47 MB / 452.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.1304, allocations: 5.794 MB / 458.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2747/0.405, allocations: 19.59 MB / 477.9 MB, free: 56.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.4103, allocations: 1.796 MB / 479.7 MB, free: 56.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.4116, allocations: 0.7187 MB / 480.5 MB, free: 56.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007488/0.419, allocations: 3.199 MB / 483.7 MB, free: 55.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4191, allocations: 42.27 kB / 483.7 MB, free: 55.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.657e-06/0.4191, allocations: 0 / 483.7 MB, free: 55.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006306/0.4254, allocations: 2.319 MB / 486 MB, free: 54.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4254, allocations: 63.64 kB / 486.1 MB, free: 54.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.4284, allocations: 2.013 MB / 488.1 MB, free: 53.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.4285, allocations: 39.14 kB / 488.1 MB, free: 53.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.4295, allocations: 2.031 MB / 490.2 MB, free: 52.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.4298, allocations: 374.2 kB / 490.5 MB, free: 52.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008382/0.4306, allocations: 0.6541 MB / 491.2 MB, free: 51.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.4307, allocations: 348.3 kB / 491.5 MB, free: 51.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4321, allocations: 0.9672 MB / 492.5 MB, free: 51.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.4342, allocations: 2.922 MB / 495.4 MB, free: 48.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.4379, allocations: 4.25 MB / 499.7 MB, free: 44.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-05/0.438, allocations: 19.47 kB / 499.7 MB, free: 44.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005142/0.4431, allocations: 3.778 MB / 0.4917 GB, free: 43.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.4432, allocations: 33.66 kB / 0.4917 GB, free: 43.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-05/0.4432, allocations: 74.06 kB / 0.4918 GB, free: 43.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.499e-05/0.4433, allocations: 96.66 kB / 0.4919 GB, free: 43.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.4451, allocations: 0.7156 MB / 0.4926 GB, free: 43.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.05e-05/0.4452, allocations: 135.5 kB / 0.4927 GB, free: 43.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4473, allocations: 442.9 kB / 0.4931 GB, free: 43.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.4475, allocations: 194 kB / 0.4933 GB, free: 43.02 MB / 398.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.001872/0.4494, allocations: 1.428 MB / 0.4947 GB, free: 42.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.4496, allocations: 163.5 kB / 0.4948 GB, free: 42.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.4512, allocations: 1.189 MB / 0.496 GB, free: 41.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4513, allocations: 14.31 kB / 0.496 GB, free: 41.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4513, allocations: 0 / 0.496 GB, free: 41.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4513, allocations: 12.27 kB / 0.496 GB, free: 41.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/0.4575, allocations: 3.967 MB / 0.4999 GB, free: 37.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.4575, allocations: 8 kB / 0.4999 GB, free: 37.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.458, allocations: 131.8 kB / 0.5 GB, free: 37.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.458, allocations: 12 kB / 0.5 GB, free: 37.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.4581, allocations: 27.94 kB / 0.5001 GB, free: 37.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.4581, allocations: 19.92 kB / 0.5001 GB, free: 37.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4581, allocations: 11.94 kB / 0.5001 GB, free: 37.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4596, allocations: 1.482 MB / 0.5015 GB, free: 36.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.46, allocations: 170.7 kB / 0.5017 GB, free: 35.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.4601, allocations: 23.94 kB / 0.5017 GB, free: 35.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.4607, allocations: 35.97 kB / 0.5018 GB, free: 35.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4608, allocations: 75.66 kB / 0.5018 GB, free: 35.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.4609, allocations: 42.02 kB / 0.5019 GB, free: 35.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.4622, allocations: 1.159 MB / 0.503 GB, free: 34.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4622, allocations: 0 / 0.503 GB, free: 34.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002912/0.4651, allocations: 0.7825 MB / 0.5038 GB, free: 33.86 MB / 398.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.0003567/0.4654, allocations: 146.9 kB / 0.5039 GB, free: 33.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003485/0.4689, allocations: 2.157 MB / 0.506 GB, free: 31.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.4689, allocations: 0 / 0.506 GB, free: 31.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.4695, allocations: 0.5072 MB / 0.5065 GB, free: 31.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.471, allocations: 198 kB / 0.5067 GB, free: 30.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009119/0.4801, allocations: 5.574 MB / 0.5121 GB, free: 25.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.4821, allocations: 1.841 MB / 0.5139 GB, free: 23.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001974/0.484, allocations: 0.998 MB / 0.5149 GB, free: 22.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.4844, allocations: 124.5 kB / 0.515 GB, free: 22.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4844, allocations: 0 / 0.515 GB, free: 22.18 MB / 398.1 MB Notification: Performance of Templates: time 0.02612/0.5105, allocations: 12.56 MB / 0.5273 GB, free: 9.762 MB / 398.1 MB " [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.077029641717672]