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.0009709/0.0009711, allocations: 116 kB / 16.63 MB, free: 6.812 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.0011/0.0011, allocations: 186 kB / 17.55 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.283/1.283, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6916, allocations: 80.68 MB / 0.5692 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.00341/0.6951, allocations: 1.481 MB / 0.5707 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.6963, allocations: 0.5672 MB / 0.5712 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.6964, allocations: 1.375 kB / 0.5712 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.6994, allocations: 3.427 MB / 0.5746 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.7026, allocations: 3.463 MB / 0.578 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.703, allocations: 78.14 kB / 0.578 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009054/0.7121, allocations: 8.546 MB / 0.5864 GB, free: 32.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.7122, allocations: 4 kB / 0.5864 GB, free: 32.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007648/0.7199, allocations: 4.25 MB / 0.5905 GB, free: 28.01 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009465/0.7294, allocations: 8.081 MB / 0.5984 GB, free: 19.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003282/0.7327, allocations: 500 kB / 0.5989 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7348, allocations: 0.5624 MB / 0.5994 GB, free: 18.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01571/0.7506, allocations: 19.91 MB / 0.6189 GB, free: 14.9 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02195/0.7726, allocations: 11.26 MB / 0.6299 GB, free: 3.535 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03148/0.8041, allocations: 24.25 MB / 0.6536 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.8042, allocations: 4 kB / 0.6536 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.258e-06/0.8042, allocations: 0 / 0.6536 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001243/0.8054, allocations: 7.938 kB / 0.6536 GB, free: 11.14 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.0655/0.871, allocations: 38.75 MB / 0.6914 GB, free: 3.988 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.871, allocations: 8.031 kB / 0.6914 GB, free: 3.98 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008702/0.8798, allocations: 4.399 MB / 0.6957 GB, free: 15.52 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1522/1.032, allocations: 51.57 MB / 0.7461 GB, free: 11.6 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/1.032, allocations: 384 / 0.7461 GB, free: 11.6 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/1.034, allocations: 128.4 kB / 0.7462 GB, free: 11.48 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/1.039, allocations: 1.516 MB / 0.7477 GB, free: 9.953 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.039, allocations: 0 / 0.7477 GB, free: 9.953 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005725/1.039, allocations: 128 kB / 0.7478 GB, free: 9.828 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.04, allocations: 3.984 kB / 0.7478 GB, free: 9.824 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.041, allocations: 0.8827 MB / 0.7487 GB, free: 8.941 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6964/1.738, allocations: 13.84 MB / 0.7622 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.74, allocations: 0.526 MB / 0.7627 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.741, allocations: 0.5151 MB / 0.7632 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/1.741, allocations: 1.344 kB / 0.7632 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.743, allocations: 1.319 MB / 0.7645 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/1.743, allocations: 0.9375 kB / 0.7645 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01876/1.761, allocations: 8.325 MB / 0.7726 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.762, allocations: 84.39 kB / 0.7727 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1011/1.863, allocations: 49.58 MB / 0.8211 GB, free: 104.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009924/1.864, allocations: 153.7 kB / 0.8213 GB, free: 104.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02145/1.885, allocations: 22.55 MB / 0.8433 GB, free: 81.97 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.886, allocations: 144.5 kB / 0.8434 GB, free: 81.84 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/1.888, allocations: 0.8767 MB / 0.8443 GB, free: 80.96 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/1.888, allocations: 316.8 kB / 0.8446 GB, free: 80.65 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/1.889, allocations: 0.5 MB / 0.8451 GB, free: 80.15 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.889, allocations: 0.5078 MB / 0.8456 GB, free: 79.64 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.89, allocations: 1.071 MB / 0.8466 GB, free: 78.55 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.89, allocations: 0 / 0.8466 GB, free: 78.55 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00938/1.9, allocations: 7.824 MB / 0.8543 GB, free: 73.17 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.9, allocations: 37.7 kB / 0.8543 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.9, allocations: 0 / 0.8543 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.9, allocations: 0 / 0.8543 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/1.9, allocations: 8.859 kB / 0.8543 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.9, allocations: 0 / 0.8543 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.91, allocations: 135.8 kB / 0.8544 GB, free: 72.98 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.912, allocations: 1.713 MB / 0.8561 GB, free: 71.27 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.02216/1.934, allocations: 9.668 MB / 0.8655 GB, free: 61.59 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01033/1.945, allocations: 4.52 MB / 0.87 GB, free: 57.01 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.957, allocations: 5.126 MB / 0.875 GB, free: 51.86 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.957, allocations: 0 / 0.875 GB, free: 51.86 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.957, allocations: 0.625 kB / 0.875 GB, free: 51.86 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.957, allocations: 3.938 kB / 0.875 GB, free: 51.86 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03572/1.993, allocations: 15.07 MB / 0.8897 GB, free: 36.72 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.993, allocations: 0 / 0.8897 GB, free: 36.72 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/1.993, allocations: 6.75 kB / 0.8897 GB, free: 36.71 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.993, allocations: 0 / 0.8897 GB, free: 36.71 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/1.994, allocations: 382.6 kB / 0.8901 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.994, allocations: 0 / 0.8901 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.994, allocations: 3.984 kB / 0.8901 GB, free: 36.34 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009728/2.004, allocations: 8.158 MB / 0.898 GB, free: 28.1 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01133/2.016, allocations: 3.872 MB / 0.9018 GB, free: 24.15 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004969/2.021, allocations: 132 kB / 0.9019 GB, free: 24.02 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005697/2.026, allocations: 128 kB / 0.9021 GB, free: 23.9 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/2.026, allocations: 3.938 kB / 0.9021 GB, free: 23.89 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001493/2.028, allocations: 1.716 MB / 0.9037 GB, free: 22.18 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07172/2.1, allocations: 34.49 MB / 0.9374 GB, free: 3.992 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.41e-07/2.1, allocations: 3.938 kB / 0.9374 GB, free: 3.988 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.007989/2.108, allocations: 1.258 MB / 0.9387 GB, free: 2.734 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.001141/2.109, allocations: 253.4 kB / 0.9389 GB, free: 2.488 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.003216/2.112, allocations: 1.234 MB / 0.9401 GB, free: 1.242 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.112, allocations: 3 kB / 0.9401 GB, free: 1.242 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/2.113, allocations: 0.7153 MB / 0.9408 GB, free: 0.5156 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03479/2.148, allocations: 3.382 MB / 0.9441 GB, free: 13.14 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5218/2.67, allocations: 79.37 MB / 1.022 GB, free: 211.9 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03697/2.707, allocations: 17.33 MB / 1.039 GB, free: 205.6 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.0289/2.736, allocations: 9.441 MB / 1.048 GB, free: 201.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004494/2.74, allocations: 1.961 MB / 1.05 GB, free: 201.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.643e-06/2.74, allocations: 0 / 1.05 GB, free: 201.4 MB / 0.686 GB Notification: Performance of Templates: time 0.4512/3.192, allocations: 167.2 MB / 1.213 GB, free: 57.21 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (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) 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