Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009277, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009197/0.0009198, allocations: 174.7 kB / 16.58 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 222.7 MB, free: 5.625 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.57 MB / 314.6 MB, free: 9.051 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.0006538/0.000654, allocations: 16 kB / 383.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.168, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002746/0.1708, allocations: 1.256 MB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.1716, allocations: 291.8 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.1717, allocations: 8 kB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1721, allocations: 23.91 kB / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1723, allocations: 31.91 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1727, allocations: 79.77 kB / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1729, allocations: 51.84 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1731, allocations: 15.98 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1732, allocations: 19.91 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.1733, allocations: 15.88 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1733, allocations: 0 / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1734, allocations: 23.98 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.1735, allocations: 11.94 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1736, allocations: 33.69 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1738, allocations: 64.12 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1738, allocations: 0 / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.931e-06/0.1738, allocations: 0 / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1738, allocations: 3.938 kB / 444.7 MB, free: 11.31 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.0007832/0.1746, allocations: 379 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.1747, allocations: 11.97 kB / 445.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.1748, allocations: 11.86 kB / 445.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.1752, allocations: 175.1 kB / 445.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1752, allocations: 4 kB / 445.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1752, allocations: 0 / 445.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1755, allocations: 53.67 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1755, allocations: 4 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1755, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1755, allocations: 7.938 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1757, allocations: 27.94 kB / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.1763, allocations: 280.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1767, allocations: 58.53 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.1767, allocations: 12.86 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.1768, allocations: 4.078 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1768, allocations: 34.56 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1768, allocations: 4 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007779/0.1776, allocations: 165.2 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1777, allocations: 59.41 kB / 446 MB, free: 9.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1779, allocations: 157.4 kB / 446.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1779, allocations: 25.7 kB / 446.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.178, allocations: 100.1 kB / 446.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1781, allocations: 19.69 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.1781, allocations: 0 / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1783, allocations: 326.8 kB / 446.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1783, allocations: 27.98 kB / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.1784, allocations: 23.98 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.1785, allocations: 24.17 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1785, allocations: 0 / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002253/0.1787, allocations: 101.6 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.1788, allocations: 7.953 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1788, allocations: 4 kB / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1788, allocations: 0 / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.1789, allocations: 12 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1789, allocations: 3.984 kB / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.179, allocations: 8 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.179, allocations: 7.922 kB / 446.8 MB, free: 8.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1791, allocations: 121.8 kB / 446.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.1792, allocations: 11.89 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1794, allocations: 101.9 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1795, allocations: 4 kB / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1795, allocations: 0 / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1795, allocations: 4 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.18, allocations: 354.5 kB / 447.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.18, allocations: 4 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1801, allocations: 19.94 kB / 447.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1801, allocations: 4 kB / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1801, allocations: 0 / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1801, allocations: 0 / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1801, allocations: 0 / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1804, allocations: 199.5 kB / 447.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1805, allocations: 88.95 kB / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1805, allocations: 3.953 kB / 447.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1806, allocations: 15.98 kB / 447.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.1807, allocations: 0 / 447.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1807, allocations: 0 / 447.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1808, allocations: 119.2 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1808, allocations: 4 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1811, allocations: 19.91 kB / 447.9 MB, free: 7.832 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 (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.001171/0.1823, allocations: 390.2 kB / 448.3 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.1825, allocations: 63.95 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1825, allocations: 4 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1826, allocations: 35.92 kB / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.183, allocations: 19.86 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1835, allocations: 188.7 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1838, allocations: 0.6965 MB / 449.3 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.1839, allocations: 11.98 kB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.1839, allocations: 15.38 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1839, allocations: 0 / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of Templates: time 0.004409/0.1883, allocations: 1.03 MB / 450.3 MB, free: 5.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches