Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0014/0.0014, allocations: 106.4 kB / 16.92 MB, free: 5.777 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.001307/0.001307, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.273/1.273, allocations: 119.3 MB / 411 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 64.12 kB / 0.4909 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7537, allocations: 80.68 MB / 0.5697 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002703/0.7564, allocations: 1.417 MB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.7574, allocations: 0.5658 MB / 0.5717 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.7575, allocations: 7.938 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.7682, allocations: 13.68 MB / 0.585 GB, free: 34.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005743/0.7741, allocations: 13.72 MB / 0.5984 GB, free: 20.26 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.7746, allocations: 82.77 kB / 0.5985 GB, free: 20.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02297/0.7976, allocations: 34 MB / 0.6317 GB, free: 2.137 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.7977, allocations: 4 kB / 0.6317 GB, free: 2.133 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03011/0.8278, allocations: 16.88 MB / 0.6482 GB, free: 1.219 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0521/0.88, allocations: 32.26 MB / 0.6797 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01132/0.8914, allocations: 1.957 MB / 0.6816 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.9023, allocations: 2.035 MB / 0.6836 GB, free: 12.92 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.8692/1.772, allocations: 79.59 MB / 0.7613 GB, free: 75.91 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.08652/1.858, allocations: 44.95 MB / 0.8052 GB, free: 40.78 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.128/1.986, allocations: 96.76 MB / 0.8997 GB, free: 3.648 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.986, allocations: 0 / 0.8997 GB, free: 3.648 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.244e-06/1.986, allocations: 0 / 0.8997 GB, free: 3.648 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.007033/1.993, allocations: 0 / 0.8997 GB, free: 3.648 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 1.313/3.306, allocations: 153.9 MB / 1.05 GB, free: 159.8 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/3.306, allocations: 9.797 kB / 1.05 GB, free: 159.8 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04146/3.348, allocations: 17.59 MB / 1.067 GB, free: 152.3 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.021/4.368, allocations: 206 MB / 1.268 GB, free: 14.24 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/4.368, allocations: 4.375 kB / 1.268 GB, free: 14.24 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006421/4.375, allocations: 0.4926 MB / 1.269 GB, free: 13.75 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/4.405, allocations: 5.908 MB / 1.275 GB, free: 7.832 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/4.405, allocations: 0 / 1.275 GB, free: 7.832 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/4.41, allocations: 0.497 MB / 1.275 GB, free: 7.34 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/4.41, allocations: 0 / 1.275 GB, free: 7.34 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/4.426, allocations: 3.443 MB / 1.278 GB, free: 3.898 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1742/4.601, allocations: 54.93 MB / 1.332 GB, free: 12.86 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/4.614, allocations: 1.999 MB / 1.334 GB, free: 10.85 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/4.627, allocations: 1.981 MB / 1.336 GB, free: 8.863 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/4.627, allocations: 4.031 kB / 1.336 GB, free: 8.859 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02288/4.65, allocations: 4.982 MB / 1.341 GB, free: 3.859 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 5.76e-06/4.65, allocations: 0 / 1.341 GB, free: 3.859 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.1222/4.772, allocations: 32.86 MB / 1.373 GB, free: 2.754 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/4.772, allocations: 84.39 kB / 1.373 GB, free: 2.656 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.049/5.821, allocations: 198 MB / 1.566 GB, free: 155.5 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.005555/5.826, allocations: 0.5134 MB / 1.567 GB, free: 154.9 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.139/5.965, allocations: 97.76 MB / 1.662 GB, free: 57.15 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.005665/5.971, allocations: 0.5037 MB / 1.663 GB, free: 56.66 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01824/5.989, allocations: 3.439 MB / 1.666 GB, free: 53.21 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/5.99, allocations: 313.3 kB / 1.667 GB, free: 52.9 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01459/6.004, allocations: 1.969 MB / 1.668 GB, free: 50.93 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01471/6.019, allocations: 1.972 MB / 1.67 GB, free: 48.96 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02467/6.044, allocations: 4.006 MB / 1.674 GB, free: 44.95 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/6.044, allocations: 2.078 kB / 1.674 GB, free: 44.95 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.09821/6.142, allocations: 30.89 MB / 1.704 GB, free: 23.81 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/6.142, allocations: 33.45 kB / 1.705 GB, free: 23.78 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/6.142, allocations: 0 / 1.705 GB, free: 23.78 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/6.142, allocations: 11.77 kB / 1.705 GB, free: 23.77 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/6.142, allocations: 4 kB / 1.705 GB, free: 23.77 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/6.142, allocations: 0.875 kB / 1.705 GB, free: 23.77 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04685/6.189, allocations: 0.4922 MB / 1.705 GB, free: 23.27 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02109/6.21, allocations: 6.84 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.79/7, allocations: 38.23 MB / 1.749 GB, free: 174.7 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04191/7.042, allocations: 18.07 MB / 1.767 GB, free: 174.7 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07165/7.114, allocations: 20.44 MB / 1.787 GB, free: 172.8 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/7.114, allocations: 3.25 kB / 1.787 GB, free: 172.8 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/7.114, allocations: 0 / 1.787 GB, free: 172.8 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/7.114, allocations: 2.016 kB / 1.787 GB, free: 172.8 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2202/7.334, allocations: 59.84 MB / 1.845 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/7.334, allocations: 2.688 kB / 1.845 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/7.334, allocations: 4.078 kB / 1.845 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/7.334, allocations: 0 / 1.845 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008134/7.342, allocations: 1.468 MB / 1.847 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/7.342, allocations: 0 / 1.847 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/7.343, allocations: 7.375 kB / 1.847 GB, free: 163.6 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1251/7.468, allocations: 32.1 MB / 1.878 GB, free: 155.7 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0694/7.537, allocations: 15.23 MB / 1.893 GB, free: 140.3 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0523/7.589, allocations: 0.4937 MB / 1.893 GB, free: 139.8 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04697/7.637, allocations: 0.4922 MB / 1.894 GB, free: 139.3 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/7.637, allocations: 7.938 kB / 1.894 GB, free: 139.3 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02198/7.659, allocations: 6.84 MB / 1.9 GB, free: 133.4 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.4207/8.079, allocations: 137.9 MB / 2.035 GB, free: 24.15 MB / 0.874 GB Notification: Performance of sort global known variables: time 1.092e-06/8.08, allocations: 0 / 2.035 GB, free: 24.15 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.03741/8.117, 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.00525/8.122, allocations: 0.6183 MB / 2.04 GB, free: 18.62 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.03285/8.155, allocations: 4.53 MB / 2.045 GB, free: 14.12 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/8.155, allocations: 3.312 kB / 2.045 GB, free: 14.12 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.0179/8.173, allocations: 2.546 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.125/8.298, allocations: 13.49 MB / 2.061 GB, free: 5.91 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.071/9.369, 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.1482/9.517, allocations: 68.46 MB / 2.418 GB, free: 14.09 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.6823/10.2, allocations: 37.29 MB / 2.454 GB, free: 204 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03015/10.23, allocations: 7.822 MB / 2.462 GB, free: 204 MB / 0.874 GB Notification: Performance of SimCode: time 1.834e-06/10.23, allocations: 0 / 2.462 GB, free: 204 MB / 0.874 GB Notification: Performance of Templates: time 3.337/13.57, allocations: 0.6732 GB / 3.135 GB, free: 278.9 MB / 0.9365 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches