Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.00107, allocations: 107.5 kB / 16.92 MB, free: 5.699 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.001245/0.001244, allocations: 192.7 kB / 17.85 MB, free: 5.195 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.27/1.27, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9953/0.9953, allocations: 119.3 MB / 411 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 63.91 kB / 0.4909 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5129, allocations: 80.69 MB / 0.5697 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002302/0.5153, allocations: 1.407 MB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.5162, allocations: 0.5709 MB / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.5163, allocations: 3.938 kB / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.007798/0.5241, allocations: 13.68 MB / 0.585 GB, free: 34.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.5291, allocations: 13.72 MB / 0.5984 GB, free: 20.27 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.5295, allocations: 79.78 kB / 0.5985 GB, free: 20.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01799/0.5475, allocations: 34 MB / 0.6317 GB, free: 2.141 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.5477, allocations: 4 kB / 0.6317 GB, free: 2.137 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01873/0.5664, allocations: 16.89 MB / 0.6482 GB, free: 1.215 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04195/0.6084, allocations: 32.25 MB / 0.6797 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.008876/0.6173, allocations: 1.957 MB / 0.6816 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/0.6256, allocations: 2.031 MB / 0.6836 GB, free: 12.93 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.647/1.273, allocations: 79.6 MB / 0.7613 GB, free: 75.92 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.05601/1.329, allocations: 44.95 MB / 0.8052 GB, free: 40.8 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.09/1.419, allocations: 96.76 MB / 0.8997 GB, free: 3.676 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.419, allocations: 2.625 kB / 0.8997 GB, free: 3.676 MB / 0.6079 GB Notification: Performance of FrontEnd: time 1.724e-06/1.419, allocations: 2.531 kB / 0.8997 GB, free: 3.676 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.005595/1.424, allocations: 0.6875 kB / 0.8997 GB, free: 3.676 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.9865/2.411, allocations: 153.9 MB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/2.411, allocations: 14.28 kB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03277/2.444, allocations: 17.58 MB / 1.067 GB, free: 152.3 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8299/3.274, allocations: 206 MB / 1.268 GB, free: 14.25 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/3.274, allocations: 4.375 kB / 1.268 GB, free: 14.25 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004913/3.279, allocations: 0.4886 MB / 1.269 GB, free: 13.76 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/3.299, allocations: 5.908 MB / 1.275 GB, free: 7.844 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/3.299, allocations: 0 / 1.275 GB, free: 7.844 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00322/3.302, allocations: 0.496 MB / 1.275 GB, free: 7.348 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/3.302, allocations: 0 / 1.275 GB, free: 7.348 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/3.313, allocations: 3.44 MB / 1.278 GB, free: 3.914 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/3.435, allocations: 54.94 MB / 1.332 GB, free: 12.87 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/3.446, allocations: 1.995 MB / 1.334 GB, free: 10.86 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/3.456, allocations: 1.981 MB / 1.336 GB, free: 8.879 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/3.456, allocations: 0 / 1.336 GB, free: 8.879 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0177/3.474, allocations: 4.984 MB / 1.341 GB, free: 3.871 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 4.859e-06/3.474, allocations: 0 / 1.341 GB, free: 3.871 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.1063/3.58, allocations: 32.86 MB / 1.373 GB, free: 2.762 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/3.581, allocations: 77.11 kB / 1.373 GB, free: 2.668 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.828/4.409, allocations: 198 MB / 1.566 GB, free: 155.5 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.004365/4.413, allocations: 0.5173 MB / 1.567 GB, free: 155 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1216/4.535, allocations: 97.76 MB / 1.662 GB, free: 57.16 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.004873/4.54, allocations: 0.5094 MB / 1.663 GB, free: 56.66 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01501/4.555, allocations: 3.439 MB / 1.666 GB, free: 53.21 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/4.555, allocations: 306 kB / 1.667 GB, free: 52.91 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01062/4.565, allocations: 1.983 MB / 1.668 GB, free: 50.94 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009993/4.575, allocations: 1.965 MB / 1.67 GB, free: 48.97 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02127/4.597, allocations: 4.008 MB / 1.674 GB, free: 44.95 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/4.597, allocations: 0 / 1.674 GB, free: 44.95 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0759/4.673, allocations: 30.89 MB / 1.704 GB, free: 23.82 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/4.673, allocations: 41.44 kB / 1.705 GB, free: 23.78 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/4.673, allocations: 0 / 1.705 GB, free: 23.78 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/4.673, allocations: 0 / 1.705 GB, free: 23.78 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/4.673, allocations: 11.38 kB / 1.705 GB, free: 23.77 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/4.673, allocations: 3.812 kB / 1.705 GB, free: 23.77 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03024/4.703, allocations: 0.4923 MB / 1.705 GB, free: 23.28 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01338/4.716, allocations: 6.848 MB / 1.712 GB, free: 16.43 MB / 0.874 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.4739/5.19, allocations: 38.23 MB / 1.749 GB, free: 174.8 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03083/5.221, allocations: 18.08 MB / 1.767 GB, free: 174.8 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04704/5.268, allocations: 20.44 MB / 1.787 GB, free: 172.9 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/5.268, allocations: 4.359 kB / 1.787 GB, free: 172.9 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/5.268, allocations: 0 / 1.787 GB, free: 172.9 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/5.268, allocations: 3.562 kB / 1.787 GB, free: 172.9 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.138/5.406, allocations: 59.83 MB / 1.845 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/5.406, allocations: 0 / 1.845 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/5.407, allocations: 4 kB / 1.845 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/5.407, allocations: 2.078 kB / 1.845 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005268/5.412, allocations: 1.468 MB / 1.847 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/5.412, allocations: 0 / 1.847 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.412, allocations: 4.5 kB / 1.847 GB, free: 163.7 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07786/5.49, allocations: 32.1 MB / 1.878 GB, free: 155.8 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04526/5.535, allocations: 15.23 MB / 1.893 GB, free: 140.3 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02891/5.564, allocations: 500 kB / 1.893 GB, free: 139.8 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02763/5.592, allocations: 0.4928 MB / 1.894 GB, free: 139.3 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/5.592, allocations: 7.344 kB / 1.894 GB, free: 139.3 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01304/5.605, allocations: 6.842 MB / 1.9 GB, free: 133.4 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.3068/5.912, allocations: 137.9 MB / 2.035 GB, free: 24.15 MB / 0.874 GB Notification: Performance of sort global known variables: time 7.11e-07/5.912, allocations: 0 / 2.035 GB, free: 24.15 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.02546/5.937, allocations: 4.912 MB / 2.04 GB, free: 19.24 MB / 0.874 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.004289/5.941, allocations: 0.6173 MB / 2.04 GB, free: 18.63 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.0296/5.971, allocations: 4.54 MB / 2.045 GB, free: 14.12 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/5.971, allocations: 0 / 2.045 GB, free: 14.12 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/5.987, allocations: 2.549 MB / 2.047 GB, free: 11.59 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09703/6.084, allocations: 13.48 MB / 2.061 GB, free: 5.914 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8429/6.927, allocations: 297.6 MB / 2.351 GB, free: 82.7 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1254/7.052, allocations: 68.46 MB / 2.418 GB, free: 14.09 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.5828/7.635, allocations: 37.29 MB / 2.454 GB, free: 204.1 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02669/7.662, allocations: 7.825 MB / 2.462 GB, free: 204.1 MB / 0.874 GB Notification: Performance of SimCode: time 1.292e-06/7.662, allocations: 0 / 2.462 GB, free: 204.1 MB / 0.874 GB Notification: Performance of Templates: time 2.535/10.2, allocations: 0.6732 GB / 3.135 GB, free: 278.9 MB / 0.9365 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches