Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 96.94 kB / 16.02 MB, free: 84 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.001304/0.001305, allocations: 185.3 kB / 16.92 MB, free: 6.934 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.993/1.993, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.482/0.482, allocations: 43.57 MB / 315 MB, free: 9.074 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.0005875/0.0005876, allocations: 12 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1823, allocations: 58.88 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00283/0.1852, allocations: 1.555 MB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1868, allocations: 0.7062 MB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.1869, allocations: 3.938 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.1875, allocations: 247.5 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.1878, allocations: 171.5 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1891, allocations: 0.5576 MB / 446.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.1895, allocations: 263.2 kB / 446.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1898, allocations: 56.36 kB / 447 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1899, allocations: 107.5 kB / 447.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1902, allocations: 175.4 kB / 447.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1902, allocations: 4 kB / 447.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1903, allocations: 39.98 kB / 447.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1905, allocations: 91.61 kB / 447.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1906, allocations: 116.9 kB / 447.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.191, allocations: 247.1 kB / 447.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.191, allocations: 0 / 447.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.191, allocations: 0 / 447.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.191, allocations: 0 / 447.8 MB, free: 8.582 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009512/0.192, allocations: 0.5564 MB / 448.3 MB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.599e-05/0.192, allocations: 8.031 kB / 448.3 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.1921, allocations: 36.47 kB / 448.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.1926, allocations: 310.2 kB / 448.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1927, allocations: 4.375 kB / 448.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1927, allocations: 8.375 kB / 448.7 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.193, allocations: 93.77 kB / 448.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.193, allocations: 3.984 kB / 448.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1931, allocations: 8 kB / 448.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1931, allocations: 4 kB / 448.8 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.1933, allocations: 75.88 kB / 448.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.1942, allocations: 448.5 kB / 449.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1944, allocations: 86.42 kB / 449.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.1945, allocations: 32.97 kB / 449.4 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.1946, allocations: 7.984 kB / 449.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1946, allocations: 34.5 kB / 449.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1946, allocations: 0 / 449.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004559/0.1951, allocations: 157.2 kB / 449.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.1952, allocations: 63.28 kB / 449.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.1958, allocations: 0.5211 MB / 450.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1958, allocations: 25.7 kB / 450.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.196, allocations: 192.1 kB / 450.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.196, allocations: 15.72 kB / 450.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1961, allocations: 13.72 kB / 450.4 MB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1962, allocations: 350.8 kB / 450.8 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.1963, allocations: 27.98 kB / 450.8 MB, free: 5.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.1964, allocations: 31.97 kB / 450.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1965, allocations: 64.83 kB / 450.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1965, allocations: 0 / 450.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000198/0.1967, allocations: 129.3 kB / 451 MB, free: 5.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1968, allocations: 4 kB / 451 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1968, allocations: 4.375 kB / 451 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1968, allocations: 0 / 451 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1969, allocations: 19.94 kB / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1969, allocations: 0 / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.197, allocations: 19.83 kB / 451.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.197, allocations: 4 kB / 451.1 MB, free: 5.039 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 (6): * Single equations (assignments): 6 * 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.000178/0.1972, allocations: 169.8 kB / 451.2 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1972, allocations: 31.62 kB / 451.3 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1976, allocations: 152.7 kB / 451.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1976, allocations: 3.938 kB / 451.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1976, allocations: 0 / 451.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1976, allocations: 8 kB / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1979, allocations: 277.5 kB / 451.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1979, allocations: 0 / 451.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.198, allocations: 12 kB / 451.7 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.198, allocations: 7.984 kB / 451.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.198, allocations: 0 / 451.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.198, allocations: 3.938 kB / 451.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.198, allocations: 0 / 451.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1983, allocations: 227.1 kB / 451.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1984, allocations: 112.6 kB / 452.1 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1984, allocations: 4 kB / 452.1 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.1985, allocations: 7.922 kB / 452.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1985, allocations: 11.88 kB / 452.1 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1985, allocations: 4 kB / 452.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.199, allocations: 399.1 kB / 452.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.199, allocations: 4 kB / 452.5 MB, free: 3.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1992, allocations: 31.94 kB / 452.5 MB, free: 3.496 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 (6): * Single equations (assignments): 6 * 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.001451/0.2007, allocations: 0.5965 MB / 453.1 MB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.2009, allocations: 67.95 kB / 453.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2009, allocations: 0 / 453.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.201, allocations: 39.92 kB / 453.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2016, allocations: 65.5 kB / 453.3 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2027, allocations: 0.6803 MB / 454 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.2031, allocations: 0.8063 MB / 454.8 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.2032, allocations: 41.48 kB / 454.8 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2033, allocations: 23.42 kB / 454.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2033, allocations: 0 / 454.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of Templates: time 0.272/0.4753, allocations: 2.542 MB / 457.4 MB, free: 45.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches