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.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.001237/0.001237, allocations: 118.2 kB / 18.5 MB, free: 4.543 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.001576/0.001576, allocations: 190.9 kB / 21.44 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.2392/0.2392, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 64.45 kB / 492.3 MB, free: 29.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1464, allocations: 64.26 MB / 0.5435 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0128/0.1592, allocations: 9.778 MB / 0.553 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00821/0.1674, allocations: 2.944 MB / 0.5559 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.1692, allocations: 51.88 kB / 0.5559 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.1734, allocations: 2.017 MB / 0.5579 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.1768, allocations: 1.156 MB / 0.559 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.1775, allocations: 287.4 kB / 0.5593 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.1809, allocations: 2.329 MB / 0.5616 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.1835, allocations: 1.942 MB / 0.5635 GB, free: 15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.185, allocations: 0.8956 MB / 0.5644 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.1868, allocations: 1.273 MB / 0.5656 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.1872, allocations: 200 kB / 0.5658 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1886, allocations: 0.7294 MB / 0.5665 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.1898, allocations: 1.176 MB / 0.5677 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.1912, allocations: 1.359 MB / 0.569 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.1968, allocations: 4.466 MB / 0.5733 GB, free: 4.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.1968, allocations: 3.984 kB / 0.5734 GB, free: 4.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1968, allocations: 0 / 0.5734 GB, free: 4.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1969, allocations: 0 / 0.5734 GB, free: 4.863 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005719/0.2026, allocations: 3.02 MB / 0.5763 GB, free: 1.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2027, allocations: 8.031 kB / 0.5763 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.2079, allocations: 1.598 MB / 0.5779 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.2105, allocations: 1.367 MB / 0.5792 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2106, allocations: 152.1 kB / 0.5794 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.211, allocations: 191.8 kB / 0.5795 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.2213, allocations: 6.428 MB / 0.5858 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.2214, allocations: 15.88 kB / 0.5858 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.2216, allocations: 91.89 kB / 0.5859 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.2238, allocations: 1.403 MB / 0.5873 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.2344, allocations: 5.49 MB / 0.5926 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3773/0.6118, allocations: 20.46 MB / 0.6126 GB, free: 46.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.6166, allocations: 2.017 MB / 0.6146 GB, free: 45.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.6177, allocations: 0.6378 MB / 0.6152 GB, free: 45.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00706/0.6248, allocations: 3.508 MB / 0.6186 GB, free: 44.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6248, allocations: 46.48 kB / 0.6187 GB, free: 44.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/0.6248, allocations: 1.25 kB / 0.6187 GB, free: 44.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005997/0.6308, allocations: 1.983 MB / 0.6206 GB, free: 44.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6309, allocations: 57.38 kB / 0.6207 GB, free: 44.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.634, allocations: 1.971 MB / 0.6226 GB, free: 43.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.634, allocations: 36.08 kB / 0.6226 GB, free: 43.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.6353, allocations: 1.955 MB / 0.6245 GB, free: 42.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6355, allocations: 335.4 kB / 0.6249 GB, free: 41.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007783/0.6363, allocations: 0.624 MB / 0.6255 GB, free: 41.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6364, allocations: 364.5 kB / 0.6258 GB, free: 41.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.6381, allocations: 0.8938 MB / 0.6267 GB, free: 41.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.6403, allocations: 2.773 MB / 0.6294 GB, free: 38.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.6439, allocations: 4.003 MB / 0.6333 GB, free: 34.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.988e-05/0.6439, allocations: 20.09 kB / 0.6333 GB, free: 34.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004985/0.6489, allocations: 3.556 MB / 0.6368 GB, free: 33.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.6489, allocations: 33.41 kB / 0.6368 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.986e-05/0.649, allocations: 66.56 kB / 0.6369 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-05/0.6491, allocations: 90.38 kB / 0.637 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.6508, allocations: 0.6628 MB / 0.6376 GB, free: 33.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.417e-05/0.6508, allocations: 136 kB / 0.6378 GB, free: 33.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.6527, allocations: 423.8 kB / 0.6382 GB, free: 33.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.6529, allocations: 192.5 kB / 0.6383 GB, free: 33.08 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001634/0.6546, allocations: 1.379 MB / 0.6397 GB, free: 32.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.6547, allocations: 178 kB / 0.6399 GB, free: 32.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.655, allocations: 195 kB / 0.6401 GB, free: 32.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.655, allocations: 6.969 kB / 0.6401 GB, free: 32.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.6551, allocations: 0 / 0.6401 GB, free: 32.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6551, allocations: 7.297 kB / 0.6401 GB, free: 32.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.6604, allocations: 4.13 MB / 0.6441 GB, free: 30.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6605, allocations: 11.75 kB / 0.6441 GB, free: 30.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.6608, allocations: 98.55 kB / 0.6442 GB, free: 30.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.6608, allocations: 7.5 kB / 0.6442 GB, free: 30.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.6608, allocations: 22.73 kB / 0.6442 GB, free: 30.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.6608, allocations: 15.41 kB / 0.6442 GB, free: 30.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6609, allocations: 11.53 kB / 0.6443 GB, free: 30.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6619, allocations: 1.245 MB / 0.6455 GB, free: 29.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.6622, allocations: 256.6 kB / 0.6457 GB, free: 29.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.6624, allocations: 17.78 kB / 0.6457 GB, free: 29.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.6629, allocations: 33.31 kB / 0.6458 GB, free: 29.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.6629, allocations: 51.77 kB / 0.6458 GB, free: 29.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.663, allocations: 26.28 kB / 0.6458 GB, free: 29.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.6643, allocations: 1.292 MB / 0.6471 GB, free: 28.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6643, allocations: 0 / 0.6471 GB, free: 28.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002401/0.6667, allocations: 0.7165 MB / 0.6478 GB, free: 28.73 MB / 462.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.0002592/0.667, allocations: 141.9 kB / 0.6479 GB, free: 28.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.6693, allocations: 1.966 MB / 0.6499 GB, free: 26.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6694, allocations: 6 kB / 0.6499 GB, free: 26.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.6697, allocations: 429 kB / 0.6503 GB, free: 26.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6708, allocations: 238.8 kB / 0.6505 GB, free: 26.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/0.6778, allocations: 5.213 MB / 0.6556 GB, free: 20.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.6795, allocations: 2.317 MB / 0.6579 GB, free: 18.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001751/0.6813, allocations: 0.9661 MB / 0.6588 GB, free: 17.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.6815, allocations: 123.4 kB / 0.6589 GB, free: 17.33 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6815, allocations: 0 / 0.6589 GB, free: 17.33 MB / 462.1 MB Notification: Performance of Templates: time 0.02602/0.7076, allocations: 15.6 MB / 0.6742 GB, free: 1.805 MB / 462.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 6.142570652067661]