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.00106/0.00106, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001078/0.001078, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2672/0.2672, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 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.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.098e-05, allocations: 8.781 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01891/0.01894, allocations: 9.196 MB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.03106, allocations: 2.858 MB / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005367/0.03643, allocations: 59.81 kB / 388.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.04084, allocations: 2.13 MB / 390.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.04459, allocations: 1.182 MB / 391.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.04547, allocations: 315.2 kB / 391.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.04919, allocations: 2.367 MB / 394.1 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.05113, allocations: 1.797 MB / 395.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.05249, allocations: 1.298 MB / 397.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.05375, allocations: 1.177 MB / 398.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.05399, allocations: 196 kB / 398.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.05481, allocations: 0.6318 MB / 399.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.0556, allocations: 1.192 MB / 400.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006814/0.05628, allocations: 0.7202 MB / 401.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.05885, allocations: 2.716 MB / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.05886, allocations: 0 / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.05886, allocations: 0 / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.962e-05/0.05891, allocations: 0 / 403.8 MB, free: 9.023 MB / 378.7 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.003058/0.06197, allocations: 3.142 MB / 407 MB, free: 5.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.06201, allocations: 8.031 kB / 407 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.06504, allocations: 1.879 MB / 408.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.06642, allocations: 1.211 MB / 410.1 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.06649, allocations: 152 kB / 410.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.06668, allocations: 184.3 kB / 410.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.07051, allocations: 3.313 MB / 413.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.07054, allocations: 15.88 kB / 413.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.0707, allocations: 87.91 kB / 413.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.0719, allocations: 1.344 MB / 415.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.07529, allocations: 1.798 MB / 416.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.09019, allocations: 20.58 MB / 437.5 MB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.09232, allocations: 0.9242 MB / 438.4 MB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.09265, allocations: 223.8 kB / 438.7 MB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.0957, allocations: 2.439 MB / 441.1 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.09573, allocations: 41.89 kB / 441.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.336e-06/0.09573, allocations: 0 / 441.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002775/0.09851, allocations: 1.284 MB / 442.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.09855, allocations: 67.83 kB / 442.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1424/0.241, allocations: 1.788 MB / 444.3 MB, free: 87.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.2411, allocations: 36.83 kB / 444.3 MB, free: 87.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.2419, allocations: 2.015 MB / 446.3 MB, free: 86.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.2422, allocations: 338.4 kB / 446.7 MB, free: 86.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/0.2426, allocations: 0.6696 MB / 447.3 MB, free: 85.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.2427, allocations: 0.5208 MB / 447.9 MB, free: 85.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.2431, allocations: 293 kB / 448.1 MB, free: 85.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2443, allocations: 3.048 MB / 451.2 MB, free: 81.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.2463, allocations: 3.686 MB / 454.9 MB, free: 78.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/0.2463, allocations: 19.34 kB / 454.9 MB, free: 78.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002875/0.2492, allocations: 2.499 MB / 457.4 MB, free: 78.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.2492, allocations: 32.53 kB / 457.4 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/0.2493, allocations: 71.19 kB / 457.5 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.932e-05/0.2493, allocations: 85.66 kB / 457.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.2504, allocations: 0.6638 MB / 458.2 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.959e-05/0.2505, allocations: 128.6 kB / 458.4 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2517, allocations: 413 kB / 458.8 MB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.2518, allocations: 189.5 kB / 459 MB, free: 77.92 MB / 410.7 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.0007111/0.2525, allocations: 416.2 kB / 459.4 MB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.2527, allocations: 173.2 kB / 459.5 MB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.2528, allocations: 156.6 kB / 459.7 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.2529, allocations: 9.875 kB / 459.7 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2529, allocations: 3.281 kB / 459.7 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2529, allocations: 0 / 459.7 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.2561, allocations: 2.846 MB / 462.5 MB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2561, allocations: 6.344 kB / 462.5 MB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.2563, allocations: 99.23 kB / 462.6 MB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.2563, allocations: 9.625 kB / 462.7 MB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2564, allocations: 19.31 kB / 462.7 MB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2564, allocations: 10.09 kB / 462.7 MB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2564, allocations: 10.44 kB / 462.7 MB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.257, allocations: 0.861 MB / 463.6 MB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2572, allocations: 149.6 kB / 463.7 MB, free: 76.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.81e-05/0.2572, allocations: 23.55 kB / 463.7 MB, free: 76.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2575, allocations: 27.08 kB / 463.8 MB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.2575, allocations: 55.28 kB / 463.8 MB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.2576, allocations: 29.72 kB / 463.8 MB, free: 76.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006709/0.2582, allocations: 0.7753 MB / 464.6 MB, free: 76.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2582, allocations: 0 / 464.6 MB, free: 76.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001778/0.26, allocations: 0.7074 MB / 465.3 MB, free: 75.86 MB / 410.7 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.0002799/0.2603, allocations: 139.5 kB / 465.5 MB, free: 75.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2619, allocations: 1.254 MB / 466.7 MB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2619, allocations: 3.344 kB / 466.7 MB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2621, allocations: 194.1 kB / 466.9 MB, free: 75.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.2627, allocations: 194 kB / 467.1 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.2673, allocations: 4.352 MB / 471.4 MB, free: 72.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.2679, allocations: 0.7606 MB / 472.2 MB, free: 72.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001101/0.269, allocations: 0.8003 MB / 473 MB, free: 72.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.2692, allocations: 112.4 kB / 473.1 MB, free: 72.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2692, allocations: 4 kB / 473.1 MB, free: 72.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01983/0.289, allocations: 11.56 MB / 484.7 MB, free: 71.29 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5127012860029936]