Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.00152/0.001519, allocations: 194 kB / 18.12 MB, free: 5.383 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.403/1.403, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 60.94 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1689, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004916/0.1739, allocations: 1.672 MB / 470.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.175, allocations: 427.2 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.1751, allocations: 0 / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1756, allocations: 91.8 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1759, allocations: 67.8 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1763, allocations: 103.4 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1766, allocations: 87.8 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1768, allocations: 28.27 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1769, allocations: 35.84 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1771, allocations: 63.81 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1771, allocations: 0 / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1773, allocations: 43.97 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.1774, allocations: 31.86 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.1775, allocations: 35.75 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1778, allocations: 123.5 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1778, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1778, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1778, allocations: 0 / 471.3 MB, free: 12.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000756/0.1786, allocations: 426.8 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.1787, allocations: 12.03 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.1788, allocations: 12.75 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.179, allocations: 208.1 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1791, allocations: 8.375 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1791, allocations: 8.375 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1794, allocations: 81.77 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1794, allocations: 0 / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1794, allocations: 0 / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1794, allocations: 0 / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1795, allocations: 47.89 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.1801, allocations: 344.6 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1802, allocations: 70.48 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.1803, allocations: 24.84 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1803, allocations: 8 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1804, allocations: 30.56 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1804, allocations: 4 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001208/0.1816, allocations: 329.3 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1817, allocations: 51.41 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1819, allocations: 235.5 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.182, allocations: 29.7 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.1821, allocations: 123.9 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.1822, allocations: 43.45 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.1822, allocations: 33.64 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1824, allocations: 322.8 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1825, allocations: 43.97 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1826, allocations: 47.97 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1829, allocations: 111.7 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1829, allocations: 0 / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002918/0.1832, allocations: 149.5 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1832, allocations: 10.5 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1832, allocations: 0 / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1832, allocations: 3.938 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1834, allocations: 27.92 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1834, allocations: 4 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.1835, allocations: 11.98 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1835, allocations: 4 kB / 474.1 MB, free: 9.039 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 (13): * Single equations (assignments): 13 * 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.0001179/0.1836, allocations: 133.8 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.1836, allocations: 15.81 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.1841, allocations: 191.5 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1841, allocations: 0 / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1841, allocations: 0 / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1841, allocations: 3.984 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.1848, allocations: 0.4951 MB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1848, allocations: 4.031 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1849, allocations: 39.92 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.185, allocations: 0 / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.185, allocations: 0 / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.185, allocations: 7.984 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.185, allocations: 0 / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1853, allocations: 253.2 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.1854, allocations: 85.02 kB / 475.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1854, allocations: 4 kB / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1855, allocations: 7.984 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1856, allocations: 11.98 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1856, allocations: 4 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1857, allocations: 167.2 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1857, allocations: 3.938 kB / 475.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.186, allocations: 31.98 kB / 475.5 MB, free: 7.492 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 (13): * Single equations (assignments): 13 * 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.001086/0.1871, allocations: 459 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1875, allocations: 119.8 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1875, allocations: 0 / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1876, allocations: 59.97 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1881, allocations: 19.92 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.1888, allocations: 365.4 kB / 476.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1893, allocations: 0.716 MB / 477.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1894, allocations: 36.5 kB / 477.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1894, allocations: 19.44 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1894, allocations: 0 / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004631/0.1941, allocations: 1.52 MB / 478.8 MB, free: 4.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches