Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001102/0.001102, allocations: 95.48 kB / 17.31 MB, free: 5.945 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.001483/0.001483, allocations: 180.4 kB / 18.22 MB, free: 5.414 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.433/1.433, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.1/1.1, allocations: 120.5 MB / 413.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 4 kB / 0.4955 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5881/0.5885, allocations: 82.84 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001434/0.59, allocations: 1.133 MB / 0.5776 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.5909, allocations: 0.5761 MB / 0.5781 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.591, allocations: 0 / 0.5781 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.5935, allocations: 3.427 MB / 0.5815 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.5962, allocations: 3.466 MB / 0.5848 GB, free: 37.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.5966, allocations: 61.44 kB / 0.5849 GB, free: 37.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006709/0.6033, allocations: 8.538 MB / 0.5932 GB, free: 29.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.6034, allocations: 7.984 kB / 0.5932 GB, free: 29.06 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006245/0.6097, allocations: 4.243 MB / 0.5974 GB, free: 24.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/0.6175, allocations: 7.6 MB / 0.6048 GB, free: 17.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.6196, allocations: 0.4922 MB / 0.6053 GB, free: 16.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6213, allocations: 0.5585 MB / 0.6058 GB, free: 16.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01584/0.6371, allocations: 19.91 MB / 0.6253 GB, free: 12.18 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01881/0.656, allocations: 11.27 MB / 0.6363 GB, free: 0.7891 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.6784, allocations: 18 MB / 0.6539 GB, free: 14.73 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6785, allocations: 3.938 kB / 0.6539 GB, free: 14.73 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.998e-06/0.6785, allocations: 0 / 0.6539 GB, free: 14.73 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001199/0.6797, allocations: 0 / 0.6539 GB, free: 14.73 MB / 0.4983 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.05019/0.7299, allocations: 34.1 MB / 0.6872 GB, free: 12.28 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.73, allocations: 8.031 kB / 0.6872 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007931/0.7379, allocations: 4.403 MB / 0.6915 GB, free: 7.812 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1369/0.8749, allocations: 51.58 MB / 0.7418 GB, free: 3.887 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.8749, allocations: 4.312 kB / 0.7419 GB, free: 3.883 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.8754, allocations: 128.4 kB / 0.742 GB, free: 3.758 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.8772, allocations: 1.516 MB / 0.7435 GB, free: 2.234 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8773, allocations: 3.938 kB / 0.7435 GB, free: 2.23 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.8775, allocations: 124 kB / 0.7436 GB, free: 2.109 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.8775, allocations: 3.984 kB / 0.7436 GB, free: 2.105 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.8788, allocations: 0.8711 MB / 0.7444 GB, free: 1.234 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.9079, allocations: 13.85 MB / 0.758 GB, free: 3.324 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.9098, allocations: 0.5376 MB / 0.7585 GB, free: 2.777 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.9106, allocations: 0.5165 MB / 0.759 GB, free: 2.258 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.9107, allocations: 0 / 0.759 GB, free: 2.258 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.9121, allocations: 1.32 MB / 0.7603 GB, free: 0.918 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.9122, allocations: 0 / 0.7603 GB, free: 0.918 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.6022/1.514, allocations: 8.309 MB / 0.7684 GB, free: 138 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/1.515, allocations: 86.48 kB / 0.7685 GB, free: 137.9 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09506/1.61, allocations: 49.58 MB / 0.8169 GB, free: 111.1 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0008521/1.611, allocations: 153.7 kB / 0.817 GB, free: 111 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.0208/1.631, allocations: 22.54 MB / 0.8391 GB, free: 88.43 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.632, allocations: 148.5 kB / 0.8392 GB, free: 88.3 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/1.633, allocations: 137.7 kB / 0.8393 GB, free: 88.16 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/1.633, allocations: 307.7 kB / 0.8396 GB, free: 87.86 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/1.634, allocations: 0.5078 MB / 0.8401 GB, free: 87.34 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/1.634, allocations: 0.5039 MB / 0.8406 GB, free: 86.83 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/1.636, allocations: 1.083 MB / 0.8417 GB, free: 85.74 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.636, allocations: 3.562 kB / 0.8417 GB, free: 85.74 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009375/1.645, allocations: 7.816 MB / 0.8493 GB, free: 80.36 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/1.645, allocations: 37.7 kB / 0.8493 GB, free: 80.32 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.645, allocations: 0 / 0.8493 GB, free: 80.32 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.645, allocations: 0 / 0.8493 GB, free: 80.32 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/1.645, allocations: 6.438 kB / 0.8493 GB, free: 80.31 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.645, allocations: 4 kB / 0.8493 GB, free: 80.31 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/1.652, allocations: 135.9 kB / 0.8495 GB, free: 80.18 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.654, allocations: 1.707 MB / 0.8511 GB, free: 78.47 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 (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.01349/1.667, allocations: 9.669 MB / 0.8606 GB, free: 68.78 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006139/1.674, allocations: 4.528 MB / 0.865 GB, free: 64.2 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.684, allocations: 5.118 MB / 0.87 GB, free: 59.06 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.684, allocations: 0 / 0.87 GB, free: 59.06 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.684, allocations: 1.969 kB / 0.87 GB, free: 59.06 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.684, allocations: 0 / 0.87 GB, free: 59.06 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.713, allocations: 15.08 MB / 0.8847 GB, free: 43.92 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.713, allocations: 6.938 kB / 0.8847 GB, free: 43.91 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/1.713, allocations: 4 kB / 0.8847 GB, free: 43.91 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.713, allocations: 0 / 0.8847 GB, free: 43.91 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/1.714, allocations: 383.9 kB / 0.8851 GB, free: 43.54 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.714, allocations: 0 / 0.8851 GB, free: 43.54 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.714, allocations: 0 / 0.8851 GB, free: 43.54 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/1.724, allocations: 8.16 MB / 0.8931 GB, free: 35.3 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009579/1.734, allocations: 3.872 MB / 0.8969 GB, free: 31.35 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004988/1.739, allocations: 132 kB / 0.897 GB, free: 31.22 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00557/1.745, allocations: 128 kB / 0.8971 GB, free: 31.09 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/1.745, allocations: 4 kB / 0.8971 GB, free: 31.09 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002302/1.747, allocations: 1.715 MB / 0.8988 GB, free: 29.38 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06186/1.809, allocations: 34.49 MB / 0.9325 GB, free: 11.19 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.51e-07/1.809, allocations: 0 / 0.9325 GB, free: 11.19 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006125/1.815, allocations: 1.25 MB / 0.9337 GB, free: 9.945 MB / 0.6079 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.0007162/1.816, allocations: 249.9 kB / 0.9339 GB, free: 9.695 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002048/1.818, allocations: 1.238 MB / 0.9351 GB, free: 8.445 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.818, allocations: 0 / 0.9351 GB, free: 8.445 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.819, allocations: 0.7212 MB / 0.9358 GB, free: 7.715 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02182/1.841, allocations: 3.385 MB / 0.9391 GB, free: 4.328 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1391/1.98, allocations: 81.11 MB / 1.018 GB, free: 3.637 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3583/2.338, allocations: 17.33 MB / 1.035 GB, free: 198.3 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004693/2.343, allocations: 1.962 MB / 1.037 GB, free: 198.3 MB / 0.686 GB Notification: Performance of SimCode: time 2.835e-06/2.343, allocations: 0 / 1.037 GB, free: 198.3 MB / 0.686 GB Notification: Performance of Templates: time 19.67/22.02, allocations: 6.088 GB / 7.125 GB, free: 13.68 MB / 0.811 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches