Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 114.4 kB / 17.69 MB, free: 5.312 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.001574/0.001574, allocations: 191 kB / 18.63 MB, free: 4.379 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9213/0.9213, allocations: 119.3 MB / 411.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.463, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00242/0.4655, allocations: 1.409 MB / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.4663, allocations: 0.578 MB / 0.5731 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.4664, allocations: 1.25 kB / 0.5731 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004351/0.4707, allocations: 6.848 MB / 0.5798 GB, free: 38.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.4747, allocations: 6.884 MB / 0.5865 GB, free: 33.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.4751, allocations: 83.78 kB / 0.5866 GB, free: 33.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.4852, allocations: 17.03 MB / 0.6032 GB, free: 16.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.4852, allocations: 11.98 kB / 0.6032 GB, free: 16.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009129/0.4944, allocations: 8.466 MB / 0.6115 GB, free: 8.188 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/0.512, allocations: 16.14 MB / 0.6273 GB, free: 8.023 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004547/0.5165, allocations: 0.9805 MB / 0.6282 GB, free: 7.043 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.5205, allocations: 1.051 MB / 0.6292 GB, free: 5.992 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.03784/0.5584, allocations: 39.81 MB / 0.6681 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.02909/0.5875, allocations: 22.48 MB / 0.6901 GB, free: 7.359 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0471/0.6346, allocations: 49.4 MB / 0.7383 GB, free: 5.699 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.6347, allocations: 4 kB / 0.7383 GB, free: 5.695 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6347, allocations: 0 / 0.7383 GB, free: 5.695 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001569/0.6363, allocations: 0 / 0.7383 GB, free: 5.695 MB / 0.5764 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.563/1.199, allocations: 77.13 MB / 0.8136 GB, free: 84.45 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.199, allocations: 14.98 kB / 0.8136 GB, free: 84.44 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.21, allocations: 8.794 MB / 0.8222 GB, free: 75.53 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2433/1.453, allocations: 103.1 MB / 0.9229 GB, free: 3.867 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/1.453, allocations: 4.375 kB / 0.9229 GB, free: 3.863 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/1.455, allocations: 252.4 kB / 0.9231 GB, free: 3.617 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005867/1.46, allocations: 2.976 MB / 0.926 GB, free: 0.6328 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.461, allocations: 2.188 kB / 0.926 GB, free: 0.6328 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004786/1.461, allocations: 255.9 kB / 0.9263 GB, free: 392 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.461, allocations: 0 / 0.9263 GB, free: 392 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/1.463, allocations: 1.73 MB / 0.928 GB, free: 14.65 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04738/1.511, allocations: 27.55 MB / 0.9549 GB, free: 3.031 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/1.515, allocations: 1.018 MB / 0.9558 GB, free: 2.008 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/1.518, allocations: 1.001 MB / 0.9568 GB, free: 1.004 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/1.518, allocations: 0 / 0.9568 GB, free: 1.004 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003436/1.522, allocations: 2.542 MB / 0.9593 GB, free: 14.44 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.756e-06/1.522, allocations: 0 / 0.9593 GB, free: 14.44 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.02465/1.547, allocations: 16.5 MB / 0.9754 GB, free: 13.81 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.547, allocations: 85.59 kB / 0.9755 GB, free: 13.71 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4609/2.008, allocations: 99.06 MB / 1.072 GB, free: 197.3 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.001535/2.009, allocations: 280.5 kB / 1.073 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.04389/2.053, allocations: 46.97 MB / 1.118 GB, free: 159 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/2.055, allocations: 264.2 kB / 1.119 GB, free: 159 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004472/2.059, allocations: 1.733 MB / 1.12 GB, free: 159 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/2.059, allocations: 309.2 kB / 1.121 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/2.062, allocations: 0.9958 MB / 1.122 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/2.063, allocations: 0.9907 MB / 1.123 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/2.066, allocations: 2.062 MB / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/2.066, allocations: 0 / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01881/2.084, allocations: 15.5 MB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/2.084, allocations: 47.44 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.085, allocations: 3.25 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/2.085, allocations: 2.625 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/2.085, allocations: 5.406 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/2.085, allocations: 0 / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.096, allocations: 259.3 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00379/2.1, allocations: 3.419 MB / 1.143 GB, free: 158 MB / 0.7329 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.0223/2.122, allocations: 19.2 MB / 1.162 GB, free: 145.4 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01025/2.132, allocations: 9.041 MB / 1.171 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/2.149, allocations: 10.22 MB / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/2.149, allocations: 3.516 kB / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/2.149, allocations: 3.938 kB / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/2.149, allocations: 7.594 kB / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05065/2.2, allocations: 29.98 MB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/2.2, allocations: 3.984 kB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/2.2, allocations: 7 kB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/2.2, allocations: 0 / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002038/2.202, allocations: 0.7421 MB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/2.202, allocations: 0 / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.202, allocations: 0 / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/2.219, allocations: 16.13 MB / 1.227 GB, free: 83.86 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01996/2.239, allocations: 7.664 MB / 1.234 GB, free: 76.07 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009911/2.249, allocations: 255.9 kB / 1.234 GB, free: 75.82 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/2.261, allocations: 252 kB / 1.235 GB, free: 75.57 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/2.261, allocations: 7.984 kB / 1.235 GB, free: 75.56 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004805/2.266, allocations: 3.422 MB / 1.238 GB, free: 72.14 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.09565/2.361, allocations: 68.98 MB / 1.305 GB, free: 3.809 MB / 0.7329 GB Notification: Performance of sort global known variables: time 1.533e-06/2.361, allocations: 0 / 1.305 GB, free: 3.809 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.0117/2.373, allocations: 2.475 MB / 1.308 GB, free: 1.336 MB / 0.7329 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.001688/2.375, allocations: 386.1 kB / 1.308 GB, free: 0.9648 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.008196/2.383, allocations: 2.328 MB / 1.31 GB, free: 14.62 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.383, allocations: 0 / 1.31 GB, free: 14.62 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.003518/2.386, allocations: 1.328 MB / 1.312 GB, free: 13.29 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0412/2.428, allocations: 6.748 MB / 1.318 GB, free: 6.535 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4692/2.897, allocations: 144 MB / 1.459 GB, free: 172.6 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05892/2.956, allocations: 34.38 MB / 1.492 GB, free: 138.1 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.04555/3.002, allocations: 18.71 MB / 1.511 GB, free: 119.4 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007514/3.009, allocations: 3.921 MB / 1.515 GB, free: 115.5 MB / 0.7485 GB Notification: Performance of SimCode: time 1.042e-06/3.009, allocations: 2.734 kB / 1.515 GB, free: 115.5 MB / 0.7485 GB Notification: Performance of Templates: time 1.051/4.06, allocations: 339.4 MB / 1.846 GB, free: 47.21 MB / 0.7485 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches