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.001175/0.001175, allocations: 98.02 kB / 16.5 MB, free: 6.641 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.001167/0.001167, allocations: 197.6 kB / 17.43 MB, free: 6.062 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.219/1.219, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8394/0.8394, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 59.91 kB / 0.4902 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4236, allocations: 80.7 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002008/0.4256, allocations: 1.467 MB / 0.5705 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.4264, allocations: 0.5886 MB / 0.5711 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.4264, allocations: 1.625 kB / 0.5711 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006907/0.4333, allocations: 13.68 MB / 0.5844 GB, free: 34.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.4381, allocations: 13.72 MB / 0.5978 GB, free: 20.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.4384, allocations: 62.62 kB / 0.5979 GB, free: 20.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01712/0.4555, allocations: 33.99 MB / 0.6311 GB, free: 2.305 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.4556, allocations: 3.984 kB / 0.6311 GB, free: 2.301 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01703/0.4727, allocations: 16.88 MB / 0.6476 GB, free: 1.387 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02799/0.5007, allocations: 30.3 MB / 0.6771 GB, free: 3.039 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.005866/0.5066, allocations: 1.957 MB / 0.6791 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.5111, allocations: 2.027 MB / 0.681 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.5476/1.059, allocations: 79.6 MB / 0.7588 GB, free: 77.18 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.05885/1.118, allocations: 44.94 MB / 0.8026 GB, free: 42.06 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.08128/1.199, allocations: 94.82 MB / 0.8952 GB, free: 6.195 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.199, allocations: 0 / 0.8952 GB, free: 6.195 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.525e-06/1.199, allocations: 0 / 0.8952 GB, free: 6.195 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.005542/1.205, allocations: 3.219 kB / 0.8952 GB, free: 6.195 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.8531/2.058, allocations: 153.9 MB / 1.046 GB, free: 158 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/2.058, allocations: 9.344 kB / 1.046 GB, free: 158 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0245/2.082, allocations: 17.58 MB / 1.063 GB, free: 152.5 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.725/2.807, allocations: 206 MB / 1.264 GB, free: 14.39 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/2.807, allocations: 4.312 kB / 1.264 GB, free: 14.39 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/2.809, allocations: 0.4994 MB / 1.264 GB, free: 13.89 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/2.815, allocations: 5.909 MB / 1.27 GB, free: 7.977 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/2.815, allocations: 3.969 kB / 1.27 GB, free: 7.977 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009208/2.816, allocations: 0.4921 MB / 1.271 GB, free: 7.484 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/2.816, allocations: 0 / 1.271 GB, free: 7.484 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/2.82, allocations: 3.437 MB / 1.274 GB, free: 4.047 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/2.924, allocations: 54.94 MB / 1.328 GB, free: 13 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006477/2.931, allocations: 1.993 MB / 1.33 GB, free: 11 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/2.934, allocations: 1.985 MB / 1.332 GB, free: 9.012 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/2.934, allocations: 4 kB / 1.332 GB, free: 9.008 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00485/2.939, allocations: 4.974 MB / 1.336 GB, free: 4.012 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/2.939, allocations: 3.938 kB / 1.336 GB, free: 4.008 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.05082/2.989, allocations: 32.86 MB / 1.368 GB, free: 2.902 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/2.99, allocations: 81.11 kB / 1.369 GB, free: 2.805 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6326/3.622, allocations: 198 MB / 1.562 GB, free: 176.5 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.003049/3.625, allocations: 0.5134 MB / 1.562 GB, free: 176 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.08616/3.711, allocations: 97.77 MB / 1.658 GB, free: 78.2 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.003091/3.715, allocations: 0.5055 MB / 1.658 GB, free: 77.71 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002995/3.718, allocations: 3.442 MB / 1.662 GB, free: 74.26 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 3.577e-05/3.718, allocations: 310 kB / 1.662 GB, free: 73.95 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/3.72, allocations: 1.973 MB / 1.664 GB, free: 71.98 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/3.722, allocations: 1.967 MB / 1.666 GB, free: 70.02 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/3.727, allocations: 4.011 MB / 1.67 GB, free: 65.99 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/3.727, allocations: 0 / 1.67 GB, free: 65.99 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.03572/3.763, allocations: 30.88 MB / 1.7 GB, free: 44.87 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/3.763, allocations: 46.19 kB / 1.7 GB, free: 44.82 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/3.763, allocations: 0 / 1.7 GB, free: 44.82 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/3.763, allocations: 1.859 kB / 1.7 GB, free: 44.82 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/3.763, allocations: 4 kB / 1.7 GB, free: 44.82 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/3.763, allocations: 0 / 1.7 GB, free: 44.82 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/3.784, allocations: 0.494 MB / 1.701 GB, free: 44.33 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01047/3.794, allocations: 6.844 MB / 1.707 GB, free: 37.48 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.3938/4.188, allocations: 38.23 MB / 1.745 GB, free: 185 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0271/4.215, allocations: 18.07 MB / 1.762 GB, free: 185 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04748/4.263, allocations: 20.44 MB / 1.782 GB, free: 183.1 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/4.263, allocations: 2.438 kB / 1.782 GB, free: 183.1 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/4.263, allocations: 0 / 1.782 GB, free: 183.1 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/4.263, allocations: 2.625 kB / 1.782 GB, free: 183.1 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1099/4.373, allocations: 59.83 MB / 1.841 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/4.373, allocations: 0 / 1.841 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/4.373, allocations: 5.453 kB / 1.841 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/4.373, allocations: 0 / 1.841 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004687/4.377, allocations: 1.477 MB / 1.842 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/4.377, allocations: 0 / 1.842 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/4.377, allocations: 3.938 kB / 1.842 GB, free: 179.4 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05128/4.429, allocations: 32.1 MB / 1.873 GB, free: 178.1 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04053/4.469, allocations: 15.23 MB / 1.888 GB, free: 168 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02215/4.491, allocations: 0.4908 MB / 1.889 GB, free: 168 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02386/4.515, allocations: 0.4928 MB / 1.889 GB, free: 168 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/4.515, allocations: 5.953 kB / 1.889 GB, free: 168 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01177/4.527, allocations: 6.845 MB / 1.896 GB, free: 168 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.2729/4.8, allocations: 137.9 MB / 2.031 GB, free: 63.43 MB / 0.874 GB Notification: Performance of sort global known variables: time 4.91e-07/4.8, allocations: 0 / 2.031 GB, free: 63.43 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.01994/4.82, allocations: 4.913 MB / 2.035 GB, free: 58.52 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.003446/4.824, allocations: 0.6116 MB / 2.036 GB, free: 57.91 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.006904/4.83, allocations: 4.535 MB / 2.04 GB, free: 53.41 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/4.83, allocations: 3.5 kB / 2.04 GB, free: 53.41 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.003415/4.834, allocations: 2.553 MB / 2.043 GB, free: 50.87 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06847/4.902, allocations: 13.48 MB / 2.056 GB, free: 45.2 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7364/5.639, allocations: 328.8 MB / 2.377 GB, free: 68.61 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5377/6.177, allocations: 68.45 MB / 2.444 GB, free: 166.6 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.1214/6.298, allocations: 37.43 MB / 2.481 GB, free: 159.1 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02527/6.323, allocations: 7.825 MB / 2.488 GB, free: 159.1 MB / 0.874 GB Notification: Performance of SimCode: time 9.42e-07/6.323, allocations: 0 / 2.488 GB, free: 159.1 MB / 0.874 GB Notification: Performance of Templates: time 2.427/8.75, allocations: 0.6626 GB / 3.151 GB, free: 246.3 MB / 0.9522 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches