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.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 115.3 kB / 17.06 MB, free: 5.992 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.001297/0.001297, allocations: 198.8 kB / 18 MB, free: 5.07 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9803/0.9803, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.78 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002989/0.1582, allocations: 1.402 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1593, allocations: 0.5691 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.1593, allocations: 0 / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.16, allocations: 0.8615 MB / 0.6525 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007693/0.1608, allocations: 0.9082 MB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1611, allocations: 87.42 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.163, allocations: 2.2 MB / 0.6556 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.1631, allocations: 0 / 0.6556 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1643, allocations: 1.088 MB / 0.6567 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.1661, allocations: 2.036 MB / 0.6586 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.1664, allocations: 128 kB / 0.6588 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1668, allocations: 203.9 kB / 0.659 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004822/0.1716, allocations: 4.987 MB / 0.6638 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002261/0.1739, allocations: 2.831 MB / 0.6666 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.1785, allocations: 6.239 MB / 0.6727 GB, free: 5.438 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1785, allocations: 0 / 0.6727 GB, free: 5.438 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.066e-06/0.1785, allocations: 0 / 0.6727 GB, free: 5.438 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001273/0.1787, allocations: 0 / 0.6727 GB, free: 5.438 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0101/0.1888, allocations: 9.97 MB / 0.6824 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1888, allocations: 8.031 kB / 0.6824 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1901, allocations: 1.111 MB / 0.6835 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01846/0.2086, allocations: 12.95 MB / 0.6962 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2086, allocations: 4.375 kB / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.2087, allocations: 36.38 kB / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2093, allocations: 429.6 kB / 0.6966 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2093, allocations: 0 / 0.6966 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.2094, allocations: 32 kB / 0.6966 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2094, allocations: 0 / 0.6966 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2097, allocations: 236 kB / 0.6969 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.2133, allocations: 3.576 MB / 0.7004 GB, free: 8.77 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2135, allocations: 174.5 kB / 0.7005 GB, free: 8.59 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.2137, allocations: 148.9 kB / 0.7007 GB, free: 8.441 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.2138, allocations: 4 kB / 0.7007 GB, free: 8.438 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.2142, allocations: 416.7 kB / 0.7011 GB, free: 8.012 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2142, allocations: 0 / 0.7011 GB, free: 8.012 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002432/0.2166, allocations: 2.192 MB / 0.7032 GB, free: 5.793 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2167, allocations: 81.11 kB / 0.7033 GB, free: 5.695 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/0.2298, allocations: 12.47 MB / 0.7155 GB, free: 9.324 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.23, allocations: 57.7 kB / 0.7155 GB, free: 9.262 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004599/0.2346, allocations: 5.208 MB / 0.7206 GB, free: 4.051 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2348, allocations: 47.66 kB / 0.7207 GB, free: 4.004 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2351, allocations: 245.7 kB / 0.7209 GB, free: 3.758 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2352, allocations: 310 kB / 0.7212 GB, free: 3.449 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2355, allocations: 140 kB / 0.7213 GB, free: 3.312 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2357, allocations: 147.9 kB / 0.7215 GB, free: 3.168 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.2362, allocations: 356.2 kB / 0.7218 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2362, allocations: 0 / 0.7218 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002834/0.239, allocations: 2.051 MB / 0.7238 GB, free: 0.7266 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.2391, allocations: 37.69 kB / 0.7238 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2391, allocations: 0 / 0.7238 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2391, allocations: 0 / 0.7238 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.2392, allocations: 4 kB / 0.7238 GB, free: 0.6797 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2392, allocations: 3.938 kB / 0.7238 GB, free: 0.6758 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2403, allocations: 36 kB / 0.7239 GB, free: 0.6406 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.2407, allocations: 440 kB / 0.7243 GB, free: 216 kB / 0.5608 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.003328/0.244, allocations: 2.533 MB / 0.7268 GB, free: 13.66 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/0.2454, allocations: 1.141 MB / 0.7279 GB, free: 12.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.2473, allocations: 1.284 MB / 0.7291 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2473, allocations: 4 kB / 0.7291 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2473, allocations: 0 / 0.7291 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2473, allocations: 0 / 0.7291 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.2525, allocations: 3.88 MB / 0.7329 GB, free: 7.285 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2525, allocations: 0 / 0.7329 GB, free: 7.285 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.2525, allocations: 7.938 kB / 0.7329 GB, free: 7.277 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2526, allocations: 4 kB / 0.7329 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.2527, allocations: 104 kB / 0.733 GB, free: 7.172 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2527, allocations: 4 kB / 0.733 GB, free: 7.168 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2528, allocations: 0 / 0.733 GB, free: 7.168 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.2553, allocations: 2.166 MB / 0.7352 GB, free: 4.969 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.2569, allocations: 1.037 MB / 0.7362 GB, free: 3.898 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007794/0.2577, allocations: 39.94 kB / 0.7362 GB, free: 3.859 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.2586, allocations: 32.09 kB / 0.7362 GB, free: 3.828 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2586, allocations: 11.92 kB / 0.7363 GB, free: 3.816 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/0.259, allocations: 448 kB / 0.7367 GB, free: 3.379 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01229/0.2713, allocations: 8.567 MB / 0.7451 GB, free: 10.89 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2713, allocations: 0 / 0.7451 GB, free: 10.89 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001412/0.2727, allocations: 344 kB / 0.7454 GB, free: 10.55 MB / 0.592 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.0003469/0.2731, allocations: 159.7 kB / 0.7455 GB, free: 10.39 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2738, allocations: 411.4 kB / 0.7459 GB, free: 9.977 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2738, allocations: 0 / 0.7459 GB, free: 9.977 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.2741, allocations: 275.3 kB / 0.7462 GB, free: 9.695 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.277, allocations: 0.8607 MB / 0.747 GB, free: 8.836 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.2987, allocations: 17 MB / 0.7636 GB, free: 7.805 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005064/0.3038, allocations: 4.792 MB / 0.7683 GB, free: 2.984 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.004954/0.3088, allocations: 2.375 MB / 0.7706 GB, free: 0.5977 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.3094, allocations: 0.4995 MB / 0.7711 GB, free: 100 kB / 0.6077 GB Notification: Performance of SimCode: time 1.162e-06/0.3094, allocations: 0 / 0.7711 GB, free: 100 kB / 0.6077 GB Notification: Performance of Templates: time 0.7053/1.015, allocations: 41.12 MB / 0.8113 GB, free: 86.42 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (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) 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) Reference file matches