Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 109.8 kB / 16.92 MB, free: 5.781 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.001662/0.001662, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.479/1.479, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.289/1.289, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.89 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7888, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003278/0.7922, allocations: 1.403 MB / 0.5711 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.7934, allocations: 0.5845 MB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.7935, allocations: 1.25 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7951, allocations: 1.717 MB / 0.5734 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.7972, allocations: 1.758 MB / 0.5751 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.7978, allocations: 80.64 kB / 0.5751 GB, free: 40 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006828/0.8046, allocations: 4.303 MB / 0.5794 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.8047, allocations: 11.75 kB / 0.5794 GB, free: 37.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00593/0.8107, allocations: 2.145 MB / 0.5815 GB, free: 36.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006731/0.8174, allocations: 4.061 MB / 0.5854 GB, free: 33.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.818, allocations: 252 kB / 0.5857 GB, free: 33.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.8187, allocations: 319.9 kB / 0.586 GB, free: 33.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0108/0.8295, allocations: 9.962 MB / 0.5957 GB, free: 23.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.8407, allocations: 5.636 MB / 0.6012 GB, free: 17.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.8527, allocations: 12.18 MB / 0.6131 GB, free: 5.121 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.8527, allocations: 0 / 0.6131 GB, free: 5.121 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.786e-06/0.8527, allocations: 0 / 0.6131 GB, free: 5.121 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005343/0.8533, allocations: 0 / 0.6131 GB, free: 5.121 MB / 462.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.03154/0.8848, allocations: 19.55 MB / 0.6322 GB, free: 1.34 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.8849, allocations: 16.03 kB / 0.6322 GB, free: 1.324 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.8888, allocations: 2.202 MB / 0.6344 GB, free: 15.09 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07117/0.96, allocations: 25.82 MB / 0.6596 GB, free: 5.07 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.9601, allocations: 4.375 kB / 0.6596 GB, free: 5.066 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004851/0.9606, allocations: 64.38 kB / 0.6596 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.9621, allocations: 0.7786 MB / 0.6604 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.9622, allocations: 0 / 0.6604 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.9623, allocations: 64 kB / 0.6605 GB, free: 4.156 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9623, allocations: 0 / 0.6605 GB, free: 4.156 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.9631, allocations: 463.9 kB / 0.6609 GB, free: 3.703 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.9856, allocations: 7.004 MB / 0.6677 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.987, allocations: 282.6 kB / 0.668 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/0.9878, allocations: 280.9 kB / 0.6683 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.9879, allocations: 4 kB / 0.6683 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.9891, allocations: 0.7074 MB / 0.669 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 4.208e-06/0.9891, allocations: 3.938 kB / 0.669 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.007367/0.9965, allocations: 4.236 MB / 0.6731 GB, free: 7.074 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.9966, allocations: 81.11 kB / 0.6732 GB, free: 6.977 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06599/1.063, allocations: 24.84 MB / 0.6974 GB, free: 14.34 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0007324/1.063, allocations: 89.7 kB / 0.6975 GB, free: 14.25 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01758/1.081, allocations: 10.82 MB / 0.7081 GB, free: 3.422 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.082, allocations: 75.81 kB / 0.7082 GB, free: 3.348 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/1.085, allocations: 465.6 kB / 0.7086 GB, free: 2.887 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.085, allocations: 310 kB / 0.7089 GB, free: 2.578 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/1.086, allocations: 272 kB / 0.7092 GB, free: 2.312 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009694/1.087, allocations: 268 kB / 0.7094 GB, free: 2.051 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.089, allocations: 0.5939 MB / 0.71 GB, free: 1.441 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.089, allocations: 0 / 0.71 GB, free: 1.441 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0107/1.1, allocations: 3.97 MB / 0.7139 GB, free: 13.43 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.1, allocations: 41.62 kB / 0.7139 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.1, allocations: 0 / 0.7139 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/1.1, allocations: 0 / 0.7139 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.1, allocations: 4 kB / 0.7139 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.1, allocations: 0 / 0.7139 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/1.106, allocations: 75.94 kB / 0.714 GB, free: 13.3 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.107, allocations: 0.8594 MB / 0.7148 GB, free: 12.45 MB / 0.5608 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.01135/1.118, allocations: 4.902 MB / 0.7196 GB, free: 7.523 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00583/1.124, allocations: 2.271 MB / 0.7218 GB, free: 5.223 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008253/1.132, allocations: 2.561 MB / 0.7243 GB, free: 2.652 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.132, allocations: 0 / 0.7243 GB, free: 2.652 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.132, allocations: 0 / 0.7243 GB, free: 2.652 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.132, allocations: 4 kB / 0.7243 GB, free: 2.648 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.161, allocations: 7.617 MB / 0.7318 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.161, allocations: 144 / 0.7318 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/1.161, allocations: 15.86 kB / 0.7318 GB, free: 10.96 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/1.161, allocations: 3.984 kB / 0.7318 GB, free: 10.96 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009948/1.162, allocations: 196.1 kB / 0.732 GB, free: 10.77 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.162, allocations: 3.938 kB / 0.732 GB, free: 10.76 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.162, allocations: 0 / 0.732 GB, free: 10.76 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.172, allocations: 4.162 MB / 0.7361 GB, free: 6.547 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006912/1.179, allocations: 1.983 MB / 0.738 GB, free: 4.516 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003507/1.183, allocations: 68 kB / 0.7381 GB, free: 4.449 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004553/1.187, allocations: 68 kB / 0.7381 GB, free: 4.383 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/1.187, allocations: 3.984 kB / 0.7381 GB, free: 4.379 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001157/1.188, allocations: 0.8594 MB / 0.739 GB, free: 3.52 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.04473/1.233, allocations: 17.23 MB / 0.7558 GB, free: 2.438 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.91e-07/1.233, allocations: 0 / 0.7558 GB, free: 2.438 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.005636/1.239, allocations: 0.6445 MB / 0.7564 GB, free: 1.793 MB / 0.592 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.0007954/1.24, allocations: 186.3 kB / 0.7566 GB, free: 1.605 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.242, allocations: 0.6946 MB / 0.7573 GB, free: 0.8984 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.242, allocations: 0 / 0.7573 GB, free: 0.8984 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/1.243, allocations: 419.3 kB / 0.7577 GB, free: 492 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6778/1.92, allocations: 1.697 MB / 0.7593 GB, free: 166 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08262/2.003, allocations: 35.11 MB / 0.7936 GB, free: 149.1 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02288/2.026, allocations: 8.913 MB / 0.8023 GB, free: 140.2 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01527/2.041, allocations: 4.701 MB / 0.8069 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/2.044, allocations: 0.9877 MB / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of SimCode: time 1.553e-06/2.044, allocations: 4 kB / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of Templates: time 0.2184/2.262, allocations: 82.65 MB / 0.8886 GB, free: 51.73 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches