Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008272, allocations: 102.6 kB / 16.02 MB, free: 76 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.001008/0.001008, allocations: 183 kB / 16.92 MB, free: 6.688 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.939/1.939, allocations: 205.4 MB / 223.1 MB, free: 5.461 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.5333/0.5333, allocations: 43.58 MB / 315 MB, free: 8.828 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.0005195/0.0005195, allocations: 19.98 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1756, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002701/0.1784, allocations: 1.383 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000837/0.1792, allocations: 363.5 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.1793, allocations: 0 / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1796, allocations: 23.91 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1798, allocations: 35.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1802, allocations: 151.7 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1804, allocations: 75.78 kB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1806, allocations: 24.48 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.1807, allocations: 31.8 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.1807, allocations: 31.83 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1808, allocations: 4 kB / 445.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1809, allocations: 47.98 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.181, allocations: 23.91 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.1811, allocations: 53.5 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1814, allocations: 119.6 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.1814, allocations: 3.938 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.1814, allocations: 0 / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1814, allocations: 4 kB / 445.8 MB, free: 10.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008213/0.1823, allocations: 403.2 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.1823, allocations: 8.031 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.1824, allocations: 8.844 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1826, allocations: 200.1 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1827, allocations: 4.375 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1827, allocations: 8.312 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.1831, allocations: 115.4 kB / 446.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1831, allocations: 4 kB / 446.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1831, allocations: 7.984 kB / 446.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1831, allocations: 0 / 446.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.1835, allocations: 99.91 kB / 446.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.1841, allocations: 344.8 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.1844, allocations: 82.47 kB / 447.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1846, allocations: 56.94 kB / 447.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1846, allocations: 0 / 447.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.946e-05/0.1847, allocations: 38.56 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1847, allocations: 0 / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001834/0.1866, allocations: 488.8 kB / 447.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.1866, allocations: 81.11 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1868, allocations: 138.2 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1869, allocations: 29.7 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.1869, allocations: 100.1 kB / 448 MB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.187, allocations: 23.72 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.187, allocations: 21.7 kB / 448 MB, free: 7.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1872, allocations: 322.8 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.1875, allocations: 99.91 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1879, allocations: 109.6 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.1885, allocations: 204.9 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1885, allocations: 0 / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007136/0.1892, allocations: 237.3 kB / 449 MB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1892, allocations: 8 kB / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1893, allocations: 3.984 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1893, allocations: 0 / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1895, allocations: 47.95 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1896, allocations: 0 / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1897, allocations: 39.91 kB / 449.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1898, allocations: 8 kB / 449.1 MB, free: 6.789 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 (8): * Single equations (assignments): 8 * 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.00017/0.1899, allocations: 121.8 kB / 449.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.19, allocations: 7.906 kB / 449.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.1907, allocations: 258.2 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1908, allocations: 0 / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1908, allocations: 7.938 kB / 449.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1908, allocations: 3.938 kB / 449.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/0.1918, allocations: 0.5218 MB / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1918, allocations: 0 / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.192, allocations: 47.95 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.192, allocations: 0 / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.192, allocations: 15.88 kB / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.192, allocations: 0 / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.192, allocations: 0 / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.1927, allocations: 339.2 kB / 450.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1928, allocations: 85 kB / 450.5 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1928, allocations: 8.312 kB / 450.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.193, allocations: 35.97 kB / 450.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.1931, allocations: 11.98 kB / 450.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1931, allocations: 0 / 450.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.1932, allocations: 122.9 kB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1932, allocations: 0 / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1935, allocations: 28 kB / 450.7 MB, free: 5.098 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 (8): * Single equations (assignments): 8 * 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.001109/0.1946, allocations: 464.7 kB / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.1953, allocations: 203.8 kB / 451.3 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1953, allocations: 0 / 451.3 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.1956, allocations: 107.9 kB / 451.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.196, allocations: 23.92 kB / 451.4 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.1966, allocations: 253.3 kB / 451.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1969, allocations: 0.7004 MB / 452.4 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.197, allocations: 24.36 kB / 452.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.1971, allocations: 19.42 kB / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1971, allocations: 0 / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of Templates: time 0.00514/0.2022, allocations: 1.856 MB / 454.3 MB, free: 1.449 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches