Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 96.78 kB / 15.7 MB, free: 468 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.001186/0.001186, allocations: 171.6 kB / 16.58 MB, free: 6.062 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.894/1.894, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.5434/0.5434, allocations: 43.57 MB / 314.6 MB, free: 9.008 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.0005906/0.0005911, allocations: 12 kB / 383.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1779, allocations: 58.86 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002768/0.1807, allocations: 1.26 MB / 444.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.1817, allocations: 299.8 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1818, allocations: 0 / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.1824, allocations: 115.8 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1827, allocations: 79.83 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.183, allocations: 63.86 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.1833, allocations: 67.81 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1835, allocations: 15.97 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1836, allocations: 39.89 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.1838, allocations: 67.78 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1838, allocations: 0 / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.184, allocations: 24 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.1841, allocations: 27.91 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1842, allocations: 37.64 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1844, allocations: 76.11 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.1844, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1845, allocations: 7.938 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1845, allocations: 0 / 445 MB, free: 11.07 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.0009277/0.1854, allocations: 406.8 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.1855, allocations: 12.02 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/0.1856, allocations: 15.86 kB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.1859, allocations: 206.5 kB / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1859, allocations: 0 / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.186, allocations: 4 kB / 445.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1862, allocations: 53.69 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1862, allocations: 3.984 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1862, allocations: 0 / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1862, allocations: 0 / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1864, allocations: 27.94 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1869, allocations: 292.9 kB / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1871, allocations: 42.5 kB / 446 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.1872, allocations: 20.94 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1872, allocations: 7.938 kB / 446 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1873, allocations: 34.56 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1873, allocations: 0 / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006601/0.188, allocations: 173 kB / 446.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.188, allocations: 51.41 kB / 446.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1883, allocations: 263.3 kB / 446.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1883, allocations: 29.7 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1884, allocations: 112 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1885, allocations: 15.8 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1885, allocations: 3.938 kB / 446.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1887, allocations: 326.8 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.1888, allocations: 23.98 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.1888, allocations: 23.98 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.1889, allocations: 23.92 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1889, allocations: 0 / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.1891, allocations: 93.83 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1891, allocations: 11.95 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1891, allocations: 0 / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1892, allocations: 0 / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.1892, allocations: 19.98 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1893, allocations: 0 / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1893, allocations: 11.94 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1893, allocations: 0 / 447.2 MB, free: 8.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.1894, allocations: 134.9 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1895, allocations: 15.81 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1898, allocations: 110.5 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1898, allocations: 0 / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1898, allocations: 4 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1898, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.1903, allocations: 366.5 kB / 447.8 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1903, allocations: 0 / 447.8 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.1903, allocations: 19.95 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1904, allocations: 3.984 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1904, allocations: 0 / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1904, allocations: 0 / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1904, allocations: 0 / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1906, allocations: 187.3 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1907, allocations: 92.91 kB / 448.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1907, allocations: 11.95 kB / 448.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.1908, allocations: 4.188 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1908, allocations: 7.984 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1909, allocations: 7.938 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.191, allocations: 207.3 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1911, allocations: 4 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1913, allocations: 11.98 kB / 448.4 MB, free: 7.316 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 (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.001126/0.1924, allocations: 405.2 kB / 448.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1926, allocations: 55.97 kB / 448.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1927, allocations: 0 / 448.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.1927, allocations: 35.91 kB / 448.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1931, allocations: 12.05 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.1937, allocations: 282.1 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1941, allocations: 0.7121 MB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1942, allocations: 20.17 kB / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1942, allocations: 15.38 kB / 449.9 MB, free: 5.777 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1942, allocations: 0 / 449.9 MB, free: 5.777 MB / 382.1 MB Notification: Performance of Templates: time 0.004202/0.1985, allocations: 1.054 MB / 451 MB, free: 4.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches