Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002357/0.002363, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008652/0.0008659, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1721, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003137/0.1753, allocations: 1.252 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1764, allocations: 287.9 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1765, allocations: 4 kB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1768, allocations: 15.88 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.177, allocations: 27.91 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.1776, allocations: 91.75 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1778, allocations: 31.97 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1779, allocations: 11.98 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.178, allocations: 27.8 kB / 492 MB, free: 7.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.1781, allocations: 11.92 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1781, allocations: 0 / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1783, allocations: 20 kB / 492 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1783, allocations: 11.92 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.1784, allocations: 29.7 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1786, allocations: 67.78 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1786, allocations: 0 / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1786, allocations: 0 / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1787, allocations: 0 / 492.1 MB, free: 7.445 MB / 330.7 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.0005355/0.1792, allocations: 375.4 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1793, allocations: 12.02 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1793, allocations: 11.86 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1795, allocations: 186.4 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1796, allocations: 4 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1796, allocations: 0 / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1798, allocations: 49.69 kB / 492.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1798, allocations: 8 kB / 492.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1798, allocations: 3.938 kB / 492.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1798, allocations: 4 kB / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.18, allocations: 27.97 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1805, allocations: 276.9 kB / 493 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1808, allocations: 46.56 kB / 493.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1808, allocations: 3.938 kB / 493.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1809, allocations: 38.56 kB / 493.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.1809, allocations: 0 / 493.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008506/0.1818, allocations: 169.2 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1818, allocations: 55.41 kB / 493.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.182, allocations: 157.9 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1821, allocations: 29.7 kB / 493.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.1822, allocations: 162.5 kB / 493.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1822, allocations: 11.81 kB / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.1822, allocations: 0 / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1824, allocations: 318.8 kB / 494 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1825, allocations: 23.98 kB / 494 MB, free: 5.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1826, allocations: 27.98 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1828, allocations: 23.98 kB / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1828, allocations: 0 / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003295/0.1831, allocations: 93.84 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1832, allocations: 8 kB / 494.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1832, allocations: 3.938 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1832, allocations: 0 / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1833, allocations: 19.89 kB / 494.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1834, allocations: 3.984 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.1834, allocations: 4 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1835, allocations: 7.984 kB / 494.2 MB, free: 5.113 MB / 330.7 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.0001149/0.1836, allocations: 117.8 kB / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.1836, allocations: 11.89 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.184, allocations: 105.9 kB / 494.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.184, allocations: 0 / 494.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1841, allocations: 7.891 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1841, allocations: 0 / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.1847, allocations: 362.9 kB / 494.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1847, allocations: 0 / 494.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1849, allocations: 15.98 kB / 494.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1849, allocations: 0 / 494.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1849, allocations: 7.953 kB / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1849, allocations: 0 / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1849, allocations: 0 / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1853, allocations: 195.4 kB / 495 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.1854, allocations: 85.02 kB / 495.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1854, allocations: 4 kB / 495.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1855, allocations: 15.94 kB / 495.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1856, allocations: 7.938 kB / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1856, allocations: 0 / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1858, allocations: 117.8 kB / 495.2 MB, free: 3.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1858, allocations: 0 / 495.2 MB, free: 3.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.1861, allocations: 20 kB / 495.3 MB, free: 3.961 MB / 330.7 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.001146/0.1873, allocations: 401.6 kB / 495.7 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1876, allocations: 63.89 kB / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1876, allocations: 0 / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1878, allocations: 31.98 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1881, allocations: 15.98 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1887, allocations: 210.3 kB / 496 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.189, allocations: 0.7004 MB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1891, allocations: 19.42 kB / 496.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1891, allocations: 0 / 496.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of Templates: time 0.004393/0.1935, allocations: 1.415 MB / 498.1 MB, free: 1.102 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches