Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 96.55 kB / 16.98 MB, free: 5.938 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.001149/0.001149, allocations: 188.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 17.7 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002413/0.1667, allocations: 1.275 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.1676, allocations: 371.6 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.1677, allocations: 0 / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.168, allocations: 75.75 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1683, allocations: 55.88 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1687, allocations: 78.66 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1689, allocations: 43.94 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.169, allocations: 12.17 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.1691, allocations: 31.84 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1692, allocations: 43.89 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1692, allocations: 0 / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1693, allocations: 35.86 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.1694, allocations: 11.98 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.1694, allocations: 37.64 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1696, allocations: 67.89 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1696, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1696, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1697, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005244/0.1702, allocations: 403.2 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1702, allocations: 12.5 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1703, allocations: 7.906 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1705, allocations: 186.9 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1705, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1706, allocations: 15.92 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1707, allocations: 49.64 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1707, allocations: 3.906 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1708, allocations: 8 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1708, allocations: 4 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1709, allocations: 27.97 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1714, allocations: 296.8 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1715, allocations: 42.56 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1715, allocations: 4 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1716, allocations: 34.56 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.1716, allocations: 0 / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009506/0.1725, allocations: 249.1 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1726, allocations: 51.41 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1728, allocations: 210.2 kB / 475.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1728, allocations: 25.7 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1729, allocations: 112 kB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1729, allocations: 15.73 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1729, allocations: 4 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1731, allocations: 326.8 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.1732, allocations: 35.97 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.1732, allocations: 31.97 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.1733, allocations: 31.98 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1733, allocations: 0 / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002201/0.1736, allocations: 109.7 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1736, allocations: 4 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1736, allocations: 80 / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1736, allocations: 0 / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.1737, allocations: 19.98 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1737, allocations: 7.984 kB / 475.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.1738, allocations: 12 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1738, allocations: 3.984 kB / 475.9 MB, free: 9.098 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1739, allocations: 125.8 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.174, allocations: 11.84 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1742, allocations: 130.7 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1742, allocations: 0 / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1743, allocations: 0 / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1743, allocations: 4 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1748, allocations: 415.2 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1748, allocations: 7.922 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.1749, allocations: 19.98 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1749, allocations: 0 / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1749, allocations: 4 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1749, allocations: 4 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1749, allocations: 0 / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1752, allocations: 233.9 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1753, allocations: 84.92 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1753, allocations: 8 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1754, allocations: 11.98 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1754, allocations: 7.953 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1754, allocations: 7.984 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1756, allocations: 151.2 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1756, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1758, allocations: 20 kB / 477.1 MB, free: 7.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.177, allocations: 458.3 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1772, allocations: 75.89 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1772, allocations: 4 kB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.1773, allocations: 44.06 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1776, allocations: 20.14 kB / 477.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1781, allocations: 258.5 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1785, allocations: 0.7082 MB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.1785, allocations: 12.66 kB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1786, allocations: 15.44 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1786, allocations: 0 / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.003936/0.1825, allocations: 1.222 MB / 479.9 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches