Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006286/0.006286, allocations: 100.2 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.003436/0.003436, allocations: 193.5 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.588/1.588, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.4155/0.4155, allocations: 43.49 MB / 313.5 MB, free: 8.68 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.001545/0.001545, allocations: 74.56 kB / 382 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1814, allocations: 57.78 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.004409/0.1859, allocations: 1.668 MB / 441.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.1868, allocations: 339.7 kB / 441.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1869, allocations: 0 / 441.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.1876, allocations: 455.2 kB / 442.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.188, allocations: 243.5 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.1886, allocations: 139.8 kB / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1889, allocations: 163.7 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1891, allocations: 24.42 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1892, allocations: 103.8 kB / 442.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1895, allocations: 207.6 kB / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1895, allocations: 0 / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1896, allocations: 31.98 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1898, allocations: 87.62 kB / 443.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1899, allocations: 103 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1902, allocations: 242.9 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1902, allocations: 4 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1902, allocations: 0 / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1902, allocations: 0 / 443.6 MB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009929/0.1912, allocations: 0.6337 MB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1913, allocations: 8.031 kB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1914, allocations: 44.38 kB / 444.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1917, allocations: 300.1 kB / 444.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1917, allocations: 8.375 kB / 444.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1918, allocations: 384 / 444.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.192, allocations: 61.61 kB / 444.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.192, allocations: 0 / 444.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.192, allocations: 4 kB / 444.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.192, allocations: 0 / 444.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1921, allocations: 23.98 kB / 444.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.1928, allocations: 400.6 kB / 445.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.193, allocations: 46.56 kB / 445.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1931, allocations: 20.94 kB / 445.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1931, allocations: 0 / 445.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1932, allocations: 34.56 kB / 445.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1932, allocations: 0 / 445.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007647/0.194, allocations: 235.9 kB / 445.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1941, allocations: 55.41 kB / 445.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1952, allocations: 0.8574 MB / 446.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1953, allocations: 29.69 kB / 446.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1955, allocations: 216.1 kB / 446.5 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1955, allocations: 19.72 kB / 446.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1956, allocations: 21.66 kB / 446.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1958, allocations: 358.8 kB / 446.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.1958, allocations: 19.98 kB / 446.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1959, allocations: 23.98 kB / 447 MB, free: 7.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1961, allocations: 52.83 kB / 447 MB, free: 7.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1961, allocations: 0 / 447 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002256/0.1963, allocations: 117.2 kB / 447.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.1963, allocations: 8 kB / 447.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1964, allocations: 256 / 447.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1964, allocations: 4 kB / 447.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.1965, allocations: 19.92 kB / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1965, allocations: 7.984 kB / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1965, allocations: 3.938 kB / 447.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1966, allocations: 8 kB / 447.2 MB, free: 7.52 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.0002161/0.1968, allocations: 217.7 kB / 447.4 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.1969, allocations: 51.31 kB / 447.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1972, allocations: 141 kB / 447.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1972, allocations: 0 / 447.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1972, allocations: 0 / 447.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1972, allocations: 3.938 kB / 447.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.1981, allocations: 466.4 kB / 448 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1981, allocations: 0 / 448 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.1982, allocations: 12 kB / 448.1 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1982, allocations: 4 kB / 448.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1982, allocations: 3.938 kB / 448.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1982, allocations: 3.984 kB / 448.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1982, allocations: 0 / 448.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1985, allocations: 219.2 kB / 448.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.1986, allocations: 108.6 kB / 448.4 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1986, allocations: 3.938 kB / 448.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.1987, allocations: 8.188 kB / 448.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1988, allocations: 11.97 kB / 448.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1988, allocations: 4 kB / 448.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008823/0.1997, allocations: 0.6472 MB / 449.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.42e-07/0.1997, allocations: 0 / 449.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.2, allocations: 24 kB / 449.1 MB, free: 5.508 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.001121/0.2011, allocations: 402.5 kB / 449.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.2014, allocations: 59.89 kB / 449.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2014, allocations: 0 / 449.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.2015, allocations: 27.98 kB / 449.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.2021, allocations: 25.95 kB / 449.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2035, allocations: 0.8672 MB / 450.5 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.2041, allocations: 0.8301 MB / 451.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.2042, allocations: 12.25 kB / 451.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.2042, allocations: 19.42 kB / 451.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2042, allocations: 0 / 451.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of Templates: time 0.006417/0.2106, allocations: 1.409 MB / 452.7 MB, free: 1.836 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches