Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 103 kB / 15.98 MB, free: 6.355 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.001258/0.001258, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.776/1.776, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4405/0.4405, allocations: 43.5 MB / 313.6 MB, free: 8.492 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.001503/0.001503, allocations: 70.56 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1711, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003969/0.1751, allocations: 1.621 MB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.1759, allocations: 331.6 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.176, allocations: 0 / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.1766, allocations: 451.2 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.177, allocations: 247.6 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1774, allocations: 139.7 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1776, allocations: 155.7 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1778, allocations: 27.95 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1779, allocations: 103.7 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.1781, allocations: 215.6 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1782, allocations: 0 / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.1782, allocations: 31.97 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1784, allocations: 79.64 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.1785, allocations: 103 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1788, allocations: 239.3 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1788, allocations: 0 / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1788, allocations: 0 / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1788, allocations: 0 / 443.7 MB, free: 11.02 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.0008381/0.1796, allocations: 0.618 MB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1797, allocations: 15.89 kB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1798, allocations: 36.47 kB / 444.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1801, allocations: 304.1 kB / 444.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1801, allocations: 4.375 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1802, allocations: 8.375 kB / 444.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1803, allocations: 49.81 kB / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1803, allocations: 0 / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1804, allocations: 3.984 kB / 444.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1804, allocations: 0 / 444.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.1805, allocations: 27.97 kB / 444.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.1811, allocations: 392.7 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1812, allocations: 30.52 kB / 445.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.1813, allocations: 16.91 kB / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1813, allocations: 0 / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.1814, allocations: 34.56 kB / 445.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1814, allocations: 0 / 445.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.1817, allocations: 105.1 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1818, allocations: 51.41 kB / 445.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.1827, allocations: 0.8574 MB / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1827, allocations: 29.7 kB / 446.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1829, allocations: 220.1 kB / 446.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1829, allocations: 3.906 kB / 446.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.183, allocations: 9.719 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1832, allocations: 374.8 kB / 446.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.1833, allocations: 4 kB / 446.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.1833, allocations: 15.98 kB / 446.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.1834, allocations: 24.84 kB / 446.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1834, allocations: 0 / 446.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.1836, allocations: 97.05 kB / 447 MB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.1837, allocations: 16.03 kB / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1837, allocations: 0 / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.1837, allocations: 0 / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.1838, allocations: 4 kB / 447 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1838, allocations: 0 / 447 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.1839, allocations: 4 kB / 447 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1839, allocations: 0 / 447 MB, free: 7.469 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 (2): * Single equations (assignments): 2 * 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.0002309/0.1841, allocations: 213.7 kB / 447.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1842, allocations: 43.44 kB / 447.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1845, allocations: 112.5 kB / 447.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1845, allocations: 0 / 447.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1845, allocations: 7.984 kB / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1845, allocations: 0 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1849, allocations: 285.5 kB / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1849, allocations: 0 / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.1849, allocations: 7.984 kB / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1849, allocations: 0 / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1849, allocations: 0 / 447.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1849, allocations: 11.97 kB / 447.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.185, allocations: 4 kB / 447.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1852, allocations: 183 kB / 447.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1852, allocations: 112.5 kB / 448 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1853, allocations: 0 / 448 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.1853, allocations: 4 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1854, allocations: 3.969 kB / 448 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1854, allocations: 8 kB / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007041/0.1861, allocations: 0.6511 MB / 448.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1861, allocations: 0 / 448.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1864, allocations: 12 kB / 448.7 MB, free: 5.73 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 (2): * Single equations (assignments): 2 * 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.0009103/0.1873, allocations: 363.7 kB / 449 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1875, allocations: 19.98 kB / 449 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1875, allocations: 4 kB / 449 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.1876, allocations: 15.98 kB / 449.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.188, allocations: 21.77 kB / 449.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1893, allocations: 0.8531 MB / 449.9 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.1898, allocations: 0.8182 MB / 450.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1899, allocations: 15.91 kB / 450.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1899, allocations: 11.44 kB / 450.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.044e-06/0.19, allocations: 0 / 450.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of Templates: time 0.005159/0.1951, allocations: 1.241 MB / 452 MB, free: 2.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches