Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001677/0.001677, allocations: 116 kB / 18.45 MB, free: 4.562 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.001945/0.001945, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.587/1.587, allocations: 230.6 MB / 254.8 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.2542/0.2542, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.91 kB / 0.4922 GB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1395, allocations: 65.99 MB / 0.5566 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003608/0.1431, allocations: 1.74 MB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.145, allocations: 1.027 MB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1451, allocations: 7.938 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1454, allocations: 87.69 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.1458, allocations: 115.6 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1461, allocations: 71.69 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1463, allocations: 119.7 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1464, allocations: 11.94 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1465, allocations: 59.75 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1467, allocations: 67.8 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1467, allocations: 4 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1468, allocations: 43.98 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.1469, allocations: 27.86 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.1469, allocations: 35.73 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1472, allocations: 127.4 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1472, allocations: 0 / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1472, allocations: 0 / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1472, allocations: 0 / 0.5601 GB, free: 1.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006152/0.1478, allocations: 430.6 kB / 0.5605 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1479, allocations: 16.03 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.1479, allocations: 12.84 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1482, allocations: 212.1 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1482, allocations: 8.375 kB / 0.5607 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1482, allocations: 4.125 kB / 0.5607 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1484, allocations: 57.61 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1484, allocations: 0 / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1484, allocations: 0 / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1484, allocations: 4 kB / 0.5608 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.1485, allocations: 19.98 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1489, allocations: 296.8 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1491, allocations: 58.61 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1491, allocations: 20.84 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1491, allocations: 7.938 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.1493, allocations: 71.33 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1493, allocations: 0 / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005251/0.1498, allocations: 181.3 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1499, allocations: 51.41 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1501, allocations: 223.4 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1501, allocations: 29.7 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1502, allocations: 108.1 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1502, allocations: 27.78 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1503, allocations: 21.72 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1504, allocations: 330.8 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1505, allocations: 19.98 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.1506, allocations: 37.64 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1507, allocations: 69.75 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1507, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.1509, allocations: 97.53 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1509, allocations: 8 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1509, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1509, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.151, allocations: 15.98 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.151, allocations: 4 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1511, allocations: 11.97 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1511, allocations: 7.984 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001212/0.1512, allocations: 136 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1512, allocations: 11.91 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1513, allocations: 21.39 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1513, allocations: 0 / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1513, allocations: 0 / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1513, allocations: 3.938 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1518, allocations: 399.3 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1518, allocations: 4 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.1518, allocations: 4 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1518, allocations: 4 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1518, allocations: 7.938 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1518, allocations: 384 / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1518, allocations: 4 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1521, allocations: 208.4 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1521, allocations: 89.05 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1522, allocations: 15.88 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1522, allocations: 4 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1523, allocations: 3.984 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1523, allocations: 4 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1524, allocations: 165.2 kB / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1524, allocations: 0 / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1527, allocations: 35.92 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001747/0.1544, allocations: 445.4 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1546, allocations: 59.91 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1546, allocations: 4 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1547, allocations: 27.91 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1551, allocations: 48.84 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.1556, allocations: 276.9 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.156, allocations: 0.712 MB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.156, allocations: 19.44 kB / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.156, allocations: 0 / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of Templates: time 0.004155/0.1602, allocations: 1.999 MB / 0.567 GB, free: 10.37 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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: 8.089634617004776]