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.001338/0.001338, allocations: 90.02 kB / 16.65 MB, free: 6.535 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.001513/0.001513, allocations: 174 kB / 17.56 MB, free: 6.184 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.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9735/0.9735, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8.281 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6167, allocations: 82.83 MB / 0.5758 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001307/0.6181, allocations: 1.128 MB / 0.5769 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.619, allocations: 0.5814 MB / 0.5775 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.6191, allocations: 2.25 kB / 0.5775 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.6212, allocations: 3.43 MB / 0.5808 GB, free: 38.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.6238, allocations: 3.467 MB / 0.5842 GB, free: 36.78 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.6241, allocations: 59.97 kB / 0.5842 GB, free: 36.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006278/0.6304, allocations: 8.534 MB / 0.5926 GB, free: 29.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.6305, allocations: 7.984 kB / 0.5926 GB, free: 29.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.6359, allocations: 4.243 MB / 0.5967 GB, free: 24.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00677/0.6427, allocations: 7.6 MB / 0.6042 GB, free: 17.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.6438, allocations: 0.4922 MB / 0.6046 GB, free: 16.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008734/0.6447, allocations: 0.5624 MB / 0.6052 GB, free: 16.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01543/0.6601, allocations: 19.9 MB / 0.6246 GB, free: 12.34 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01906/0.6792, allocations: 11.28 MB / 0.6356 GB, free: 0.9492 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02781/0.7071, allocations: 23.63 MB / 0.6587 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7071, allocations: 0 / 0.6587 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7071, allocations: 0 / 0.6587 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001242/0.7084, allocations: 4 kB / 0.6587 GB, free: 9.172 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.06278/0.7712, allocations: 34.11 MB / 0.692 GB, free: 6.719 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.7713, allocations: 8.031 kB / 0.692 GB, free: 6.711 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.7819, allocations: 4.407 MB / 0.6963 GB, free: 2.246 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1269/0.9089, allocations: 51.57 MB / 0.7467 GB, free: 14.33 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9089, allocations: 4.312 kB / 0.7467 GB, free: 14.32 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.91, allocations: 128.4 kB / 0.7468 GB, free: 14.2 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.9139, allocations: 1.52 MB / 0.7483 GB, free: 12.68 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.914, allocations: 7.984 kB / 0.7483 GB, free: 12.67 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/0.9143, allocations: 124 kB / 0.7484 GB, free: 12.55 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9143, allocations: 4 kB / 0.7484 GB, free: 12.54 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.9155, allocations: 0.8711 MB / 0.7493 GB, free: 11.67 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6457/1.561, allocations: 13.85 MB / 0.7628 GB, free: 129.3 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/1.564, allocations: 0.5292 MB / 0.7633 GB, free: 129.2 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.565, allocations: 0.5186 MB / 0.7638 GB, free: 129.2 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/1.565, allocations: 0.7188 kB / 0.7638 GB, free: 129.2 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002131/1.567, allocations: 1.318 MB / 0.7651 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 3.516e-06/1.567, allocations: 0 / 0.7651 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01523/1.582, allocations: 8.323 MB / 0.7732 GB, free: 129 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/1.582, allocations: 80.33 kB / 0.7733 GB, free: 129 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09968/1.682, allocations: 49.58 MB / 0.8217 GB, free: 95.12 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.683, allocations: 149.7 kB / 0.8219 GB, free: 94.97 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02208/1.705, allocations: 22.55 MB / 0.8439 GB, free: 72.41 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.706, allocations: 149.5 kB / 0.8441 GB, free: 72.27 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/1.707, allocations: 137.7 kB / 0.8442 GB, free: 72.13 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/1.707, allocations: 310 kB / 0.8445 GB, free: 71.82 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/1.708, allocations: 0.5039 MB / 0.845 GB, free: 71.32 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/1.708, allocations: 0.5076 MB / 0.8455 GB, free: 70.82 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.71, allocations: 1.081 MB / 0.8465 GB, free: 69.73 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.71, allocations: 0 / 0.8465 GB, free: 69.73 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01036/1.72, allocations: 7.823 MB / 0.8542 GB, free: 64.34 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/1.72, allocations: 39.89 kB / 0.8542 GB, free: 64.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.72, allocations: 240 / 0.8542 GB, free: 64.29 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.72, allocations: 0 / 0.8542 GB, free: 64.29 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/1.72, allocations: 5.781 kB / 0.8542 GB, free: 64.29 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.72, allocations: 3.984 kB / 0.8542 GB, free: 64.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006645/1.727, allocations: 138.9 kB / 0.8543 GB, free: 64.15 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.729, allocations: 1.711 MB / 0.856 GB, free: 62.44 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.016/1.745, allocations: 9.663 MB / 0.8654 GB, free: 52.75 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009029/1.754, allocations: 4.523 MB / 0.8699 GB, free: 48.17 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.767, allocations: 5.122 MB / 0.8749 GB, free: 43.03 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.767, allocations: 0 / 0.8749 GB, free: 43.03 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.767, allocations: 3 kB / 0.8749 GB, free: 43.03 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.767, allocations: 3.938 kB / 0.8749 GB, free: 43.03 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03733/1.805, allocations: 15.07 MB / 0.8896 GB, free: 27.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.805, allocations: 0 / 0.8896 GB, free: 27.89 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/1.805, allocations: 4 kB / 0.8896 GB, free: 27.89 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.805, allocations: 0 / 0.8896 GB, free: 27.89 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/1.806, allocations: 380 kB / 0.89 GB, free: 27.52 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.806, allocations: 0 / 0.89 GB, free: 27.52 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.806, allocations: 3.938 kB / 0.89 GB, free: 27.52 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.818, allocations: 8.159 MB / 0.8979 GB, free: 19.28 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01037/1.828, allocations: 3.872 MB / 0.9017 GB, free: 15.33 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005981/1.834, allocations: 132.1 kB / 0.9018 GB, free: 15.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007813/1.842, allocations: 131.9 kB / 0.902 GB, free: 15.07 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.842, allocations: 6.938 kB / 0.902 GB, free: 15.07 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002943/1.845, allocations: 1.718 MB / 0.9036 GB, free: 13.35 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07213/1.917, allocations: 34.49 MB / 0.9373 GB, free: 11.16 MB / 0.6235 GB Notification: Performance of sort global known variables: time 5.41e-07/1.917, allocations: 4 kB / 0.9373 GB, free: 11.16 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.0067/1.924, allocations: 1.25 MB / 0.9386 GB, free: 9.91 MB / 0.6235 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.0007896/1.925, allocations: 250 kB / 0.9388 GB, free: 9.66 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.927, allocations: 1.238 MB / 0.94 GB, free: 8.414 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.927, allocations: 0 / 0.94 GB, free: 8.414 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.928, allocations: 0.7182 MB / 0.9407 GB, free: 7.684 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02732/1.956, allocations: 3.383 MB / 0.944 GB, free: 4.301 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/2.108, allocations: 79.37 MB / 1.022 GB, free: 5.355 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4066/2.514, allocations: 17.33 MB / 1.038 GB, free: 211.5 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.03235/2.547, allocations: 9.328 MB / 1.048 GB, free: 207.4 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004353/2.551, allocations: 1.964 MB / 1.049 GB, free: 207.4 MB / 0.7017 GB Notification: Performance of SimCode: time 1.503e-06/2.551, allocations: 0 / 1.049 GB, free: 207.4 MB / 0.7017 GB Notification: Performance of Templates: time 0.3932/2.944, allocations: 164.5 MB / 1.21 GB, free: 68.27 MB / 0.7017 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