Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001927/0.001927, 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.001538/0.001538, 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.579/1.579, 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.2633/0.2633, allocations: 46.92 MB / 357.1 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1669, allocations: 66 MB / 0.5559 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.0037/0.1706, allocations: 1.607 MB / 0.5574 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1728, allocations: 1.167 MB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.1729, allocations: 3.938 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1732, allocations: 19.86 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1735, allocations: 87.61 kB / 0.5587 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1738, allocations: 90.7 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.174, allocations: 67.77 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1741, allocations: 16 kB / 0.5589 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.1742, allocations: 23.91 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.1747, allocations: 35.84 kB / 0.5589 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1747, allocations: 4 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1749, allocations: 103.9 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.175, allocations: 15.92 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.1751, allocations: 23.8 kB / 0.5591 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1754, allocations: 131.5 kB / 0.5592 GB, free: 1.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1754, allocations: 4 kB / 0.5592 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1754, allocations: 0 / 0.5592 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1754, allocations: 4 kB / 0.5592 GB, free: 1.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007734/0.1762, allocations: 406.7 kB / 0.5596 GB, free: 1.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.1762, allocations: 8.031 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.1763, allocations: 8.891 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1765, allocations: 196.2 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1766, allocations: 4.375 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1766, allocations: 384 / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1768, allocations: 75.52 kB / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1768, allocations: 0 / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1768, allocations: 0 / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1768, allocations: 4 kB / 0.5599 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1769, allocations: 23.92 kB / 0.5599 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1774, allocations: 276.9 kB / 0.5601 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1777, allocations: 46.56 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1777, allocations: 12.94 kB / 0.5602 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1777, allocations: 0 / 0.5602 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.1778, allocations: 42.5 kB / 0.5602 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1778, allocations: 0 / 0.5602 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006519/0.1784, allocations: 141.4 kB / 0.5604 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.1785, allocations: 77.11 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1787, allocations: 147.8 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1787, allocations: 25.7 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1788, allocations: 92.14 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1789, allocations: 19.8 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1789, allocations: 21.7 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1791, allocations: 318.8 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.1792, allocations: 23.98 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.1793, allocations: 37.62 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1794, allocations: 44.84 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1794, allocations: 3.938 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.1796, allocations: 85.55 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1796, allocations: 8.031 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1796, allocations: 0 / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1797, allocations: 0 / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.1797, allocations: 15.98 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1797, allocations: 0 / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1798, allocations: 4 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1798, allocations: 4.188 kB / 0.5613 GB, free: 15.58 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 (5): * Single equations (assignments): 5 * 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.0001433/0.1799, allocations: 116 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.18, allocations: 15.94 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1802, allocations: 97.91 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1802, allocations: 0 / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1802, allocations: 0 / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1802, allocations: 288 / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1808, allocations: 350.5 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1808, allocations: 0 / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.1808, allocations: 15.98 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1808, allocations: 7.984 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1809, allocations: 0 / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.1809, allocations: 7.875 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1809, allocations: 0 / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1812, allocations: 179.5 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.1813, allocations: 85.06 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1813, allocations: 8 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1814, allocations: 11.92 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1814, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1814, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1816, allocations: 113.4 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1816, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1819, allocations: 35.88 kB / 0.5623 GB, free: 14.45 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 (5): * Single equations (assignments): 5 * 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.001909/0.1838, allocations: 0.4911 MB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.184, allocations: 51.91 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.184, allocations: 0 / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.1841, allocations: 23.97 kB / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1844, allocations: 15.94 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1849, allocations: 169.4 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1854, allocations: 0.7002 MB / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.1855, allocations: 11.77 kB / 0.5637 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1855, allocations: 15.44 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1855, allocations: 0 / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Templates: time 0.005572/0.1911, allocations: 1.756 MB / 0.5654 GB, free: 11.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.5639609061181545]