Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001458/0.001458, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001516/0.001516, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.688/1.688, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2528/0.2528, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003196/0.003196, allocations: 64.14 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1697, allocations: 65.99 MB / 0.5559 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.005078/0.1748, allocations: 1.669 MB / 0.5575 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1763, allocations: 0.5494 MB / 0.558 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.1764, allocations: 0 / 0.558 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1768, allocations: 91.67 kB / 0.5581 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.1773, allocations: 115.6 kB / 0.5582 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1778, allocations: 91.7 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1781, allocations: 99.73 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1783, allocations: 19.98 kB / 0.5584 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1784, allocations: 47.83 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1786, allocations: 67.73 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.1786, allocations: 4 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1788, allocations: 55.92 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1789, allocations: 23.92 kB / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.179, allocations: 47.66 kB / 0.5587 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1794, allocations: 119.4 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.1794, allocations: 4 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1794, allocations: 0 / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1794, allocations: 3.938 kB / 0.5588 GB, free: 2.301 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008584/0.1802, allocations: 438.5 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1803, allocations: 8.031 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.1804, allocations: 20.84 kB / 0.5592 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1807, allocations: 208.1 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1808, allocations: 8.375 kB / 0.5595 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1808, allocations: 4.375 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1811, allocations: 69.8 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.1811, allocations: 7.938 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1811, allocations: 4 kB / 0.5595 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1811, allocations: 0 / 0.5595 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1813, allocations: 39.91 kB / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.182, allocations: 332.7 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1822, allocations: 62.48 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.1823, allocations: 24.84 kB / 0.56 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1823, allocations: 0 / 0.56 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.1824, allocations: 34.56 kB / 0.56 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1824, allocations: 0 / 0.56 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001485/0.1838, allocations: 313.7 kB / 0.5603 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.1839, allocations: 59.39 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1843, allocations: 239.5 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1843, allocations: 29.7 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1844, allocations: 112 kB / 0.5607 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.1844, allocations: 51.58 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.1845, allocations: 25.72 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1847, allocations: 322.8 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1849, allocations: 43.91 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.185, allocations: 43.47 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1852, allocations: 84.83 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1852, allocations: 8 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003858/0.1856, allocations: 133.6 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1856, allocations: 4 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1857, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.1857, allocations: 7.938 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1859, allocations: 35.92 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1859, allocations: 112 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1859, allocations: 7.938 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.186, allocations: 7.984 kB / 0.5615 GB, free: 15.34 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 (13): * Single equations (assignments): 13 * 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.0001752/0.1861, allocations: 128 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.1862, allocations: 19.89 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.1867, allocations: 163.1 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1868, allocations: 7.938 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1868, allocations: 0 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1868, allocations: 0 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009549/0.1877, allocations: 479.1 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1877, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1878, allocations: 23.98 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.1879, allocations: 8.031 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1879, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.1879, allocations: 7.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1879, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1883, allocations: 248.1 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.1884, allocations: 93 kB / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1884, allocations: 15.94 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1885, allocations: 4 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1886, allocations: 7.984 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1886, allocations: 8 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.1888, allocations: 177.2 kB / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1888, allocations: 0 / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1892, allocations: 24 kB / 0.5628 GB, free: 13.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002056/0.1913, allocations: 473.1 kB / 0.5633 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.1916, allocations: 91.88 kB / 0.5634 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1916, allocations: 0 / 0.5634 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1918, allocations: 51.92 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1923, allocations: 30.27 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.1933, allocations: 311.6 kB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1938, allocations: 0.7197 MB / 0.5644 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.1939, allocations: 20.55 kB / 0.5645 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.194, allocations: 15.44 kB / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.194, allocations: 0 / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of Templates: time 0.006798/0.2008, allocations: 1.573 MB / 0.566 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.458651043474674]