Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 105.1 kB / 16.27 MB, free: 5.852 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.001843/0.001843, allocations: 186.1 kB / 17.19 MB, free: 5.504 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.615/1.615, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2266/0.2266, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.002062/0.002063, allocations: 68.27 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1584, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003611/0.1621, allocations: 1.574 MB / 442.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1635, allocations: 0.9417 MB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.1636, allocations: 4 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1639, allocations: 27.84 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1642, allocations: 47.77 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1646, allocations: 91.75 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1648, allocations: 63.89 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1649, allocations: 24.05 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.165, allocations: 23.94 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008355/0.1734, allocations: 31.83 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.1734, allocations: 8 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.1737, allocations: 59.91 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.1738, allocations: 15.92 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.1739, allocations: 19.88 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.1743, allocations: 103.7 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1743, allocations: 0 / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1743, allocations: 0 / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1743, allocations: 0 / 443.5 MB, free: 3.855 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.0005682/0.1749, allocations: 387.2 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.175, allocations: 15.89 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.175, allocations: 12.84 kB / 443.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1753, allocations: 192.1 kB / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1753, allocations: 384 / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1753, allocations: 8.375 kB / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1756, allocations: 84.17 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1756, allocations: 4 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1756, allocations: 3.938 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1756, allocations: 8 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1758, allocations: 39.91 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.1763, allocations: 384.9 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1766, allocations: 93.16 kB / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.1767, allocations: 33.8 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1767, allocations: 0 / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1768, allocations: 42.5 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.1768, allocations: 0 / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007867/0.1776, allocations: 221.6 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1776, allocations: 106.8 kB / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1778, allocations: 145.7 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1778, allocations: 29.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1779, allocations: 96.03 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1779, allocations: 31.55 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.178, allocations: 25.72 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1781, allocations: 322.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.1781, allocations: 23.98 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.1782, allocations: 58.55 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1784, allocations: 89.64 kB / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1784, allocations: 0 / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.1787, allocations: 129.7 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1787, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1787, allocations: 4 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1787, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1788, allocations: 23.92 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1788, allocations: 3.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.1789, allocations: 8 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1789, allocations: 4 kB / 446.1 MB, free: 1.004 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.602e-05/0.179, allocations: 129.8 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.179, allocations: 7.906 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1793, allocations: 133.5 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1794, allocations: 4 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1794, allocations: 3.938 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1794, allocations: 4 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.1799, allocations: 0.4984 MB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1799, allocations: 192 / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.18, allocations: 23.92 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.18, allocations: 4.25 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1801, allocations: 12.03 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1801, allocations: 4 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1801, allocations: 0 / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.1805, allocations: 295.5 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1805, allocations: 84.95 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1806, allocations: 12 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1807, allocations: 7.938 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1807, allocations: 7.984 kB / 447.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1807, allocations: 4 kB / 447.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1808, allocations: 118.6 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1808, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1812, allocations: 28 kB / 447.5 MB, free: 15.53 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.001109/0.1823, allocations: 440.5 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.1826, allocations: 95.88 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1826, allocations: 0 / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1827, allocations: 39.98 kB / 448 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.1832, allocations: 27.92 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.1838, allocations: 211.8 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1842, allocations: 0.7001 MB / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1844, allocations: 32.33 kB / 449 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.1844, allocations: 19.42 kB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1844, allocations: 0 / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.005742/0.1902, allocations: 1.524 MB / 450.6 MB, free: 12.48 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches