Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 88.19 kB / 15.7 MB, free: 460 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.001552/0.001552, allocations: 174 kB / 16.58 MB, free: 6.84 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.494/1.494, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.4648/0.4648, allocations: 43.57 MB / 314.6 MB, free: 8.734 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.000528/0.000528, allocations: 20.22 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002505/0.1858, allocations: 1.256 MB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.1865, allocations: 291.9 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1866, allocations: 0 / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.187, allocations: 103.8 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1872, allocations: 71.78 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1874, allocations: 63.86 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1876, allocations: 63.81 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1878, allocations: 11.98 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.1879, allocations: 43.83 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.188, allocations: 43.89 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1881, allocations: 0 / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1882, allocations: 31.97 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1883, allocations: 23.92 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1883, allocations: 33.64 kB / 444.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1885, allocations: 72.12 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1885, allocations: 0 / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1885, allocations: 0 / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1885, allocations: 0 / 444.9 MB, free: 10.89 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.000722/0.1892, allocations: 402.8 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1893, allocations: 16 kB / 445.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1894, allocations: 15.77 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1897, allocations: 190.9 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1897, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.1898, allocations: 4 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1899, allocations: 57.59 kB / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.19, allocations: 0 / 445.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.19, allocations: 8 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.19, allocations: 0 / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1901, allocations: 31.88 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1907, allocations: 276.9 kB / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1909, allocations: 54.55 kB / 445.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.191, allocations: 12.86 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.191, allocations: 0 / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.1911, allocations: 38.56 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.1911, allocations: 0 / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006822/0.1918, allocations: 169.1 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1918, allocations: 55.39 kB / 446.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1921, allocations: 242.6 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1921, allocations: 29.7 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1922, allocations: 112 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1923, allocations: 11.81 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1923, allocations: 0 / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1924, allocations: 326.8 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.1925, allocations: 19.98 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.1926, allocations: 23.98 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.1927, allocations: 27.98 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1927, allocations: 0 / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.1929, allocations: 89.48 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1929, allocations: 11.95 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1929, allocations: 0 / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1929, allocations: 0 / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.193, allocations: 15.98 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.193, allocations: 3.938 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.1931, allocations: 7.984 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1931, allocations: 4.25 kB / 447.1 MB, free: 8.461 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 9.598e-05/0.1932, allocations: 134.9 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1932, allocations: 11.81 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.1935, allocations: 106.6 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1935, allocations: 0 / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1935, allocations: 3.938 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1935, allocations: 0 / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.194, allocations: 370.5 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.194, allocations: 0 / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.1941, allocations: 15.94 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1941, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1941, allocations: 4 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1941, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1941, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1943, allocations: 183.4 kB / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.1944, allocations: 96.91 kB / 448 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1944, allocations: 7.891 kB / 448 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.1945, allocations: 12 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1946, allocations: 3.984 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1946, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1948, allocations: 183.2 kB / 448.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1948, allocations: 4 kB / 448.2 MB, free: 7.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.195, allocations: 16 kB / 448.3 MB, free: 7.215 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.001141/0.1962, allocations: 406.4 kB / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1964, allocations: 51.97 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1965, allocations: 0 / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.1965, allocations: 31.92 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1969, allocations: 27.91 kB / 448.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.1975, allocations: 265.5 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1978, allocations: 0.7004 MB / 449.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.143e-05/0.1979, allocations: 11.98 kB / 449.7 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1979, allocations: 11.44 kB / 449.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1979, allocations: 0 / 449.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of Templates: time 0.004461/0.2024, allocations: 1.046 MB / 450.8 MB, free: 4.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches