Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.001651/0.001651, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.002091/0.002091, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.166/1.166, allocations: 120.6 MB / 435.2 MB, free: 0.6523 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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [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.002303/0.002303, allocations: 71.89 kB / 0.6079 GB, free: 10.25 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1837, allocations: 85.86 MB / 0.6918 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003227/0.1869, allocations: 1.415 MB / 0.6931 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1882, allocations: 0.5532 MB / 0.6937 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.1883, allocations: 4 kB / 0.6937 GB, free: 2.188 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.191, allocations: 3.43 MB / 0.697 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.194, allocations: 3.473 MB / 0.7004 GB, free: 11.27 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1944, allocations: 79.83 kB / 0.7005 GB, free: 11.19 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.007554/0.2019, allocations: 8.555 MB / 0.7089 GB, free: 2.625 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.202, allocations: 3.938 kB / 0.7089 GB, free: 2.621 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006526/0.2085, allocations: 4.258 MB / 0.713 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.2206, allocations: 9.058 MB / 0.7219 GB, free: 5.281 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.002176/0.2228, allocations: 0.4922 MB / 0.7223 GB, free: 4.789 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.2249, allocations: 0.5546 MB / 0.7229 GB, free: 4.234 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.02568/0.2506, allocations: 20.7 MB / 0.7431 GB, free: 15.47 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.01541/0.266, allocations: 8.08 MB / 0.751 GB, free: 7.309 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.7514/1.017, allocations: 25.47 MB / 0.7759 GB, free: 36.45 MB / 0.5767 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.017, allocations: 0 / 0.7759 GB, free: 36.45 MB / 0.5767 GB Notification: Performance of FrontEnd: time 2.555e-06/1.017, allocations: 1.188 kB / 0.7759 GB, free: 36.45 MB / 0.5767 GB Notification: Performance of Transformations before backend: time 0.002137/1.02, allocations: 0 / 0.7759 GB, free: 36.45 MB / 0.5767 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.106/1.126, allocations: 40.38 MB / 0.8153 GB, free: 7.984 MB / 0.5767 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.126, allocations: 10 kB / 0.8153 GB, free: 7.984 MB / 0.5767 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/1.137, allocations: 4.644 MB / 0.8199 GB, free: 5.266 MB / 0.5767 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1604/1.297, allocations: 52.37 MB / 0.871 GB, free: 3.578 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/1.297, allocations: 384 / 0.871 GB, free: 3.578 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/1.299, allocations: 128.4 kB / 0.8711 GB, free: 3.453 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/1.301, allocations: 1.546 MB / 0.8726 GB, free: 1.898 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.301, allocations: 3.938 kB / 0.8726 GB, free: 1.895 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/1.302, allocations: 128 kB / 0.8728 GB, free: 1.77 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.302, allocations: 0 / 0.8728 GB, free: 1.77 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.303, allocations: 0.9049 MB / 0.8736 GB, free: 0.8594 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04198/1.345, allocations: 13.5 MB / 0.8868 GB, free: 3.312 MB / 0.6392 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/1.347, allocations: 0.5471 MB / 0.8874 GB, free: 2.75 MB / 0.6392 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/1.348, allocations: 0.5407 MB / 0.8879 GB, free: 2.207 MB / 0.6392 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/1.348, allocations: 0 / 0.8879 GB, free: 2.207 MB / 0.6392 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/1.35, allocations: 1.357 MB / 0.8892 GB, free: 0.8281 MB / 0.6392 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/1.35, allocations: 0 / 0.8892 GB, free: 0.8281 MB / 0.6392 GB Notification: Performance of matching and sorting (n=8): time 0.01535/1.365, allocations: 8.631 MB / 0.8976 GB, free: 8.141 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/1.365, allocations: 77.11 kB / 0.8977 GB, free: 8.047 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1409/1.506, allocations: 49.58 MB / 0.9461 GB, free: 6.875 MB / 0.7017 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/1.507, allocations: 153.1 kB / 0.9463 GB, free: 6.723 MB / 0.7017 GB Notification: Performance of collectInitialEqns (initialization): time 0.04257/1.55, allocations: 22.55 MB / 0.9683 GB, free: 160 kB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.551, allocations: 145.4 kB / 0.9684 GB, free: 16 kB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/1.552, allocations: 0.8774 MB / 0.9693 GB, free: 15.13 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.552, allocations: 314.5 kB / 0.9696 GB, free: 14.82 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/1.553, allocations: 0.5352 MB / 0.9701 GB, free: 14.28 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/1.554, allocations: 0.5329 MB / 0.9706 GB, free: 13.74 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.556, allocations: 1.08 MB / 0.9717 GB, free: 12.65 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.556, allocations: 3.172 kB / 0.9717 GB, free: 12.65 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01363/1.57, allocations: 8.102 MB / 0.9796 GB, free: 4.5 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/1.57, allocations: 37.69 kB / 0.9796 GB, free: 4.457 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.57, allocations: 6.219 kB / 0.9797 GB, free: 4.453 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.57, allocations: 1.312 kB / 0.9797 GB, free: 4.453 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/1.57, allocations: 4 kB / 0.9797 GB, free: 4.449 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.57, allocations: 0 / 0.9797 GB, free: 4.449 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00721/1.577, allocations: 136 kB / 0.9798 GB, free: 4.316 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.579, allocations: 1.714 MB / 0.9815 GB, free: 2.605 MB / 0.7329 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.02774/1.607, allocations: 9.667 MB / 0.9909 GB, free: 8.914 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009955/1.617, allocations: 4.768 MB / 0.9956 GB, free: 4.117 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/1.637, allocations: 5.115 MB / 1.001 GB, free: 15 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.637, allocations: 4 kB / 1.001 GB, free: 14.99 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.637, allocations: 1.875 kB / 1.001 GB, free: 14.99 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.637, allocations: 0 / 1.001 GB, free: 14.99 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05891/1.696, allocations: 14.73 MB / 1.015 GB, free: 224 kB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.696, allocations: 2.188 kB / 1.015 GB, free: 224 kB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/1.696, allocations: 4 kB / 1.015 GB, free: 220 kB / 0.7642 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.696, allocations: 0 / 1.015 GB, free: 220 kB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002188/1.698, allocations: 378 kB / 1.015 GB, free: 15.84 MB / 0.7798 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/1.698, allocations: 7.938 kB / 1.015 GB, free: 15.84 MB / 0.7798 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.698, allocations: 0 / 1.015 GB, free: 15.84 MB / 0.7798 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.714, allocations: 8.428 MB / 1.024 GB, free: 7.352 MB / 0.7798 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01514/1.729, allocations: 4.051 MB / 1.028 GB, free: 3.27 MB / 0.7798 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006345/1.735, allocations: 128 kB / 1.028 GB, free: 3.145 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005414/1.741, allocations: 133.9 kB / 1.028 GB, free: 3.016 MB / 0.7798 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/1.741, allocations: 4 kB / 1.028 GB, free: 3.012 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001734/1.743, allocations: 1.715 MB / 1.029 GB, free: 1.297 MB / 0.7798 GB Notification: Performance of sorting global known variables: time 0.5963/2.339, allocations: 34.49 MB / 1.063 GB, free: 263.1 MB / 0.811 GB Notification: Performance of sort global known variables: time 4.4e-07/2.339, allocations: 0 / 1.063 GB, free: 263.1 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.009486/2.348, allocations: 1.251 MB / 1.064 GB, free: 263.1 MB / 0.811 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.0009879/2.349, allocations: 247.5 kB / 1.065 GB, free: 263 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.002784/2.352, allocations: 1.274 MB / 1.066 GB, free: 262.8 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/2.352, allocations: 1.625 kB / 1.066 GB, free: 262.8 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/2.354, allocations: 0.7232 MB / 1.067 GB, free: 262.7 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02258/2.376, allocations: 3.38 MB / 1.07 GB, free: 260.6 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1702/2.546, allocations: 73.56 MB / 1.142 GB, free: 206.2 MB / 0.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05195/2.598, allocations: 17.24 MB / 1.158 GB, free: 188.9 MB / 0.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/2.602, allocations: 1.961 MB / 1.16 GB, free: 187 MB / 0.811 GB Notification: Performance of SimCode: time 2.104e-06/2.602, allocations: 0 / 1.16 GB, free: 187 MB / 0.811 GB Notification: Performance of Templates: time 20.63/23.23, allocations: 6.115 GB / 7.275 GB, free: 207.4 MB / 0.936 GB " [Timeout remaining time 277] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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: 46.71713484218344]