Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.059/1.059, allocations: 120.6 MB / 434.5 MB, free: 0.6484 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.91 kB / 0.6072 GB, free: 10.38 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1601, allocations: 85.87 MB / 0.691 GB, free: 4.301 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003006/0.1631, allocations: 1.427 MB / 0.6924 GB, free: 2.867 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1643, allocations: 0.5493 MB / 0.6929 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.1644, allocations: 3.938 kB / 0.693 GB, free: 2.309 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1647, allocations: 231.6 kB / 0.6932 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.1651, allocations: 275.6 kB / 0.6934 GB, free: 1.812 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1654, allocations: 75.78 kB / 0.6935 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.166, allocations: 0.5968 MB / 0.6941 GB, free: 1.141 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.1661, allocations: 7.938 kB / 0.6941 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.1666, allocations: 319.5 kB / 0.6944 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.1674, allocations: 0.5891 MB / 0.695 GB, free: 236 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1675, allocations: 36 kB / 0.695 GB, free: 200 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.1677, allocations: 103.9 kB / 0.6951 GB, free: 96 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.1693, allocations: 1.302 MB / 0.6964 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.17, allocations: 0.522 MB / 0.6969 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.1717, allocations: 1.673 MB / 0.6985 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1717, allocations: 0 / 0.6985 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1717, allocations: 0 / 0.6985 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 5.542e-05/0.1718, allocations: 7.938 kB / 0.6985 GB, free: 12.57 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003985/0.1758, allocations: 2.793 MB / 0.7013 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1758, allocations: 15.97 kB / 0.7013 GB, free: 9.707 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.1763, allocations: 302.9 kB / 0.7016 GB, free: 9.41 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006087/0.1824, allocations: 3.225 MB / 0.7047 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1824, allocations: 4.375 kB / 0.7047 GB, free: 6.102 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.1824, allocations: 8.375 kB / 0.7047 GB, free: 6.094 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1827, allocations: 179.6 kB / 0.7049 GB, free: 5.906 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1827, allocations: 0 / 0.7049 GB, free: 5.906 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.1827, allocations: 8 kB / 0.7049 GB, free: 5.898 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1827, allocations: 3.938 kB / 0.7049 GB, free: 5.895 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1829, allocations: 105.7 kB / 0.705 GB, free: 5.785 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1841, allocations: 0.942 MB / 0.7059 GB, free: 4.816 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1843, allocations: 88.28 kB / 0.706 GB, free: 4.715 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1844, allocations: 90.59 kB / 0.7061 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1844, allocations: 0 / 0.7061 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.1847, allocations: 206.6 kB / 0.7063 GB, free: 4.391 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1847, allocations: 0 / 0.7063 GB, free: 4.391 MB / 0.5295 GB Notification: Performance of matching and sorting (n=8): time 0.001057/0.1858, allocations: 0.739 MB / 0.707 GB, free: 3.625 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1858, allocations: 81.11 kB / 0.7071 GB, free: 3.527 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.1896, allocations: 3.185 MB / 0.7102 GB, free: 372 kB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.1897, allocations: 33.7 kB / 0.7102 GB, free: 332 kB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.1909, allocations: 1.24 MB / 0.7114 GB, free: 15.08 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.1909, allocations: 27.84 kB / 0.7115 GB, free: 15.05 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1911, allocations: 81.7 kB / 0.7116 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1912, allocations: 310 kB / 0.7118 GB, free: 14.66 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1913, allocations: 85.69 kB / 0.7119 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1914, allocations: 77.64 kB / 0.712 GB, free: 14.49 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.1917, allocations: 168.2 kB / 0.7122 GB, free: 14.31 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1917, allocations: 0 / 0.7122 GB, free: 14.31 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008129/0.1925, allocations: 0.6669 MB / 0.7128 GB, free: 13.62 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.1925, allocations: 41.62 kB / 0.7129 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1925, allocations: 0 / 0.7129 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1925, allocations: 4 kB / 0.7129 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.1926, allocations: 4 kB / 0.7129 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1926, allocations: 4 kB / 0.7129 GB, free: 13.56 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1928, allocations: 11.94 kB / 0.7129 GB, free: 13.55 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.193, allocations: 116 kB / 0.713 GB, free: 13.44 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0009202/0.1939, allocations: 0.7373 MB / 0.7137 GB, free: 12.68 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.1942, allocations: 317.9 kB / 0.714 GB, free: 12.37 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.1945, allocations: 333.8 kB / 0.7143 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1945, allocations: 0 / 0.7143 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1946, allocations: 144 / 0.7143 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1946, allocations: 3.984 kB / 0.7143 GB, free: 12.04 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1956, allocations: 1.02 MB / 0.7153 GB, free: 11 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1956, allocations: 4 kB / 0.7153 GB, free: 10.99 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1956, allocations: 8 kB / 0.7153 GB, free: 10.98 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1956, allocations: 0 / 0.7153 GB, free: 10.98 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.1957, allocations: 27.94 kB / 0.7154 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1957, allocations: 0 / 0.7154 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1957, allocations: 4 kB / 0.7154 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.1965, allocations: 0.723 MB / 0.7161 GB, free: 10.2 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.197, allocations: 273.9 kB / 0.7163 GB, free: 9.93 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.1971, allocations: 15.94 kB / 0.7164 GB, free: 9.914 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1973, allocations: 12 kB / 0.7164 GB, free: 9.902 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1973, allocations: 3.984 kB / 0.7164 GB, free: 9.898 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.1974, allocations: 116 kB / 0.7165 GB, free: 9.785 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.002814/0.2003, allocations: 2.203 MB / 0.7186 GB, free: 7.602 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9e-08/0.2003, allocations: 0 / 0.7186 GB, free: 7.602 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0003963/0.2007, allocations: 115.9 kB / 0.7187 GB, free: 7.488 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0001915/0.2009, allocations: 123.2 kB / 0.7189 GB, free: 7.359 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2012, allocations: 250.7 kB / 0.7191 GB, free: 7.09 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2012, allocations: 0 / 0.7191 GB, free: 7.09 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2014, allocations: 153.1 kB / 0.7192 GB, free: 6.922 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.2021, allocations: 224.7 kB / 0.7195 GB, free: 6.699 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.2075, allocations: 4.273 MB / 0.7236 GB, free: 2.379 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.2088, allocations: 1.128 MB / 0.7247 GB, free: 1.219 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001248/0.2101, allocations: 0.5884 MB / 0.7253 GB, free: 0.625 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.2102, allocations: 135.4 kB / 0.7254 GB, free: 0.4922 MB / 0.5452 GB Notification: Performance of SimCode: time 9.22e-07/0.2102, allocations: 0 / 0.7254 GB, free: 0.4922 MB / 0.5452 GB Notification: Performance of Templates: time 0.02947/0.2397, allocations: 13.26 MB / 0.7384 GB, free: 3.188 MB / 0.5608 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.220628086477518]