Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008024/0.008024, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.002007/0.002007, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.697/1.697, allocations: 205.1 MB / 222.6 MB, free: 4.934 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.5083/0.5083, allocations: 43.5 MB / 313.5 MB, free: 8.59 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.001805/0.001805, allocations: 67.89 kB / 382 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1803, allocations: 57.78 MB / 439.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.005001/0.1853, allocations: 1.641 MB / 441.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1875, allocations: 0.922 MB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1877, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1881, allocations: 19.91 kB / 442.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1884, allocations: 39.86 kB / 442.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1888, allocations: 87.89 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.189, allocations: 59.78 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1892, allocations: 28.42 kB / 442.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.1893, allocations: 19.94 kB / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1895, allocations: 35.83 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1896, allocations: 0 / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.1898, allocations: 51.92 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1899, allocations: 15.92 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.19, allocations: 27.8 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1903, allocations: 103.6 kB / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1903, allocations: 0 / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1903, allocations: 0 / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1903, allocations: 0 / 442.9 MB, free: 12.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008775/0.1912, allocations: 387.2 kB / 443.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.1913, allocations: 12.03 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.1914, allocations: 12.78 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1917, allocations: 192.2 kB / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1917, allocations: 4.375 kB / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.1918, allocations: 4.375 kB / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.192, allocations: 88.17 kB / 443.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.1921, allocations: 4 kB / 443.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1921, allocations: 0 / 443.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1921, allocations: 4 kB / 443.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1923, allocations: 39.91 kB / 443.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.1929, allocations: 388.9 kB / 444 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.1933, allocations: 85.16 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.1935, allocations: 37.78 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1935, allocations: 0 / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.1936, allocations: 42.5 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.1936, allocations: 0 / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001002/0.1946, allocations: 213.1 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1947, allocations: 102.8 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1949, allocations: 157.5 kB / 444.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.195, allocations: 25.7 kB / 444.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.1952, allocations: 104 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1953, allocations: 35.53 kB / 444.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1953, allocations: 21.72 kB / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1955, allocations: 318.8 kB / 445.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1957, allocations: 35.97 kB / 445.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1958, allocations: 50.5 kB / 445.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.196, allocations: 97.77 kB / 445.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.196, allocations: 0 / 445.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002641/0.1963, allocations: 117.5 kB / 445.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.1963, allocations: 8 kB / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1963, allocations: 0 / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.1964, allocations: 0 / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.1965, allocations: 23.92 kB / 445.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.1965, allocations: 7.938 kB / 445.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.1966, allocations: 8 kB / 445.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1966, allocations: 4 kB / 445.4 MB, free: 9.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0002442/0.1968, allocations: 129.8 kB / 445.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1969, allocations: 7.906 kB / 445.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.1973, allocations: 137.5 kB / 445.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1973, allocations: 8 kB / 445.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1973, allocations: 3.938 kB / 445.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1973, allocations: 0 / 445.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.1981, allocations: 0.4948 MB / 446.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1981, allocations: 0 / 446.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.1982, allocations: 31.95 kB / 446.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1982, allocations: 4 kB / 446.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1983, allocations: 0 / 446.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1983, allocations: 0 / 446.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1983, allocations: 4 kB / 446.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1986, allocations: 299.5 kB / 446.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1986, allocations: 84.95 kB / 446.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1987, allocations: 4 kB / 446.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1988, allocations: 4 kB / 446.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1988, allocations: 11.98 kB / 446.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1989, allocations: 4 kB / 446.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.199, allocations: 107.2 kB / 446.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.199, allocations: 0 / 446.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1993, allocations: 28 kB / 446.8 MB, free: 7.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001163/0.2005, allocations: 459.9 kB / 447.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.2008, allocations: 83.88 kB / 447.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2008, allocations: 0 / 447.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2009, allocations: 47.92 kB / 447.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.2014, allocations: 19.92 kB / 447.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.2021, allocations: 237.6 kB / 447.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.2025, allocations: 0.7005 MB / 448.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.2027, allocations: 24.39 kB / 448.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.2027, allocations: 19.42 kB / 448.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2027, allocations: 0 / 448.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of Templates: time 0.005383/0.2081, allocations: 1.479 MB / 449.8 MB, free: 4.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches