Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 188.4 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.143/1.143, allocations: 120.6 MB / 428.3 MB, free: 5.559 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 0.5989 GB, free: 16.83 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1717, allocations: 84.69 MB / 0.6816 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00289/0.1746, allocations: 1.585 MB / 0.6832 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.176, allocations: 0.908 MB / 0.684 GB, free: 9.426 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1761, allocations: 11.94 kB / 0.6841 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1763, allocations: 55.73 kB / 0.6841 GB, free: 9.359 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.1767, allocations: 115.6 kB / 0.6842 GB, free: 9.246 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.177, allocations: 103.7 kB / 0.6843 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1772, allocations: 131.6 kB / 0.6844 GB, free: 9.016 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1772, allocations: 11.98 kB / 0.6845 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1774, allocations: 67.7 kB / 0.6845 GB, free: 8.938 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1775, allocations: 67.73 kB / 0.6846 GB, free: 8.871 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1775, allocations: 4 kB / 0.6846 GB, free: 8.867 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.1776, allocations: 36 kB / 0.6846 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1778, allocations: 75.73 kB / 0.6847 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1779, allocations: 55.55 kB / 0.6847 GB, free: 8.703 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1782, allocations: 159.1 kB / 0.6849 GB, free: 8.547 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1782, allocations: 0 / 0.6849 GB, free: 8.547 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1782, allocations: 0 / 0.6849 GB, free: 8.547 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1782, allocations: 4 kB / 0.6849 GB, free: 8.543 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006269/0.1788, allocations: 428.9 kB / 0.6853 GB, free: 8.094 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1788, allocations: 8.031 kB / 0.6853 GB, free: 8.086 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1789, allocations: 24.8 kB / 0.6853 GB, free: 8.062 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.1793, allocations: 272 kB / 0.6856 GB, free: 7.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1793, allocations: 4.375 kB / 0.6856 GB, free: 7.766 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1793, allocations: 4.125 kB / 0.6856 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1795, allocations: 49.69 kB / 0.6857 GB, free: 7.707 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1795, allocations: 0 / 0.6857 GB, free: 7.707 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1795, allocations: 7.984 kB / 0.6857 GB, free: 7.699 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1795, allocations: 3.938 kB / 0.6857 GB, free: 7.695 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.1796, allocations: 12 kB / 0.6857 GB, free: 7.684 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1798, allocations: 180.7 kB / 0.6859 GB, free: 7.465 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1799, allocations: 54.55 kB / 0.6859 GB, free: 7.402 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.18, allocations: 24.8 kB / 0.6859 GB, free: 7.375 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1801, allocations: 0 / 0.6859 GB, free: 7.375 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.1802, allocations: 63.39 kB / 0.686 GB, free: 7.301 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1802, allocations: 4 kB / 0.686 GB, free: 7.297 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.1805, allocations: 113.5 kB / 0.6861 GB, free: 7.18 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.1806, allocations: 51.41 kB / 0.6861 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.1809, allocations: 277.9 kB / 0.6864 GB, free: 6.84 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1809, allocations: 29.7 kB / 0.6864 GB, free: 6.805 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.181, allocations: 132.1 kB / 0.6866 GB, free: 6.672 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.181, allocations: 15.88 kB / 0.6866 GB, free: 6.656 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1811, allocations: 17.72 kB / 0.6866 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1813, allocations: 342.8 kB / 0.6869 GB, free: 6.289 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.1813, allocations: 12 kB / 0.6869 GB, free: 6.277 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.1814, allocations: 29.7 kB / 0.687 GB, free: 6.242 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1815, allocations: 49.64 kB / 0.687 GB, free: 6.188 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1815, allocations: 0 / 0.687 GB, free: 6.188 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.1817, allocations: 93.48 kB / 0.6871 GB, free: 6.09 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1817, allocations: 6.969 kB / 0.6871 GB, free: 6.086 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1817, allocations: 0 / 0.6871 GB, free: 6.086 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1817, allocations: 0 / 0.6871 GB, free: 6.086 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.1818, allocations: 19.91 kB / 0.6871 GB, free: 6.066 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1818, allocations: 8.188 kB / 0.6871 GB, free: 6.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.1818, allocations: 3.953 kB / 0.6871 GB, free: 6.055 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1818, allocations: 11.98 kB / 0.6872 GB, free: 6.043 MB / 0.5139 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001295/0.182, allocations: 144.3 kB / 0.6873 GB, free: 5.895 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.182, allocations: 23.86 kB / 0.6873 GB, free: 5.871 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.1822, allocations: 103 kB / 0.6874 GB, free: 5.762 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1822, allocations: 0 / 0.6874 GB, free: 5.762 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1822, allocations: 0 / 0.6874 GB, free: 5.762 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1822, allocations: 8 kB / 0.6874 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1824, allocations: 188.6 kB / 0.6876 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1824, allocations: 384 / 0.6876 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.1824, allocations: 4 kB / 0.6876 GB, free: 5.523 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1824, allocations: 0 / 0.6876 GB, free: 5.523 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1824, allocations: 8 kB / 0.6876 GB, free: 5.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1824, allocations: 0 / 0.6876 GB, free: 5.516 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1824, allocations: 0 / 0.6876 GB, free: 5.516 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1826, allocations: 124.9 kB / 0.6877 GB, free: 5.375 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.1827, allocations: 27.78 kB / 0.6878 GB, free: 5.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1827, allocations: 4 kB / 0.6878 GB, free: 5.344 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.1827, allocations: 4 kB / 0.6878 GB, free: 5.34 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1828, allocations: 3.984 kB / 0.6878 GB, free: 5.336 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1828, allocations: 7.938 kB / 0.6878 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001999/0.183, allocations: 205.2 kB / 0.688 GB, free: 5.129 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.183, allocations: 0 / 0.688 GB, free: 5.129 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002119/0.1832, allocations: 19.94 kB / 0.688 GB, free: 5.109 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001391/0.1846, allocations: 403.7 kB / 0.6884 GB, free: 4.863 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1847, allocations: 35.98 kB / 0.6884 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1847, allocations: 0 / 0.6884 GB, free: 4.828 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.1848, allocations: 19.92 kB / 0.6884 GB, free: 4.809 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1851, allocations: 50.08 kB / 0.6885 GB, free: 4.762 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.1857, allocations: 324 kB / 0.6888 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1861, allocations: 0.7397 MB / 0.6895 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.771e-05/0.1862, allocations: 29.61 kB / 0.6895 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1862, allocations: 35.42 kB / 0.6896 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.1862, allocations: 0 / 0.6896 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of Templates: time 0.005046/0.1913, allocations: 1.741 MB / 0.6913 GB, free: 1.859 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.170162841677666]