Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 95.34 kB / 17.35 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.0009913/0.0009914, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.463/1.463, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2295/0.2295, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1706, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00235/0.173, allocations: 1.413 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1746, allocations: 0.8422 MB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.1747, allocations: 3.938 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.175, allocations: 35.88 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1752, allocations: 47.83 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1755, allocations: 95.77 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1757, allocations: 91.7 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1758, allocations: 16.22 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.1759, allocations: 39.78 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.176, allocations: 19.86 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.176, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1761, allocations: 39.98 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1761, allocations: 31.84 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.1762, allocations: 61.44 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1764, allocations: 111.8 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1764, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1764, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1764, allocations: 0 / 475.1 MB, free: 10.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005253/0.177, allocations: 395.2 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.177, allocations: 12.03 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.1771, allocations: 16.69 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1773, allocations: 220.7 kB / 475.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1773, allocations: 4.375 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1773, allocations: 8.125 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1775, allocations: 53.67 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1775, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1775, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1775, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.1776, allocations: 19.98 kB / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.178, allocations: 284.9 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1782, allocations: 62.61 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.1782, allocations: 16.86 kB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1782, allocations: 4 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1784, allocations: 83.28 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1784, allocations: 0 / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.179, allocations: 169.2 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.179, allocations: 55.41 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1792, allocations: 195.3 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1792, allocations: 29.69 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1793, allocations: 104.1 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1793, allocations: 23.69 kB / 476.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1794, allocations: 21.66 kB / 476.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1795, allocations: 330.8 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.1796, allocations: 19.98 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.1796, allocations: 33.7 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1798, allocations: 57.72 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1798, allocations: 0 / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.1799, allocations: 101.5 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.18, allocations: 4 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.18, allocations: 4 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.18, allocations: 192 / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1801, allocations: 15.98 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1801, allocations: 7.875 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1802, allocations: 11.94 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1802, allocations: 7.938 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.787e-05/0.1803, allocations: 129.9 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1803, allocations: 15.81 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.1804, allocations: 17.55 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1804, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1804, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1804, allocations: 7.922 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1808, allocations: 395.3 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1808, allocations: 0 / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.1809, allocations: 12.03 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1809, allocations: 4 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1809, allocations: 3.938 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1809, allocations: 0 / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1809, allocations: 0 / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1812, allocations: 208.1 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1812, allocations: 85.02 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1812, allocations: 11.94 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.1813, allocations: 4 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1814, allocations: 7.984 kB / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1814, allocations: 4.375 kB / 478.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1815, allocations: 152.9 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1815, allocations: 0 / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1818, allocations: 27.98 kB / 478.5 MB, free: 6.719 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001047/0.1828, allocations: 474.1 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.183, allocations: 63.84 kB / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.183, allocations: 0 / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.1831, allocations: 32.05 kB / 479.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1834, allocations: 27.98 kB / 479.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1839, allocations: 258.3 kB / 479.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1842, allocations: 0.7043 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.1843, allocations: 21.17 kB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.1843, allocations: 15.44 kB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1843, allocations: 0 / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.004266/0.1886, allocations: 1.625 MB / 481.7 MB, free: 3.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches