Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001718/0.001718, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002575/0.002575, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003513/0.003513, allocations: 59.91 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1667, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01259/0.1793, allocations: 9.57 MB / 0.5652 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.1853, allocations: 2.936 MB / 0.5681 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1865, allocations: 55.81 kB / 0.5681 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.1906, allocations: 2.021 MB / 0.5701 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.1935, allocations: 1.129 MB / 0.5712 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.1943, allocations: 283.5 kB / 0.5715 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00351/0.1978, allocations: 2.337 MB / 0.5737 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.2005, allocations: 1.918 MB / 0.5756 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.202, allocations: 0.8879 MB / 0.5765 GB, free: 100 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2037, allocations: 1.25 MB / 0.5777 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.204, allocations: 200 kB / 0.5779 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.2053, allocations: 0.7216 MB / 0.5786 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.2065, allocations: 1.141 MB / 0.5797 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.2079, allocations: 1.305 MB / 0.581 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.2136, allocations: 4.33 MB / 0.5852 GB, free: 7.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2136, allocations: 4 kB / 0.5852 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2136, allocations: 0 / 0.5852 GB, free: 7.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.766e-05/0.2137, allocations: 0 / 0.5852 GB, free: 7.117 MB / 446.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.005756/0.2194, allocations: 2.945 MB / 0.5881 GB, free: 4.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2195, allocations: 12.03 kB / 0.5881 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.2251, allocations: 1.571 MB / 0.5896 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.2276, allocations: 1.344 MB / 0.5909 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.2278, allocations: 144 kB / 0.5911 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.2281, allocations: 187.8 kB / 0.5913 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2999/0.5281, allocations: 6.25 MB / 0.5974 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/0.5281, allocations: 13.88 kB / 0.5974 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.5284, allocations: 86.7 kB / 0.5975 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002678/0.5311, allocations: 1.341 MB / 0.5988 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.5438, allocations: 5.335 MB / 0.604 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02907/0.5728, allocations: 20.03 MB / 0.6235 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/0.5779, allocations: 2.012 MB / 0.6255 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.5787, allocations: 0.6317 MB / 0.6261 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/0.5846, allocations: 3.503 MB / 0.6295 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5846, allocations: 41.12 kB / 0.6296 GB, free: 13.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.5846, allocations: 4 kB / 0.6296 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005026/0.5896, allocations: 1.974 MB / 0.6315 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5897, allocations: 58.73 kB / 0.6316 GB, free: 11.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.5919, allocations: 1.944 MB / 0.6335 GB, free: 9.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.5919, allocations: 36.28 kB / 0.6335 GB, free: 9.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.5927, allocations: 1.908 MB / 0.6354 GB, free: 7.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5929, allocations: 332.4 kB / 0.6357 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005846/0.5935, allocations: 0.6186 MB / 0.6363 GB, free: 6.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.5936, allocations: 361.9 kB / 0.6366 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.5945, allocations: 0.889 MB / 0.6375 GB, free: 5.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.5961, allocations: 2.747 MB / 0.6402 GB, free: 1.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/0.6007, allocations: 3.979 MB / 0.6441 GB, free: 12.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.503e-05/0.6007, allocations: 20 kB / 0.6441 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006207/0.607, allocations: 3.525 MB / 0.6475 GB, free: 9.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.607, allocations: 32.19 kB / 0.6476 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.507e-05/0.6071, allocations: 75.94 kB / 0.6476 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.6072, allocations: 88.56 kB / 0.6477 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.6092, allocations: 0.655 MB / 0.6484 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/0.6093, allocations: 127.5 kB / 0.6485 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.6113, allocations: 424.8 kB / 0.6489 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/0.6116, allocations: 198.8 kB / 0.6491 GB, free: 7.434 MB / 462.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.002333/0.6139, allocations: 1.35 MB / 0.6504 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6143, allocations: 162.9 kB / 0.6505 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.6147, allocations: 192.9 kB / 0.6507 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.6147, allocations: 12 kB / 0.6507 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6147, allocations: 0 / 0.6507 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6147, allocations: 3.984 kB / 0.6507 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007173/0.6219, allocations: 4.077 MB / 0.6547 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6219, allocations: 11.94 kB / 0.6547 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.6224, allocations: 95.88 kB / 0.6548 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.6224, allocations: 8 kB / 0.6548 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.6224, allocations: 19.94 kB / 0.6549 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/0.6224, allocations: 15.92 kB / 0.6549 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.6224, allocations: 12.41 kB / 0.6549 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.6242, allocations: 1.235 MB / 0.6561 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.6246, allocations: 259.7 kB / 0.6563 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.6248, allocations: 23.94 kB / 0.6564 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.6253, allocations: 27.95 kB / 0.6564 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.6254, allocations: 51.83 kB / 0.6564 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.6254, allocations: 35.88 kB / 0.6565 GB, free: 15.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.6274, allocations: 1.267 MB / 0.6577 GB, free: 14.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6274, allocations: 0 / 0.6577 GB, free: 14.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002662/0.63, allocations: 0.693 MB / 0.6584 GB, free: 13.63 MB / 478.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.0003343/0.6304, allocations: 139 kB / 0.6585 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.634, allocations: 1.953 MB / 0.6604 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.634, allocations: 3.938 kB / 0.6604 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.6346, allocations: 432.8 kB / 0.6608 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.6359, allocations: 239.4 kB / 0.6611 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/0.6458, allocations: 5.088 MB / 0.666 GB, free: 5.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/0.6485, allocations: 2.275 MB / 0.6683 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002338/0.6508, allocations: 0.9534 MB / 0.6692 GB, free: 2.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.6512, allocations: 115.4 kB / 0.6693 GB, free: 2.324 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6512, allocations: 0 / 0.6693 GB, free: 2.324 MB / 478.1 MB Notification: Performance of Templates: time 0.03453/0.6857, allocations: 15.26 MB / 0.6842 GB, free: 3.113 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.042510740458965]