Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002179, allocations: 89.88 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1671, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003922/0.171, allocations: 1.598 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1723, allocations: 0.5455 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.1724, allocations: 0 / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1727, allocations: 31.84 kB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.1731, allocations: 79.61 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1735, allocations: 111.5 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1737, allocations: 67.83 kB / 482.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1738, allocations: 12 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.174, allocations: 31.84 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.174, allocations: 15.88 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1741, allocations: 4 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.1742, allocations: 31.98 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1742, allocations: 19.92 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1743, allocations: 31.73 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1745, allocations: 75.78 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1745, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1745, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1745, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.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.0006132/0.1752, allocations: 395.3 kB / 483.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1752, allocations: 15.97 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1753, allocations: 12.84 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1755, allocations: 188.8 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1755, allocations: 4.375 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1756, allocations: 7.938 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1757, allocations: 49.62 kB / 483.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1758, allocations: 3.906 kB / 483.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1758, allocations: 4 kB / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1758, allocations: 0 / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1759, allocations: 23.97 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1764, allocations: 284.9 kB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1766, allocations: 46.48 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.1767, allocations: 20.86 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1767, allocations: 4.078 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1767, allocations: 30.56 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1768, allocations: 4 kB / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006363/0.1774, allocations: 153.3 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1775, allocations: 55.41 kB / 484 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1777, allocations: 181.5 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1777, allocations: 25.7 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.1778, allocations: 104 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1778, allocations: 11.75 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1779, allocations: 21.66 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1781, allocations: 322.8 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.1782, allocations: 23.98 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1783, allocations: 23.97 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1784, allocations: 56.77 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1784, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.1786, allocations: 81.58 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1787, allocations: 8 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1787, allocations: 3.984 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1787, allocations: 4 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.1788, allocations: 8 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1788, allocations: 4 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.1788, allocations: 11.86 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1789, allocations: 4 kB / 484.9 MB, free: 144 kB / 350.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.000101/0.179, allocations: 113.8 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.179, allocations: 11.91 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.1793, allocations: 102 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1793, allocations: 4 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1793, allocations: 288 / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1793, allocations: 3.938 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1798, allocations: 366.7 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1798, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1798, allocations: 20.05 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1799, allocations: 0 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1799, allocations: 3.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1799, allocations: 7.984 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1799, allocations: 0 / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1801, allocations: 183.3 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1802, allocations: 85 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1802, allocations: 7.938 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.1803, allocations: 4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1803, allocations: 7.984 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1804, allocations: 0 / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1805, allocations: 139.2 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1805, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1807, allocations: 16 kB / 486 MB, free: 14.98 MB / 366.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.001493/0.1822, allocations: 405.7 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1825, allocations: 51.95 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1825, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.1826, allocations: 35.92 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.183, allocations: 11.98 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1836, allocations: 201.9 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.184, allocations: 0.6963 MB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.184, allocations: 19.83 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1841, allocations: 19.42 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1841, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Templates: time 0.004367/0.1885, allocations: 1.142 MB / 488.5 MB, free: 12.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches