Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.08 kB / 15.98 MB, free: 6.352 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.001092/0.001092, allocations: 193.1 kB / 16.91 MB, free: 6.191 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.575/1.575, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.4728/0.4728, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001532/0.001532, allocations: 63.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1773, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.004728/0.1821, allocations: 1.715 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.1829, allocations: 347.4 kB / 442.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.183, allocations: 4 kB / 442.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.1834, allocations: 19.92 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1837, allocations: 35.84 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1841, allocations: 111.8 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1843, allocations: 75.77 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1845, allocations: 20.22 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1846, allocations: 35.8 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1847, allocations: 35.83 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1848, allocations: 8 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1849, allocations: 51.98 kB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.185, allocations: 19.92 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1851, allocations: 35.78 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1853, allocations: 108 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1854, allocations: 4 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.468e-06/0.1854, allocations: 0 / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1854, allocations: 0 / 442.6 MB, free: 12.1 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.0007919/0.1862, allocations: 423 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1863, allocations: 8.031 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.1863, allocations: 8.844 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1866, allocations: 196.1 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1866, allocations: 4.375 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1866, allocations: 4.375 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1869, allocations: 99.48 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.187, allocations: 3.938 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.187, allocations: 0 / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.187, allocations: 4 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1873, allocations: 79.91 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1878, allocations: 300.7 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.188, allocations: 70.47 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1882, allocations: 40.95 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1882, allocations: 7.984 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1883, allocations: 34.55 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1883, allocations: 0 / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001654/0.1899, allocations: 372.9 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.19, allocations: 77.11 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1902, allocations: 141.2 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1902, allocations: 29.7 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.1903, allocations: 92.12 kB / 444.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1904, allocations: 27.56 kB / 444.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.1904, allocations: 29.7 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1906, allocations: 318.8 kB / 444.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.1909, allocations: 71.88 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1912, allocations: 81.62 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.1917, allocations: 148.7 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1917, allocations: 0 / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005813/0.1923, allocations: 177.7 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1923, allocations: 8 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1923, allocations: 80 / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1924, allocations: 0 / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1926, allocations: 39.95 kB / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1926, allocations: 3.984 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1927, allocations: 27.91 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1928, allocations: 4 kB / 445.5 MB, free: 8.984 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.0001029/0.1929, allocations: 121.8 kB / 445.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.1929, allocations: 7.906 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.1936, allocations: 198.2 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1936, allocations: 0 / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.1936, allocations: 0 / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1936, allocations: 7.938 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009161/0.1946, allocations: 470.3 kB / 446.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1946, allocations: 4.375 kB / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1948, allocations: 35.95 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1948, allocations: 0 / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1948, allocations: 7.938 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1948, allocations: 0 / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1948, allocations: 0 / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.1955, allocations: 283.2 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1955, allocations: 85.02 kB / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1956, allocations: 7.922 kB / 446.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1957, allocations: 27.97 kB / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.1958, allocations: 11.98 kB / 446.7 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1958, allocations: 4 kB / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.1959, allocations: 103.3 kB / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1959, allocations: 0 / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1962, allocations: 43.83 kB / 446.9 MB, free: 7.488 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.001093/0.1973, allocations: 457.5 kB / 447.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.198, allocations: 159.8 kB / 447.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.198, allocations: 0 / 447.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1983, allocations: 75.92 kB / 447.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.1988, allocations: 19.84 kB / 447.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.1993, allocations: 229.8 kB / 447.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1997, allocations: 0.7001 MB / 448.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.353e-05/0.1998, allocations: 16.66 kB / 448.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.1999, allocations: 19.44 kB / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1999, allocations: 0 / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of Templates: time 0.005449/0.2053, allocations: 1.877 MB / 450.4 MB, free: 3.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches