Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009416, allocations: 93.12 kB / 16.99 MB, free: 5.938 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.0009119/0.0009118, allocations: 181.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.22 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005577, allocations: 9.75 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1773, allocations: 61.92 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001948/0.1793, allocations: 1.263 MB / 472.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.18, allocations: 359.7 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.1801, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1803, allocations: 23.86 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1804, allocations: 27.91 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1807, allocations: 91.75 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1809, allocations: 39.89 kB / 473.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.181, allocations: 19.98 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.181, allocations: 15.92 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.1811, allocations: 15.92 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1811, allocations: 0 / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-05/0.1812, allocations: 23.92 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.1812, allocations: 8 kB / 473.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1813, allocations: 33.64 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1814, allocations: 63.84 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1814, allocations: 0 / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1814, allocations: 0 / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1814, allocations: 7.938 kB / 473.4 MB, free: 11.7 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.0004866/0.1819, allocations: 375.4 kB / 473.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.182, allocations: 8.562 kB / 473.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.182, allocations: 7.906 kB / 473.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1822, allocations: 183 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1823, allocations: 3.953 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1823, allocations: 11.94 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1825, allocations: 53.67 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1825, allocations: 0 / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1825, allocations: 0 / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1825, allocations: 0 / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.1826, allocations: 27.98 kB / 474.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.183, allocations: 288.8 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1833, allocations: 50.5 kB / 474.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1833, allocations: 0 / 474.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1833, allocations: 34.56 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1833, allocations: 3.938 kB / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005996/0.1839, allocations: 169.3 kB / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.184, allocations: 55.41 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1842, allocations: 172 kB / 474.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1842, allocations: 25.7 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.1843, allocations: 96.14 kB / 475 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1843, allocations: 15.73 kB / 475 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1843, allocations: 0 / 475 MB, free: 9.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1844, allocations: 322.8 kB / 475.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.1845, allocations: 23.98 kB / 475.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.1846, allocations: 32.05 kB / 475.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.1847, allocations: 27.98 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1847, allocations: 0 / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/0.1849, allocations: 97.5 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1849, allocations: 4 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1849, allocations: 4.281 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1849, allocations: 0 / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.185, allocations: 16 kB / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.185, allocations: 0 / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1851, allocations: 7.984 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1851, allocations: 3.953 kB / 475.5 MB, free: 9.41 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1852, allocations: 121.8 kB / 475.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1852, allocations: 15.88 kB / 475.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1855, allocations: 105.9 kB / 475.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1855, allocations: 0 / 475.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1855, allocations: 0 / 475.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1855, allocations: 7.938 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.186, allocations: 362.5 kB / 476.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.186, allocations: 0 / 476.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.186, allocations: 19.92 kB / 476.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1861, allocations: 4 kB / 476.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1861, allocations: 0 / 476.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1861, allocations: 4 kB / 476.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1861, allocations: 0 / 476.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1863, allocations: 199.7 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.1864, allocations: 88.95 kB / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1864, allocations: 0 / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.1865, allocations: 7.984 kB / 476.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1865, allocations: 8 kB / 476.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1865, allocations: 0 / 476.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.1866, allocations: 134 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1867, allocations: 0 / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1869, allocations: 19.89 kB / 476.6 MB, free: 8.23 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009341/0.1878, allocations: 408.6 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1881, allocations: 59.97 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1881, allocations: 0 / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1882, allocations: 31.98 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1884, allocations: 11.98 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.1888, allocations: 213.2 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.1893, allocations: 0.7043 MB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.1894, allocations: 11.97 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1894, allocations: 15.44 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1894, allocations: 0 / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of Templates: time 0.003588/0.193, allocations: 1.025 MB / 479 MB, free: 5.863 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches