Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.001349/0.001349, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.439/1.439, allocations: 223.2 MB / 241.1 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.161/1.161, allocations: 120.5 MB / 412.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.000421, allocations: 12 kB / 0.4942 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6551/0.6555, allocations: 82.83 MB / 0.5751 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001484/0.6571, allocations: 1.117 MB / 0.5762 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.6579, allocations: 0.5195 MB / 0.5767 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.658, allocations: 1.188 kB / 0.5767 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.6609, allocations: 3.792 MB / 0.5804 GB, free: 38.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.6641, allocations: 3.837 MB / 0.5841 GB, free: 36.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.6645, allocations: 55.88 kB / 0.5842 GB, free: 36.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.67, allocations: 5.896 MB / 0.5899 GB, free: 31.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.6701, allocations: 7.969 kB / 0.5899 GB, free: 31.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.6771, allocations: 4.428 MB / 0.5943 GB, free: 26.77 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009875/0.687, allocations: 8.142 MB / 0.6022 GB, free: 18.61 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.6891, allocations: 500 kB / 0.6027 GB, free: 18.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.6902, allocations: 0.5546 MB / 0.6032 GB, free: 17.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01638/0.7066, allocations: 18.56 MB / 0.6214 GB, free: 14.97 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.007519/0.7142, allocations: 3.935 MB / 0.6252 GB, free: 11 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02362/0.7379, allocations: 18.01 MB / 0.6428 GB, free: 8.934 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7379, allocations: 0 / 0.6428 GB, free: 8.934 MB / 494.3 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7379, allocations: 0 / 0.6428 GB, free: 8.934 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.001389/0.7393, allocations: 0 / 0.6428 GB, free: 8.934 MB / 494.3 MB 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.0604/0.7997, allocations: 34.59 MB / 0.6766 GB, free: 5.992 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.7998, allocations: 8.031 kB / 0.6766 GB, free: 5.984 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.8103, allocations: 4.406 MB / 0.6809 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1613/0.9717, allocations: 49.13 MB / 0.7289 GB, free: 104 kB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.9718, allocations: 0 / 0.7289 GB, free: 104 kB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.9721, allocations: 132 kB / 0.729 GB, free: 15.97 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.974, allocations: 1.512 MB / 0.7305 GB, free: 14.45 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.974, allocations: 0 / 0.7305 GB, free: 14.45 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.9743, allocations: 127.9 kB / 0.7306 GB, free: 14.33 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.9743, allocations: 3.953 kB / 0.7306 GB, free: 14.32 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.9755, allocations: 0.8711 MB / 0.7314 GB, free: 13.45 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/1.007, allocations: 13.85 MB / 0.745 GB, free: 15.54 MB / 0.5921 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.009, allocations: 0.5259 MB / 0.7455 GB, free: 15 MB / 0.5921 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/1.009, allocations: 11.94 kB / 0.7455 GB, free: 14.99 MB / 0.5921 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/1.01, allocations: 1.312 MB / 0.7468 GB, free: 13.66 MB / 0.5921 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/1.01, allocations: 0 / 0.7468 GB, free: 13.66 MB / 0.5921 GB Notification: Performance of matching and sorting (n=8): time 0.01363/1.024, allocations: 8.399 MB / 0.755 GB, free: 5.172 MB / 0.5921 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/1.024, allocations: 81.06 kB / 0.755 GB, free: 5.074 MB / 0.5921 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9059/1.93, allocations: 49.46 MB / 0.8033 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/1.931, allocations: 149.4 kB / 0.8035 GB, free: 121.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02876/1.96, allocations: 22.55 MB / 0.8255 GB, free: 98.91 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.961, allocations: 139.9 kB / 0.8256 GB, free: 98.78 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.962, allocations: 128 kB / 0.8258 GB, free: 98.66 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/1.962, allocations: 310 kB / 0.8261 GB, free: 98.35 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/1.963, allocations: 0.5039 MB / 0.8266 GB, free: 97.84 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/1.963, allocations: 0.5039 MB / 0.8271 GB, free: 97.34 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/1.964, allocations: 0.5428 MB / 0.8276 GB, free: 96.8 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.964, allocations: 0 / 0.8276 GB, free: 96.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01036/1.974, allocations: 7.809 MB / 0.8352 GB, free: 91.42 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.541e-05/1.974, allocations: 37.7 kB / 0.8352 GB, free: 91.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.974, allocations: 3.984 kB / 0.8352 GB, free: 91.38 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.974, allocations: 0 / 0.8352 GB, free: 91.38 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.974, allocations: 4 kB / 0.8353 GB, free: 91.37 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.974, allocations: 4 kB / 0.8353 GB, free: 91.37 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/1.981, allocations: 137.1 kB / 0.8354 GB, free: 91.24 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.983, allocations: 1.711 MB / 0.8371 GB, free: 89.54 MB / 0.5923 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01534/1.998, allocations: 9.672 MB / 0.8465 GB, free: 79.83 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00654/2.005, allocations: 4.527 MB / 0.8509 GB, free: 75.25 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/2.016, allocations: 5.115 MB / 0.8559 GB, free: 70.11 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/2.016, allocations: 0 / 0.8559 GB, free: 70.11 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/2.016, allocations: 3 kB / 0.8559 GB, free: 70.11 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/2.016, allocations: 3.781 kB / 0.8559 GB, free: 70.11 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03493/2.051, allocations: 15.07 MB / 0.8706 GB, free: 54.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/2.051, allocations: 3.5 kB / 0.8706 GB, free: 54.98 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/2.051, allocations: 4 kB / 0.8707 GB, free: 54.97 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/2.051, allocations: 0 / 0.8707 GB, free: 54.97 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001707/2.053, allocations: 380 kB / 0.871 GB, free: 54.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/2.053, allocations: 0 / 0.871 GB, free: 54.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.053, allocations: 4.25 kB / 0.871 GB, free: 54.6 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/2.063, allocations: 8.154 MB / 0.879 GB, free: 46.37 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/2.074, allocations: 3.876 MB / 0.8828 GB, free: 42.42 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00471/2.079, allocations: 129.1 kB / 0.8829 GB, free: 42.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005719/2.085, allocations: 132 kB / 0.883 GB, free: 42.16 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/2.085, allocations: 7 kB / 0.883 GB, free: 42.16 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001732/2.086, allocations: 1.715 MB / 0.8847 GB, free: 40.45 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06674/2.153, allocations: 34.36 MB / 0.9183 GB, free: 6.383 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.7e-07/2.153, allocations: 0 / 0.9183 GB, free: 6.383 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006956/2.16, allocations: 1.252 MB / 0.9195 GB, free: 5.133 MB / 0.5923 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008037/2.161, allocations: 254.2 kB / 0.9197 GB, free: 4.883 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001717/2.163, allocations: 1.235 MB / 0.9209 GB, free: 3.637 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.163, allocations: 0 / 0.9209 GB, free: 3.637 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/2.164, allocations: 0.7142 MB / 0.9216 GB, free: 2.91 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/2.175, allocations: 3.254 MB / 0.9248 GB, free: 15.65 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1494/2.324, allocations: 74.98 MB / 0.998 GB, free: 5.098 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04134/2.366, allocations: 18.06 MB / 1.016 GB, free: 2.973 MB / 0.6861 GB Notification: Performance of simCode: alias equations: time 0.4324/2.798, allocations: 9.318 MB / 1.025 GB, free: 194.6 MB / 0.6861 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005408/2.804, allocations: 1.962 MB / 1.027 GB, free: 194.6 MB / 0.6861 GB Notification: Performance of SimCode: time 2.345e-06/2.804, allocations: 0 / 1.027 GB, free: 194.6 MB / 0.6861 GB Notification: Performance of Templates: time 0.46/3.264, allocations: 164.9 MB / 1.188 GB, free: 65.29 MB / 0.6861 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches