Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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.001845/0.001845, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002106/0.002106, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.524/1.524, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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 0.8953/0.8953, allocations: 88.07 MB / 349.1 MB, free: 14.24 MB / 330.7 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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.983e-05, allocations: 8.891 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.00197/0.001999, allocations: 1.428 MB / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.002843, allocations: 0.5571 MB / 452.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.002895, allocations: 3.938 kB / 452.8 MB, free: 31.76 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.003421, allocations: 0.8584 MB / 453.7 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.004088, allocations: 0.9234 MB / 454.6 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.00434, allocations: 80.05 kB / 454.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.005521, allocations: 2.184 MB / 456.9 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.005558, allocations: 9.469 kB / 456.9 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.006525, allocations: 1.224 MB / 458.1 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.007935, allocations: 2.278 MB / 460.4 MB, free: 30.39 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.008163, allocations: 129.5 kB / 460.5 MB, free: 30.39 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.008461, allocations: 200.8 kB / 460.7 MB, free: 30.37 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004059/0.01252, allocations: 5.24 MB / 465.9 MB, free: 28.74 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.01368, allocations: 1.206 MB / 467.1 MB, free: 28.05 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.018, allocations: 5.6 MB / 472.7 MB, free: 25.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01801, allocations: 0 / 472.7 MB, free: 25.91 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01801, allocations: 1.281 kB / 472.7 MB, free: 25.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001825/0.01819, allocations: 0 / 472.7 MB, free: 25.91 MB / 410.8 MB 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.01329/0.03148, allocations: 10.19 MB / 482.9 MB, free: 18.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.03152, allocations: 8.812 kB / 482.9 MB, free: 18.87 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.0335, allocations: 1.165 MB / 484.1 MB, free: 18.19 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/0.05607, allocations: 12.89 MB / 497 MB, free: 9.711 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.05609, allocations: 4.375 kB / 497 MB, free: 9.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.05619, allocations: 36.98 kB / 497 MB, free: 9.672 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.05681, allocations: 451.5 kB / 497.5 MB, free: 9.316 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.05682, allocations: 192 / 497.5 MB, free: 9.316 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.05689, allocations: 33.17 kB / 497.5 MB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.0569, allocations: 7.938 kB / 497.5 MB, free: 9.277 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.05721, allocations: 268.9 kB / 497.8 MB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.06264, allocations: 3.449 MB / 0.4895 GB, free: 6.176 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.06292, allocations: 188.3 kB / 0.4897 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.06314, allocations: 182.5 kB / 0.4898 GB, free: 5.789 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.06315, allocations: 4 kB / 0.4898 GB, free: 5.785 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.06355, allocations: 446.4 kB / 0.4903 GB, free: 5.324 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.06355, allocations: 0 / 0.4903 GB, free: 5.324 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.002721/0.06627, allocations: 2.346 MB / 0.4926 GB, free: 2.945 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.0663, allocations: 89.05 kB / 0.4926 GB, free: 2.84 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01942/0.08572, allocations: 12.46 MB / 0.5048 GB, free: 6.48 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.08592, allocations: 61.7 kB / 0.5049 GB, free: 6.414 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006415/0.09234, allocations: 5.2 MB / 0.5099 GB, free: 1.211 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.09261, allocations: 55.83 kB / 0.51 GB, free: 1.156 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.09299, allocations: 241.7 kB / 0.5102 GB, free: 0.9141 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.09318, allocations: 306 kB / 0.5105 GB, free: 0.6094 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.09348, allocations: 181.7 kB / 0.5107 GB, free: 436 kB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.09377, allocations: 177.6 kB / 0.5109 GB, free: 252 kB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.09442, allocations: 352.2 kB / 0.5112 GB, free: 15.89 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.09442, allocations: 0 / 0.5112 GB, free: 15.89 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00408/0.0985, allocations: 2.184 MB / 0.5133 GB, free: 13.68 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.09856, allocations: 38.47 kB / 0.5134 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.09857, allocations: 0 / 0.5134 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.09859, allocations: 0 / 0.5134 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.09867, allocations: 7.938 kB / 0.5134 GB, free: 13.63 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.09868, allocations: 0 / 0.5134 GB, free: 13.63 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.09962, allocations: 36 kB / 0.5134 GB, free: 13.59 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004637/0.1001, allocations: 452 kB / 0.5138 GB, free: 13.15 MB / 442.8 MB 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.004904/0.105, allocations: 2.521 MB / 0.5163 GB, free: 10.61 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/0.1066, allocations: 1.238 MB / 0.5175 GB, free: 9.367 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.109, allocations: 1.284 MB / 0.5188 GB, free: 8.074 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.109, allocations: 0 / 0.5188 GB, free: 8.074 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.109, allocations: 7.938 kB / 0.5188 GB, free: 8.066 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.109, allocations: 0 / 0.5188 GB, free: 8.066 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/0.1142, allocations: 3.761 MB / 0.5224 GB, free: 4.277 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1142, allocations: 0 / 0.5224 GB, free: 4.277 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.1143, allocations: 4 kB / 0.5225 GB, free: 4.273 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1143, allocations: 4 kB / 0.5225 GB, free: 4.27 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.1145, allocations: 96 kB / 0.5225 GB, free: 4.176 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1145, allocations: 3.938 kB / 0.5226 GB, free: 4.172 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1145, allocations: 0 / 0.5226 GB, free: 4.172 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.1178, allocations: 2.299 MB / 0.5248 GB, free: 1.836 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.1195, allocations: 1.027 MB / 0.5258 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005429/0.1201, allocations: 39.98 kB / 0.5258 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.1207, allocations: 32 kB / 0.5259 GB, free: 0.7305 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1208, allocations: 7.938 kB / 0.5259 GB, free: 0.7227 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004448/0.1212, allocations: 440 kB / 0.5263 GB, free: 300 kB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01791/0.1391, allocations: 8.571 MB / 0.5347 GB, free: 7.801 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1391, allocations: 0 / 0.5347 GB, free: 7.801 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002968/0.1421, allocations: 344 kB / 0.535 GB, free: 7.465 MB / 458.8 MB 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.0005808/0.1427, allocations: 155.2 kB / 0.5351 GB, free: 7.305 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1439, allocations: 458.7 kB / 0.5356 GB, free: 6.832 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.1439, allocations: 4 kB / 0.5356 GB, free: 6.828 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.1444, allocations: 269.1 kB / 0.5358 GB, free: 6.547 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/0.1495, allocations: 0.92 MB / 0.5367 GB, free: 5.625 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/0.1854, allocations: 17.64 MB / 0.554 GB, free: 3.855 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00659/0.192, allocations: 4.347 MB / 0.5582 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005839/0.1979, allocations: 2.379 MB / 0.5605 GB, free: 13.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/0.1986, allocations: 0.5005 MB / 0.561 GB, free: 12.59 MB / 490.8 MB Notification: Performance of SimCode: time 1.864e-06/0.1986, allocations: 0 / 0.561 GB, free: 12.59 MB / 490.8 MB Notification: Performance of Templates: time 0.1123/0.3109, allocations: 40.68 MB / 0.6007 GB, free: 3.82 MB / 0.5105 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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.895000718999654]