Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 99.75 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 182.5 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.5225/0.5225, allocations: 43.57 MB / 315 MB, free: 9.023 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.0006459/0.000646, allocations: 12 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.179, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002422/0.1814, allocations: 1.275 MB / 444.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.1822, allocations: 323.6 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.1823, allocations: 0 / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1826, allocations: 67.83 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1828, allocations: 55.89 kB / 445.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1831, allocations: 91.81 kB / 445.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1833, allocations: 63.83 kB / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1834, allocations: 19.97 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.1835, allocations: 27.86 kB / 445.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1836, allocations: 51.81 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1836, allocations: 0 / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.1837, allocations: 24 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.1838, allocations: 15.92 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1839, allocations: 57.5 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1841, allocations: 87.92 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1841, allocations: 4 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1841, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1841, allocations: 0 / 445.6 MB, free: 10.75 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.0006048/0.1847, allocations: 387.1 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1848, allocations: 8.031 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1848, allocations: 12.84 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1851, allocations: 196.1 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1852, allocations: 4.375 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1852, allocations: 4.375 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1854, allocations: 57.8 kB / 446.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1854, allocations: 0 / 446.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1854, allocations: 0 / 446.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1854, allocations: 0 / 446.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1856, allocations: 27.92 kB / 446.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1861, allocations: 296.9 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1863, allocations: 46.5 kB / 446.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.592e-05/0.1864, allocations: 24.94 kB / 446.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1864, allocations: 0 / 446.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1865, allocations: 38.5 kB / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.1865, allocations: 0 / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007006/0.1872, allocations: 173.2 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1872, allocations: 59.34 kB / 446.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1875, allocations: 202.2 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1875, allocations: 29.7 kB / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.1876, allocations: 100.1 kB / 447.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1876, allocations: 15.72 kB / 447.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.1877, allocations: 13.72 kB / 447.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1878, allocations: 330.8 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.1879, allocations: 23.98 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.188, allocations: 27.97 kB / 447.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1882, allocations: 60.83 kB / 447.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1882, allocations: 0 / 447.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.1884, allocations: 97.52 kB / 447.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1884, allocations: 4 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1884, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1884, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.1885, allocations: 19.98 kB / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1885, allocations: 0 / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1886, allocations: 7.984 kB / 447.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1886, allocations: 4 kB / 447.8 MB, free: 8.293 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.0001008/0.1887, allocations: 125.8 kB / 447.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1888, allocations: 11.89 kB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.189, allocations: 117.8 kB / 448.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1891, allocations: 4 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1891, allocations: 0 / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1891, allocations: 0 / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1895, allocations: 370.8 kB / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1896, allocations: 0 / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.1896, allocations: 15.98 kB / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1896, allocations: 0 / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1896, allocations: 3.938 kB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1897, allocations: 3.938 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1897, allocations: 0 / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1899, allocations: 203.3 kB / 448.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.19, allocations: 89 kB / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.19, allocations: 0 / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1901, allocations: 11.94 kB / 448.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.1902, allocations: 7.984 kB / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1902, allocations: 4 kB / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1903, allocations: 160 kB / 448.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1903, allocations: 0 / 448.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1906, allocations: 20 kB / 448.9 MB, free: 7.062 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.001103/0.1917, allocations: 409.6 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1919, allocations: 63.91 kB / 449.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.192, allocations: 0 / 449.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.192, allocations: 27.98 kB / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1924, allocations: 15.98 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.1929, allocations: 249.2 kB / 449.7 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1934, allocations: 0.7043 MB / 450.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1934, allocations: 19.97 kB / 450.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1935, allocations: 11.44 kB / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of SimCode: time 3.216e-06/0.1935, allocations: 0 / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1978, allocations: 1.059 MB / 451.5 MB, free: 4.484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches