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.001232/0.001232, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.00137/0.00137, allocations: 191.3 kB / 18.52 MB, free: 4.637 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 / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.045/1.045, allocations: 119.3 MB / 411.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 67.91 kB / 0.4916 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6362, allocations: 80.68 MB / 0.5704 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002703/0.639, allocations: 1.418 MB / 0.5718 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.64, allocations: 0.5692 MB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.6401, allocations: 1.219 kB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6414, allocations: 1.721 MB / 0.574 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.6429, allocations: 1.761 MB / 0.5757 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.6432, allocations: 77.14 kB / 0.5758 GB, free: 40 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.6475, allocations: 4.315 MB / 0.58 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.6476, allocations: 3.781 kB / 0.58 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.6521, allocations: 2.138 MB / 0.5821 GB, free: 36.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/0.657, allocations: 4.063 MB / 0.5861 GB, free: 33.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.6575, allocations: 252 kB / 0.5863 GB, free: 33.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.6581, allocations: 327.9 kB / 0.5866 GB, free: 33.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007739/0.6659, allocations: 9.958 MB / 0.5964 GB, free: 23.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005755/0.6716, allocations: 5.636 MB / 0.6019 GB, free: 17.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007718/0.6794, allocations: 12.17 MB / 0.6137 GB, free: 5.102 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.6794, allocations: 0 / 0.6137 GB, free: 5.102 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6794, allocations: 4 kB / 0.6137 GB, free: 5.098 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003982/0.6798, allocations: 0 / 0.6137 GB, free: 5.098 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.02879/0.7086, allocations: 19.56 MB / 0.6328 GB, free: 1.312 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.7087, allocations: 8.031 kB / 0.6329 GB, free: 1.305 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.7124, allocations: 2.202 MB / 0.635 GB, free: 15.07 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06403/0.7765, allocations: 25.83 MB / 0.6602 GB, free: 5.051 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.7765, allocations: 384 / 0.6602 GB, free: 5.051 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.7767, allocations: 64.38 kB / 0.6603 GB, free: 4.988 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.7778, allocations: 0.7942 MB / 0.6611 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7778, allocations: 0 / 0.6611 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.778, allocations: 60 kB / 0.6611 GB, free: 4.129 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.778, allocations: 7.938 kB / 0.6611 GB, free: 4.121 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.7786, allocations: 456 kB / 0.6616 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.7921, allocations: 6.992 MB / 0.6684 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.7929, allocations: 290.6 kB / 0.6687 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.7933, allocations: 276.9 kB / 0.6689 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.7934, allocations: 4 kB / 0.6689 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009266/0.7943, allocations: 0.7112 MB / 0.6696 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 4.368e-06/0.7943, allocations: 0 / 0.6696 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006774/0.8011, allocations: 4.24 MB / 0.6738 GB, free: 7.051 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.8012, allocations: 77.11 kB / 0.6738 GB, free: 6.957 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04857/0.8498, allocations: 24.84 MB / 0.6981 GB, free: 14.32 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004241/0.8502, allocations: 89.7 kB / 0.6982 GB, free: 14.23 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01399/0.8643, allocations: 10.83 MB / 0.7088 GB, free: 3.391 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/0.8649, allocations: 75.81 kB / 0.7088 GB, free: 3.316 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.8661, allocations: 461.7 kB / 0.7093 GB, free: 2.859 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8662, allocations: 310 kB / 0.7096 GB, free: 2.551 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.8667, allocations: 268 kB / 0.7098 GB, free: 2.289 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.8672, allocations: 267.9 kB / 0.7101 GB, free: 2.027 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.8681, allocations: 0.5862 MB / 0.7107 GB, free: 1.426 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8681, allocations: 0 / 0.7107 GB, free: 1.426 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006322/0.8744, allocations: 3.974 MB / 0.7145 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.8745, allocations: 45.69 kB / 0.7146 GB, free: 13.36 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8746, allocations: 0 / 0.7146 GB, free: 13.36 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.8746, allocations: 0 / 0.7146 GB, free: 13.36 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8747, allocations: 4 kB / 0.7146 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8747, allocations: 0 / 0.7146 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.878, allocations: 71.94 kB / 0.7147 GB, free: 13.28 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007587/0.8788, allocations: 0.8555 MB / 0.7155 GB, free: 12.43 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.008949/0.8877, allocations: 4.912 MB / 0.7203 GB, free: 7.496 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004322/0.892, allocations: 2.267 MB / 0.7225 GB, free: 5.199 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/0.8982, allocations: 2.569 MB / 0.725 GB, free: 2.621 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.8983, allocations: 4.141 kB / 0.725 GB, free: 2.617 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.8983, allocations: 3.984 kB / 0.725 GB, free: 2.613 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8983, allocations: 0 / 0.725 GB, free: 2.613 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.9187, allocations: 7.613 MB / 0.7325 GB, free: 10.95 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.9188, allocations: 4 kB / 0.7325 GB, free: 10.95 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.9189, allocations: 4.031 kB / 0.7325 GB, free: 10.94 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.9189, allocations: 3.938 kB / 0.7325 GB, free: 10.94 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007221/0.9196, allocations: 195.9 kB / 0.7327 GB, free: 10.75 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.9197, allocations: 0 / 0.7327 GB, free: 10.75 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9197, allocations: 4 kB / 0.7327 GB, free: 10.74 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007892/0.9276, allocations: 4.162 MB / 0.7367 GB, free: 6.527 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/0.9332, allocations: 1.983 MB / 0.7387 GB, free: 4.496 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/0.9355, allocations: 68 kB / 0.7387 GB, free: 4.43 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/0.9381, allocations: 67.98 kB / 0.7388 GB, free: 4.363 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.9382, allocations: 4 kB / 0.7388 GB, free: 4.359 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009551/0.9392, allocations: 0.8594 MB / 0.7396 GB, free: 3.5 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03722/0.9764, allocations: 17.25 MB / 0.7565 GB, free: 2.406 MB / 0.592 GB Notification: Performance of sort global known variables: time 3e-07/0.9765, allocations: 0 / 0.7565 GB, free: 2.406 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00428/0.9808, allocations: 0.6367 MB / 0.7571 GB, free: 1.77 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.0007376/0.9815, allocations: 190.6 kB / 0.7573 GB, free: 1.578 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.9828, allocations: 0.6829 MB / 0.7579 GB, free: 0.8828 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9828, allocations: 0 / 0.7579 GB, free: 0.8828 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.9834, allocations: 423.4 kB / 0.7583 GB, free: 468 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5274/1.511, allocations: 1.693 MB / 0.76 GB, free: 166 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05913/1.57, allocations: 35.99 MB / 0.7951 GB, free: 148.2 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01358/1.584, allocations: 8.913 MB / 0.8039 GB, free: 139.3 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/1.585, allocations: 0.9877 MB / 0.8048 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of SimCode: time 1.172e-06/1.585, allocations: 0 / 0.8048 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of Templates: time 5.104/6.689, allocations: 1.617 GB / 2.422 GB, free: 172 MB / 0.7017 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/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