Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001473, allocations: 105.7 kB / 16.27 MB, free: 6.102 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.001757/0.001757, allocations: 181.1 kB / 17.19 MB, free: 5.727 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.723/1.723, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.237/0.237, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002336/0.002336, allocations: 75.31 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1697, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003508/0.1732, allocations: 1.566 MB / 442.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.1739, allocations: 327.5 kB / 442.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.174, allocations: 0 / 442.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.1745, allocations: 95.73 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1747, allocations: 79.72 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1751, allocations: 87.69 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1753, allocations: 79.81 kB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1754, allocations: 24.12 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1755, allocations: 39.83 kB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1757, allocations: 59.81 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1757, allocations: 4 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1758, allocations: 31.98 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1759, allocations: 23.92 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1759, allocations: 31.75 kB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1761, allocations: 111.6 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1761, allocations: 0 / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1761, allocations: 0 / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1762, allocations: 4 kB / 443.1 MB, free: 4.34 MB / 318.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.0005292/0.1767, allocations: 414.9 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1768, allocations: 11.89 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1768, allocations: 16.75 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.177, allocations: 200.1 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.177, allocations: 384 / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.1771, allocations: 4.375 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1773, allocations: 87.27 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1773, allocations: 3.906 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1773, allocations: 3.938 kB / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1774, allocations: 0 / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1775, allocations: 35.97 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.1779, allocations: 405 kB / 444.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1782, allocations: 81.16 kB / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.1783, allocations: 33.8 kB / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1783, allocations: 4 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1784, allocations: 34.56 kB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.1784, allocations: 0 / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000756/0.1791, allocations: 249.1 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1792, allocations: 77.11 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1794, allocations: 239.5 kB / 444.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1794, allocations: 33.7 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1794, allocations: 104.1 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1795, allocations: 35.55 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1795, allocations: 17.72 kB / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.1796, allocations: 326.8 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1797, allocations: 31.97 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.1798, allocations: 53.62 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1799, allocations: 81.69 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.18, allocations: 0 / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.1802, allocations: 129.4 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1802, allocations: 4 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1802, allocations: 0 / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1802, allocations: 4 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.1803, allocations: 23.98 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1803, allocations: 3.938 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.1804, allocations: 8 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1804, allocations: 4 kB / 445.8 MB, free: 1.375 MB / 318.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 7.897e-05/0.1805, allocations: 137.7 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.1805, allocations: 19.84 kB / 445.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1808, allocations: 162.7 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1808, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1808, allocations: 3.938 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1809, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.1814, allocations: 0.4908 MB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1814, allocations: 4.219 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.1814, allocations: 31.86 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1815, allocations: 3.938 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1815, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1815, allocations: 4 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1815, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1817, allocations: 307.4 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.1818, allocations: 84.95 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1818, allocations: 4 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.1819, allocations: 8 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.182, allocations: 7.984 kB / 447 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.182, allocations: 7.938 kB / 447 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.1822, allocations: 171.3 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1822, allocations: 0 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1825, allocations: 24 kB / 447.2 MB, free: 15.8 MB / 334.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.001072/0.1836, allocations: 407.6 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.1839, allocations: 83.83 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1839, allocations: 0 / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.184, allocations: 43.97 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1844, allocations: 27.98 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.1852, allocations: 296.2 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.1858, allocations: 0.7158 MB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.197e-05/0.1859, allocations: 20.78 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.186, allocations: 15.44 kB / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.186, allocations: 0 / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Templates: time 0.006078/0.1921, allocations: 1.313 MB / 450.1 MB, free: 12.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches