Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 101.3 kB / 15.98 MB, free: 6.344 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.001117/0.001117, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.856/1.856, 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.4169/0.4169, allocations: 43.49 MB / 313.6 MB, free: 8.531 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.001455/0.001455, allocations: 63.91 kB / 382.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1706, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.00347/0.1741, allocations: 1.629 MB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.1748, allocations: 339.6 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.1749, allocations: 3.938 kB / 442 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.1752, allocations: 11.94 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1754, allocations: 35.91 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1757, allocations: 95.81 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1758, allocations: 55.91 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1759, allocations: 20.11 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.176, allocations: 27.84 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.1761, allocations: 23.86 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1761, allocations: 7.938 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1762, allocations: 51.97 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1763, allocations: 15.98 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.1763, allocations: 23.81 kB / 442.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1765, allocations: 95.98 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1766, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1766, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1766, allocations: 0 / 442.4 MB, free: 12.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005553/0.1771, allocations: 375.2 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1772, allocations: 12.03 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1772, allocations: 0.9375 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1775, allocations: 196.1 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1775, allocations: 8.375 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1775, allocations: 8.375 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1777, allocations: 71.33 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1777, allocations: 3.938 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1778, allocations: 0 / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1778, allocations: 0 / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1779, allocations: 31.97 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.1783, allocations: 288.9 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1785, allocations: 38.56 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1785, allocations: 20.94 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.1786, allocations: 3.938 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1786, allocations: 34.56 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1786, allocations: 3.938 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007086/0.1793, allocations: 161.3 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1794, allocations: 81.11 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1796, allocations: 133.7 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1796, allocations: 25.7 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.1797, allocations: 92.14 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1797, allocations: 19.8 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1797, allocations: 17.72 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1799, allocations: 322.8 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.18, allocations: 23.98 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.1801, allocations: 29.7 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1802, allocations: 64.84 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1802, allocations: 0 / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002069/0.1804, allocations: 93.52 kB / 444.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1805, allocations: 4 kB / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1805, allocations: 0 / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1805, allocations: 0 / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1806, allocations: 15.98 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1806, allocations: 3.938 kB / 444.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1807, allocations: 12.23 kB / 444.6 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1807, allocations: 3.938 kB / 444.6 MB, free: 9.906 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 (6): * Single equations (assignments): 6 * 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 9.269e-05/0.1808, allocations: 117.8 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1808, allocations: 8.188 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1811, allocations: 113.9 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1811, allocations: 3.984 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.1811, allocations: 0 / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1811, allocations: 4 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1816, allocations: 358.5 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1816, allocations: 0 / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1817, allocations: 15.94 kB / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1817, allocations: 0 / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1817, allocations: 7.984 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.1817, allocations: 3.938 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1817, allocations: 0 / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.182, allocations: 187.4 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.182, allocations: 81.02 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1821, allocations: 11.94 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.1821, allocations: 3.938 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1822, allocations: 7.984 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1822, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.1823, allocations: 107.3 kB / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1823, allocations: 0 / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1825, allocations: 27.98 kB / 445.6 MB, free: 8.762 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 (6): * Single equations (assignments): 6 * 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.001013/0.1835, allocations: 456.2 kB / 446.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1838, allocations: 55.95 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1838, allocations: 0 / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.1839, allocations: 36.05 kB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1842, allocations: 23.78 kB / 446.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1847, allocations: 193.3 kB / 446.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.185, allocations: 0.6885 MB / 447.1 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.1851, allocations: 19.95 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.1851, allocations: 23.42 kB / 447.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1851, allocations: 4 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of Templates: time 0.004649/0.1898, allocations: 1.424 MB / 448.5 MB, free: 5.832 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches