Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_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 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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007787/0.0007787, allocations: 96.17 kB / 17.35 MB, free: 6.367 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.0008035/0.0008035, allocations: 175.3 kB / 18.25 MB, free: 5.527 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.476/1.476, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003579, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002599/0.1747, allocations: 1.425 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1766, allocations: 0.8655 MB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1767, allocations: 0 / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1772, allocations: 31.84 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1775, allocations: 43.83 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1778, allocations: 95.77 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.178, allocations: 95.64 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1782, allocations: 12.22 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.1783, allocations: 39.78 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1784, allocations: 31.84 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1785, allocations: 4 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1786, allocations: 59.97 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1787, allocations: 27.86 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.1788, allocations: 57.5 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1791, allocations: 123.9 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1791, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1791, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1791, allocations: 4 kB / 475.2 MB, free: 10.41 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.0007547/0.1799, allocations: 391.2 kB / 475.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1799, allocations: 8.031 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.18, allocations: 8.844 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1803, allocations: 214.4 kB / 475.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1803, allocations: 4.375 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1804, allocations: 8.125 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1806, allocations: 71.38 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1806, allocations: 4 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1806, allocations: 0 / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1806, allocations: 0 / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.1807, allocations: 19.98 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.1811, allocations: 280.7 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1813, allocations: 70.61 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.1814, allocations: 24.97 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1814, allocations: 4 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1817, allocations: 67.39 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.1817, allocations: 3.938 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006645/0.1823, allocations: 201.2 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.1824, allocations: 81.11 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1826, allocations: 157.7 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1827, allocations: 29.7 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1827, allocations: 92.14 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.1828, allocations: 35.53 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.1828, allocations: 17.72 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.183, allocations: 322.8 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.1831, allocations: 31.98 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.1832, allocations: 54.55 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1834, allocations: 73.64 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1834, allocations: 0 / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.1836, allocations: 125.5 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1836, allocations: 6.5 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1837, allocations: 64 / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1837, allocations: 8 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1838, allocations: 27.92 kB / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1838, allocations: 0 / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.1839, allocations: 8 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1839, allocations: 4 kB / 477.6 MB, free: 7.762 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 (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.0001551/0.1841, allocations: 122.4 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1841, allocations: 23.73 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1842, allocations: 8.719 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1842, allocations: 11.94 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1842, allocations: 96 / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1842, allocations: 7.922 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.1848, allocations: 411.3 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1848, allocations: 0 / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.1849, allocations: 15.92 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1849, allocations: 8.031 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1849, allocations: 4 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1849, allocations: 3.938 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1849, allocations: 0 / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1852, allocations: 220.1 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.1853, allocations: 89 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1853, allocations: 4 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.1854, allocations: 11.98 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.1855, allocations: 4 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1855, allocations: 4 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1856, allocations: 120.9 kB / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1856, allocations: 0 / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.1859, allocations: 39.98 kB / 478.7 MB, free: 6.566 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 (10): * Single equations (assignments): 8 * 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.001439/0.1874, allocations: 0.498 MB / 479.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1877, allocations: 83.84 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1877, allocations: 3.938 kB / 479.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.1878, allocations: 35.98 kB / 479.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1881, allocations: 33.84 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.1888, allocations: 226.7 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1892, allocations: 0.7079 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.95e-05/0.1893, allocations: 24.61 kB / 480.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1894, allocations: 27.44 kB / 480.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1894, allocations: 0 / 480.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Templates: time 0.006011/0.1954, allocations: 2.02 MB / 482.3 MB, free: 3.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches