Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001865/0.001865, allocations: 200 kB / 18.01 MB, free: 5.055 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.496/1.496, 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 1.105/1.105, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.16 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2083, allocations: 80.71 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002685/0.2111, allocations: 1.398 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2122, allocations: 0.5652 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.2122, allocations: 8 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.217, allocations: 6.845 MB / 0.6583 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.222, allocations: 6.884 MB / 0.665 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.2225, allocations: 83.78 kB / 0.6651 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01349/0.236, allocations: 17.04 MB / 0.6818 GB, free: 12.2 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.2361, allocations: 4 kB / 0.6818 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.2498, allocations: 8.458 MB / 0.69 GB, free: 3.719 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02277/0.2726, allocations: 16.15 MB / 0.7058 GB, free: 3.547 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.00484/0.2775, allocations: 0.9805 MB / 0.7068 GB, free: 2.566 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.2826, allocations: 1.051 MB / 0.7078 GB, free: 1.516 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.04528/0.3279, allocations: 39.8 MB / 0.7466 GB, free: 9.609 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.04247/0.3704, allocations: 22.49 MB / 0.7686 GB, free: 2.895 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.9516/1.322, allocations: 49.4 MB / 0.8168 GB, free: 50.39 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.322, allocations: 3.781 kB / 0.8168 GB, free: 50.39 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.687e-06/1.322, allocations: 2.625 kB / 0.8169 GB, free: 50.39 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.004041/1.326, allocations: 0 / 0.8169 GB, free: 50.39 MB / 0.6079 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.1846/1.511, allocations: 77.13 MB / 0.8922 GB, free: 3.406 MB / 0.6235 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.511, allocations: 8.031 kB / 0.8922 GB, free: 3.398 MB / 0.6235 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02198/1.533, allocations: 8.798 MB / 0.9008 GB, free: 10.48 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3934/1.926, allocations: 103.1 MB / 1.001 GB, free: 2.805 MB / 0.7329 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.926, allocations: 384 / 1.001 GB, free: 2.805 MB / 0.7329 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/1.929, allocations: 252.4 kB / 1.002 GB, free: 2.559 MB / 0.7329 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006636/1.936, allocations: 2.972 MB / 1.005 GB, free: 15.57 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.936, allocations: 7.469 kB / 1.005 GB, free: 15.57 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00058/1.936, allocations: 255.8 kB / 1.005 GB, free: 15.32 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.936, allocations: 0.875 kB / 1.005 GB, free: 15.32 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/1.939, allocations: 1.73 MB / 1.006 GB, free: 13.6 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08747/2.026, allocations: 27.55 MB / 1.033 GB, free: 1.977 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/2.033, allocations: 1.01 MB / 1.034 GB, free: 0.957 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/2.039, allocations: 1.005 MB / 1.035 GB, free: 15.95 MB / 0.7798 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/2.039, allocations: 6.625 kB / 1.035 GB, free: 15.94 MB / 0.7798 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006993/2.046, allocations: 2.542 MB / 1.038 GB, free: 13.39 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 2.916e-06/2.046, allocations: 0 / 1.038 GB, free: 13.39 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.02965/2.075, allocations: 16.49 MB / 1.054 GB, free: 12.77 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/2.075, allocations: 89.78 kB / 1.054 GB, free: 12.66 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7468/2.822, allocations: 99.06 MB / 1.151 GB, free: 207.3 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.003568/2.826, allocations: 275.7 kB / 1.151 GB, free: 207.3 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.07229/2.898, allocations: 46.98 MB / 1.197 GB, free: 162.6 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002569/2.901, allocations: 258.9 kB / 1.197 GB, free: 162.4 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007087/2.908, allocations: 1.732 MB / 1.199 GB, free: 160.6 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/2.908, allocations: 314 kB / 1.199 GB, free: 160.3 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/2.914, allocations: 0.9958 MB / 1.2 GB, free: 159.3 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/2.917, allocations: 0.9922 MB / 1.201 GB, free: 158.3 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/2.92, allocations: 2.053 MB / 1.203 GB, free: 156.3 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/2.92, allocations: 3.531 kB / 1.203 GB, free: 156.3 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02514/2.945, allocations: 15.51 MB / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/2.945, allocations: 43.94 kB / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/2.945, allocations: 3.828 kB / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/2.945, allocations: 0 / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/2.945, allocations: 4.812 kB / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/2.945, allocations: 0 / 1.218 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.961, allocations: 259.7 kB / 1.219 GB, free: 145.3 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00812/2.969, allocations: 3.418 MB / 1.222 GB, free: 141.9 MB / 0.811 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.03902/3.008, allocations: 19.2 MB / 1.241 GB, free: 122.7 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01484/3.023, allocations: 9.041 MB / 1.249 GB, free: 118.5 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/3.053, allocations: 10.22 MB / 1.259 GB, free: 108.3 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/3.053, allocations: 4 kB / 1.259 GB, free: 108.3 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/3.053, allocations: 5 kB / 1.259 GB, free: 108.3 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/3.053, allocations: 0 / 1.259 GB, free: 108.3 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09517/3.148, allocations: 30 MB / 1.289 GB, free: 78.24 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/3.148, allocations: 3.984 kB / 1.289 GB, free: 78.23 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/3.148, allocations: 7.781 kB / 1.289 GB, free: 78.23 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/3.148, allocations: 0 / 1.289 GB, free: 78.23 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003467/3.152, allocations: 0.7382 MB / 1.289 GB, free: 77.49 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/3.152, allocations: 0 / 1.289 GB, free: 77.49 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.152, allocations: 0 / 1.289 GB, free: 77.49 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04924/3.201, allocations: 16.13 MB / 1.305 GB, free: 61.22 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03089/3.232, allocations: 7.661 MB / 1.313 GB, free: 53.43 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01842/3.251, allocations: 255.9 kB / 1.313 GB, free: 53.18 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02641/3.277, allocations: 255.7 kB / 1.313 GB, free: 52.93 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/3.277, allocations: 11.98 kB / 1.313 GB, free: 52.92 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01094/3.288, allocations: 3.418 MB / 1.317 GB, free: 49.5 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1842/3.472, allocations: 68.98 MB / 1.384 GB, free: 13.17 MB / 0.8423 GB Notification: Performance of sort global known variables: time 1.432e-06/3.472, allocations: 0 / 1.384 GB, free: 13.17 MB / 0.8423 GB Notification: Performance of remove unused functions: time 0.01806/3.491, allocations: 2.476 MB / 1.386 GB, free: 10.7 MB / 0.8423 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.002521/3.493, allocations: 375.3 kB / 1.387 GB, free: 10.33 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.005636/3.499, allocations: 2.337 MB / 1.389 GB, free: 7.984 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/3.499, allocations: 0 / 1.389 GB, free: 7.984 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/3.501, allocations: 1.324 MB / 1.39 GB, free: 6.648 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05933/3.56, allocations: 6.75 MB / 1.397 GB, free: 15.89 MB / 0.8579 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7764/4.337, allocations: 144 MB / 1.537 GB, free: 197.6 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07062/4.408, allocations: 34.38 MB / 1.571 GB, free: 163.1 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.05762/4.465, allocations: 18.72 MB / 1.589 GB, free: 144.4 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008563/4.474, allocations: 3.917 MB / 1.593 GB, free: 140.5 MB / 0.8579 GB Notification: Performance of SimCode: time 3.106e-06/4.474, allocations: 1.875 kB / 1.593 GB, free: 140.5 MB / 0.8579 GB Notification: Performance of Templates: time 1.385/5.859, allocations: 351.7 MB / 1.937 GB, free: 128.8 MB / 0.8735 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches