Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001773/0.001773, allocations: 115.4 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.002155/0.002155, 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2228/0.2228, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 75.89 kB / 0.4922 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1459, allocations: 65.99 MB / 0.5566 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003605/0.1495, allocations: 1.758 MB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1513, allocations: 1.044 MB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.1514, allocations: 4 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1517, allocations: 95.67 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1521, allocations: 135.5 kB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1523, allocations: 79.72 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1525, allocations: 135.6 kB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1526, allocations: 11.98 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1527, allocations: 63.77 kB / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1529, allocations: 71.73 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1529, allocations: 4 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.153, allocations: 67.95 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.1531, allocations: 31.86 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1531, allocations: 51.61 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1534, allocations: 159.3 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1534, allocations: 0 / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1534, allocations: 0 / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1534, allocations: 3.938 kB / 0.5602 GB, free: 1.535 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006796/0.1541, allocations: 454.4 kB / 0.5607 GB, free: 1.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1541, allocations: 12.03 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.1542, allocations: 12.84 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1545, allocations: 233 kB / 0.5609 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1545, allocations: 8.375 kB / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1546, allocations: 12.11 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1548, allocations: 61.67 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1548, allocations: 0 / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1548, allocations: 4 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1548, allocations: 0 / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1549, allocations: 39.84 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.1554, allocations: 316.8 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1557, allocations: 74.58 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.1557, allocations: 24.84 kB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1557, allocations: 8.094 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1559, allocations: 79.36 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1559, allocations: 0 / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008966/0.1568, allocations: 281.6 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.1569, allocations: 55.34 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.1571, allocations: 255.8 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1572, allocations: 25.7 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1572, allocations: 116.1 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.1573, allocations: 43.67 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.1574, allocations: 25.72 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1575, allocations: 338.8 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.1576, allocations: 31.98 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1577, allocations: 49.7 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1579, allocations: 89.64 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1579, allocations: 0 / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002627/0.1581, allocations: 141.5 kB / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1581, allocations: 5.875 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1582, allocations: 4 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1582, allocations: 0 / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.1583, allocations: 27.98 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1583, allocations: 3.938 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.1583, allocations: 3.953 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1583, allocations: 4 kB / 0.5629 GB, free: 14.51 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 (14): * Single equations (assignments): 14 * 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.0001256/0.1585, allocations: 144 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1585, allocations: 23.92 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.1585, allocations: 17.41 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1586, allocations: 4 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1586, allocations: 3.938 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.1586, allocations: 3.984 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.1592, allocations: 480 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1592, allocations: 0 / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.1592, allocations: 16.06 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1592, allocations: 4.094 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1592, allocations: 3.938 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1593, allocations: 4 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1593, allocations: 0 / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1596, allocations: 252.9 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.1596, allocations: 97.02 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1597, allocations: 11.98 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1598, allocations: 7.984 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1598, allocations: 11.98 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1598, allocations: 4 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.16, allocations: 197.5 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1603, allocations: 31.92 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002032/0.1623, allocations: 0.5064 MB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1626, allocations: 83.91 kB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1626, allocations: 0 / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1627, allocations: 43.91 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1631, allocations: 45.16 kB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.1638, allocations: 354.4 kB / 0.5652 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1642, allocations: 0.724 MB / 0.5659 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.1642, allocations: 23.38 kB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1642, allocations: 0 / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of Templates: time 0.004992/0.1692, allocations: 2.434 MB / 0.5683 GB, free: 9.059 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.259630562999519]