Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001644/0.001644, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001668/0.001668, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.603/1.603, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2472/0.2472, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 65.99 MB / 0.5559 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004142/0.1486, allocations: 1.672 MB / 0.5575 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1506, allocations: 1.206 MB / 0.5587 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1507, allocations: 0 / 0.5587 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1509, allocations: 23.86 kB / 0.5587 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1513, allocations: 99.47 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1518, allocations: 171.5 kB / 0.559 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1519, allocations: 79.75 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1521, allocations: 15.98 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.1521, allocations: 31.86 kB / 0.5591 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1523, allocations: 43.83 kB / 0.5591 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1523, allocations: 8 kB / 0.5591 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.1525, allocations: 99.88 kB / 0.5592 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.1526, allocations: 19.92 kB / 0.5592 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.1526, allocations: 35.78 kB / 0.5593 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1529, allocations: 143.4 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1529, allocations: 4 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1529, allocations: 0 / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.153, allocations: 0 / 0.5594 GB, free: 1.723 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007034/0.1537, allocations: 414.7 kB / 0.5598 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1537, allocations: 16.03 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.1538, allocations: 8.891 kB / 0.5598 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.154, allocations: 198.3 kB / 0.56 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.1541, allocations: 4.312 kB / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1541, allocations: 4.375 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1543, allocations: 79.45 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1543, allocations: 0 / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1543, allocations: 4 kB / 0.5601 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1543, allocations: 4 kB / 0.5601 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1545, allocations: 39.95 kB / 0.5602 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.155, allocations: 304.8 kB / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1552, allocations: 50.48 kB / 0.5605 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.1552, allocations: 28.94 kB / 0.5605 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1553, allocations: 4.062 kB / 0.5605 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1553, allocations: 34.56 kB / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1553, allocations: 0 / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009025/0.1562, allocations: 237.4 kB / 0.5608 GB, free: 152 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.1563, allocations: 81.11 kB / 0.5609 GB, free: 52 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1565, allocations: 149.5 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1565, allocations: 25.7 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1565, allocations: 100.1 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1566, allocations: 27.73 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.1566, allocations: 21.7 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1568, allocations: 322.8 kB / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1569, allocations: 35.95 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.157, allocations: 49.69 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.1573, allocations: 105 kB / 0.5617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1573, allocations: 3.984 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003245/0.1576, allocations: 117.6 kB / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1577, allocations: 6.031 kB / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1577, allocations: 0 / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1577, allocations: 0 / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1578, allocations: 31.97 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1578, allocations: 4 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.1579, allocations: 11.94 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1579, allocations: 3.984 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (7): * Single equations (assignments): 7 * 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.000105/0.158, allocations: 124 kB / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.158, allocations: 7.953 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.1585, allocations: 138.3 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1585, allocations: 3.938 kB / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1585, allocations: 0 / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1585, allocations: 3.938 kB / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.1591, allocations: 422.4 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1591, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.1592, allocations: 19.98 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1592, allocations: 4 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1592, allocations: 3.938 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1592, allocations: 0 / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1592, allocations: 0 / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1596, allocations: 223.4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.1597, allocations: 85.06 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1597, allocations: 7.922 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1598, allocations: 12 kB / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1598, allocations: 7.984 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1598, allocations: 0 / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1599, allocations: 115.2 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1599, allocations: 0 / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1602, allocations: 39.88 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001753/0.162, allocations: 0.4919 MB / 0.5635 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1623, allocations: 87.92 kB / 0.5636 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1623, allocations: 0 / 0.5636 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1625, allocations: 47.91 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1628, allocations: 19.17 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.1634, allocations: 225.8 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1638, allocations: 0.7041 MB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1639, allocations: 28.94 kB / 0.5646 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.1639, allocations: 19.44 kB / 0.5646 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1639, allocations: 0 / 0.5646 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.005725/0.1696, allocations: 1.939 MB / 0.5665 GB, free: 10.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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: 5.426683504134417]