Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 104.1 kB / 16.4 MB, free: 6.449 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.002158/0.002158, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2407/0.2407, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001948/0.001949, allocations: 65.89 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1595, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.003576/0.1631, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007531/0.1639, allocations: 327.5 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.164, allocations: 4 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.1644, allocations: 127.7 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1647, allocations: 91.62 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1651, allocations: 87.81 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1653, allocations: 79.86 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1655, allocations: 23.97 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.1656, allocations: 47.77 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1657, allocations: 75.84 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1658, allocations: 4 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1659, allocations: 31.94 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.166, allocations: 27.91 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.166, allocations: 27.75 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1662, allocations: 103.6 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1663, allocations: 4 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1663, allocations: 4 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1663, allocations: 0 / 0.4904 GB, free: 9.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006387/0.1669, allocations: 418.8 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.167, allocations: 15.89 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.1671, allocations: 16.69 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1673, allocations: 203.9 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.1674, allocations: 8.375 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1674, allocations: 384 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1676, allocations: 53.81 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1676, allocations: 0 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1676, allocations: 3.984 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1676, allocations: 0 / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1678, allocations: 31.91 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1682, allocations: 296.8 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1685, allocations: 46.56 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1686, allocations: 20.94 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1686, allocations: 0 / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1686, allocations: 34.5 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1686, allocations: 0 / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006713/0.1693, allocations: 157.2 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1694, allocations: 59.33 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1696, allocations: 266.3 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1697, allocations: 25.7 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.1698, allocations: 112.1 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1698, allocations: 15.66 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1699, allocations: 17.72 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.17, allocations: 334.8 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.1701, allocations: 19.98 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.1702, allocations: 24.16 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1704, allocations: 52.83 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1704, allocations: 3.938 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001949/0.1706, allocations: 89.52 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1706, allocations: 8 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1706, allocations: 0 / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.1706, allocations: 3.984 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.1707, allocations: 12 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1707, allocations: 0 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1708, allocations: 7.984 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1708, allocations: 7.938 kB / 0.4927 GB, free: 6.613 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 (5): * Single equations (assignments): 5 * 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.0001129/0.1709, allocations: 137.7 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.171, allocations: 19.81 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.1712, allocations: 110.6 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1712, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1712, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1712, allocations: 4 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.1717, allocations: 366.5 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1717, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.1718, allocations: 16.17 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1718, allocations: 4 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1718, allocations: 4 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1718, allocations: 3.938 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1718, allocations: 3.938 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1721, allocations: 183.3 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1722, allocations: 89.02 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1722, allocations: 4 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1723, allocations: 11.92 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1723, allocations: 4 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1723, allocations: 0 / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.1725, allocations: 203.2 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1726, allocations: 0 / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1728, allocations: 12 kB / 0.4938 GB, free: 5.352 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 (5): * Single equations (assignments): 5 * 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.0009623/0.1738, allocations: 419.3 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.174, allocations: 47.91 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.174, allocations: 0 / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.1741, allocations: 31.97 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1745, allocations: 15.86 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.1751, allocations: 282.5 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1754, allocations: 0.7119 MB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.1755, allocations: 11.98 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1755, allocations: 15.38 kB / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1755, allocations: 0 / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of Templates: time 0.004039/0.1796, allocations: 1.163 MB / 0.4964 GB, free: 2.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches