Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 99.41 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 196.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.485/0.485, allocations: 43.49 MB / 313.6 MB, free: 8.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 71.88 kB / 382.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1745, allocations: 57.79 MB / 440 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.003888/0.1785, allocations: 1.61 MB / 441.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1801, allocations: 0.9298 MB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.1802, allocations: 0 / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1805, allocations: 15.92 kB / 442.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1807, allocations: 35.86 kB / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.181, allocations: 83.88 kB / 442.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1812, allocations: 55.86 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1814, allocations: 15.97 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.1814, allocations: 27.84 kB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1816, allocations: 23.92 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1816, allocations: 4 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1818, allocations: 47.97 kB / 442.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1818, allocations: 19.92 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1819, allocations: 19.81 kB / 442.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1821, allocations: 95.98 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.1821, allocations: 0 / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1821, allocations: 0 / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1821, allocations: 0 / 443 MB, free: 11.52 MB / 382.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.0005708/0.1827, allocations: 375.2 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1828, allocations: 11.89 kB / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1828, allocations: 4.938 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.183, allocations: 192.2 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1831, allocations: 8.359 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.1831, allocations: 8.281 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1833, allocations: 71.45 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1833, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1833, allocations: 4 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1833, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.1834, allocations: 27.97 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1839, allocations: 276.9 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1841, allocations: 46.5 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1842, allocations: 20.94 kB / 444 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1842, allocations: 0 / 444 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1842, allocations: 34.56 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1842, allocations: 0 / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.1848, allocations: 149.3 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1849, allocations: 77.11 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.185, allocations: 137.8 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.185, allocations: 25.7 kB / 444.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.1851, allocations: 95.98 kB / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1851, allocations: 15.81 kB / 444.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1852, allocations: 21.7 kB / 444.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1854, allocations: 318.8 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.1854, allocations: 19.98 kB / 444.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.1855, allocations: 37.69 kB / 444.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1857, allocations: 60.8 kB / 445 MB, free: 9.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1857, allocations: 0 / 445 MB, free: 9.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1859, allocations: 81.56 kB / 445.1 MB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1859, allocations: 4 kB / 445.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1859, allocations: 0 / 445.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1859, allocations: 7.938 kB / 445.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.186, allocations: 8 kB / 445.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.186, allocations: 4 kB / 445.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1861, allocations: 11.98 kB / 445.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1861, allocations: 256 / 445.1 MB, free: 9.168 MB / 382.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.0001182/0.1862, allocations: 125.7 kB / 445.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1862, allocations: 4 kB / 445.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1865, allocations: 105.6 kB / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1865, allocations: 0 / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1865, allocations: 4 kB / 445.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1865, allocations: 0 / 445.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.187, allocations: 358.3 kB / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.187, allocations: 0 / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.1871, allocations: 11.98 kB / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1871, allocations: 4 kB / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1871, allocations: 0 / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1871, allocations: 7.938 kB / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1871, allocations: 0 / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.1874, allocations: 175.5 kB / 445.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1875, allocations: 81.02 kB / 446 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1875, allocations: 4 kB / 446 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.1876, allocations: 7.938 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1876, allocations: 16.2 kB / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1876, allocations: 0 / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1877, allocations: 103.3 kB / 446.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1877, allocations: 0 / 446.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.188, allocations: 27.98 kB / 446.1 MB, free: 8.051 MB / 382.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.001121/0.1891, allocations: 450.9 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1894, allocations: 51.97 kB / 446.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1894, allocations: 0 / 446.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1895, allocations: 31.91 kB / 446.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1899, allocations: 23.8 kB / 446.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.1903, allocations: 185.9 kB / 446.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1908, allocations: 0.6885 MB / 447.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.1909, allocations: 15.98 kB / 447.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.191, allocations: 15.44 kB / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.191, allocations: 4 kB / 447.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of Templates: time 0.006062/0.1971, allocations: 1.331 MB / 448.9 MB, free: 5.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches