Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001117, allocations: 101.8 kB / 15.98 MB, free: 6.344 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.001155/0.001156, allocations: 189.2 kB / 16.91 MB, free: 6.18 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.686/1.686, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4424/0.4424, allocations: 43.49 MB / 313.6 MB, free: 8.516 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.001373/0.001373, allocations: 67.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1795, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.004089/0.1836, allocations: 1.61 MB / 441.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.1844, allocations: 327.5 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.1845, allocations: 3.938 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.1849, allocations: 71.83 kB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1852, allocations: 55.88 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1855, allocations: 83.83 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1858, allocations: 67.89 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1859, allocations: 27.95 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.186, allocations: 27.86 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1861, allocations: 51.81 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1861, allocations: 4 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.1862, allocations: 28 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.1863, allocations: 19.92 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1864, allocations: 31.73 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1866, allocations: 95.94 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1866, allocations: 0 / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1866, allocations: 0 / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.1866, allocations: 0 / 442.5 MB, free: 12.23 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.0006325/0.1873, allocations: 391 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1873, allocations: 11.89 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1874, allocations: 16.83 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1876, allocations: 196 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1876, allocations: 4.375 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1877, allocations: 4.375 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1878, allocations: 57.8 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1879, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1879, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1879, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.188, allocations: 19.98 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1885, allocations: 296.8 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.1887, allocations: 42.56 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.1888, allocations: 16.94 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1888, allocations: 0 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1889, allocations: 38.56 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.1889, allocations: 4 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006142/0.1895, allocations: 157 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1896, allocations: 55.41 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1898, allocations: 198.2 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1899, allocations: 29.64 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.1901, allocations: 108.1 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1901, allocations: 15.72 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1901, allocations: 17.72 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.1904, allocations: 326.8 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.1905, allocations: 19.98 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1905, allocations: 23.92 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1907, allocations: 56.81 kB / 444.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1907, allocations: 4 kB / 444.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.1909, allocations: 81.58 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1909, allocations: 8 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1909, allocations: 288 / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.191, allocations: 0 / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.191, allocations: 11.98 kB / 444.7 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1911, allocations: 0 / 444.7 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1911, allocations: 4 kB / 444.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1911, allocations: 11.92 kB / 444.7 MB, free: 9.824 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.0001701/0.1913, allocations: 129.8 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.1913, allocations: 11.89 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.1916, allocations: 105.9 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1916, allocations: 0 / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1916, allocations: 4.312 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1916, allocations: 0 / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.1921, allocations: 366.4 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1921, allocations: 0 / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.1922, allocations: 11.98 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1922, allocations: 0 / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1922, allocations: 4 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1922, allocations: 3.938 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1922, allocations: 0 / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1925, allocations: 195.3 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1925, allocations: 81.02 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1926, allocations: 7.938 kB / 445.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1926, allocations: 7.922 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.1927, allocations: 4 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1927, allocations: 0 / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1929, allocations: 164 kB / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1929, allocations: 0 / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1931, allocations: 24 kB / 445.8 MB, free: 8.621 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.001013/0.1942, allocations: 407.3 kB / 446.2 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1944, allocations: 59.89 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1944, allocations: 0 / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.1945, allocations: 23.98 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.195, allocations: 23.84 kB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.1956, allocations: 242 kB / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.196, allocations: 0.708 MB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.1961, allocations: 15.97 kB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.1961, allocations: 11.44 kB / 447.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1962, allocations: 0 / 447.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of Templates: time 0.004891/0.201, allocations: 1.104 MB / 448.3 MB, free: 6.023 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches