Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 98.73 kB / 16.5 MB, free: 6.641 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.001477/0.001477, allocations: 198.7 kB / 17.43 MB, free: 6.062 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.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.101/1.101, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 63.89 kB / 0.4903 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6484/0.6501, allocations: 80.67 MB / 0.569 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002489/0.6526, allocations: 1.473 MB / 0.5705 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.6536, allocations: 0.593 MB / 0.5711 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.6536, allocations: 1.375 kB / 0.5711 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.654, allocations: 443.8 kB / 0.5715 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.6546, allocations: 485.7 kB / 0.572 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.6548, allocations: 67.2 kB / 0.572 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.6556, allocations: 1.117 MB / 0.5731 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.6556, allocations: 4.188 kB / 0.5731 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.6561, allocations: 0.5532 MB / 0.5736 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000934/0.6571, allocations: 0.9795 MB / 0.5746 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.6572, allocations: 64.78 kB / 0.5747 GB, free: 40.17 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.6575, allocations: 132.2 kB / 0.5748 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.6603, allocations: 2.497 MB / 0.5772 GB, free: 38.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009189/0.6612, allocations: 1.424 MB / 0.5786 GB, free: 37.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.6639, allocations: 3.044 MB / 0.5816 GB, free: 35.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.664, allocations: 3.938 kB / 0.5816 GB, free: 35.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.82e-07/0.664, allocations: 0 / 0.5816 GB, free: 35.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.237e-05/0.6641, allocations: 0 / 0.5816 GB, free: 35.73 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.006234/0.6703, allocations: 5.176 MB / 0.5867 GB, free: 31.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6703, allocations: 8.031 kB / 0.5867 GB, free: 31.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.6711, allocations: 0.5561 MB / 0.5872 GB, free: 31.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009883/0.681, allocations: 6.523 MB / 0.5936 GB, free: 24.58 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.681, allocations: 384 / 0.5936 GB, free: 24.58 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.6811, allocations: 20.38 kB / 0.5936 GB, free: 24.56 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.6814, allocations: 241.8 kB / 0.5938 GB, free: 24.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6814, allocations: 0 / 0.5938 GB, free: 24.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.6815, allocations: 16 kB / 0.5938 GB, free: 24.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6815, allocations: 7.984 kB / 0.5938 GB, free: 24.3 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.6816, allocations: 127.9 kB / 0.594 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.6836, allocations: 1.862 MB / 0.5958 GB, free: 22.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.6838, allocations: 106.6 kB / 0.5959 GB, free: 22.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6839, allocations: 88.86 kB / 0.596 GB, free: 22.06 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.6839, allocations: 0 / 0.596 GB, free: 22.06 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.6843, allocations: 256.9 kB / 0.5962 GB, free: 21.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.6843, allocations: 4 kB / 0.5962 GB, free: 21.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001158/0.6854, allocations: 1.164 MB / 0.5974 GB, free: 20.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.6855, allocations: 81.11 kB / 0.5974 GB, free: 20.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/0.6911, allocations: 6.279 MB / 0.6036 GB, free: 14.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.6912, allocations: 41.7 kB / 0.6036 GB, free: 14.22 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.6928, allocations: 2.524 MB / 0.6061 GB, free: 11.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.6929, allocations: 31.75 kB / 0.6061 GB, free: 11.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.693, allocations: 137.7 kB / 0.6062 GB, free: 11.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.693, allocations: 314 kB / 0.6065 GB, free: 11.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.6932, allocations: 72 kB / 0.6066 GB, free: 11.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.6933, allocations: 83.98 kB / 0.6067 GB, free: 11.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.6935, allocations: 232.1 kB / 0.6069 GB, free: 10.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6935, allocations: 0 / 0.6069 GB, free: 10.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009394/0.6944, allocations: 1.09 MB / 0.608 GB, free: 9.707 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.6945, allocations: 37.69 kB / 0.608 GB, free: 9.664 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6945, allocations: 7.938 kB / 0.608 GB, free: 9.656 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6945, allocations: 4 kB / 0.608 GB, free: 9.652 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.6946, allocations: 4 kB / 0.608 GB, free: 9.648 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.6946, allocations: 4 kB / 0.608 GB, free: 9.645 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.695, allocations: 16 kB / 0.608 GB, free: 9.629 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6952, allocations: 224 kB / 0.6083 GB, free: 9.41 MB / 462.3 MB 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.00129/0.6965, allocations: 1.341 MB / 0.6096 GB, free: 8.055 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.6968, allocations: 0.5746 MB / 0.6101 GB, free: 7.473 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.6973, allocations: 0.6441 MB / 0.6108 GB, free: 6.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.6973, allocations: 4 kB / 0.6108 GB, free: 6.816 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6973, allocations: 7.984 kB / 0.6108 GB, free: 6.809 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6973, allocations: 0 / 0.6108 GB, free: 6.809 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.6987, allocations: 2.018 MB / 0.6127 GB, free: 4.742 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6987, allocations: 0 / 0.6127 GB, free: 4.742 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.6988, allocations: 8.031 kB / 0.6127 GB, free: 4.734 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6988, allocations: 3.938 kB / 0.6127 GB, free: 4.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.6988, allocations: 48 kB / 0.6128 GB, free: 4.684 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6988, allocations: 0 / 0.6128 GB, free: 4.684 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6988, allocations: 4 kB / 0.6128 GB, free: 4.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.6997, allocations: 1.176 MB / 0.6139 GB, free: 3.473 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.7002, allocations: 0.5601 MB / 0.6145 GB, free: 2.887 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.7005, allocations: 23.98 kB / 0.6145 GB, free: 2.863 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.7008, allocations: 20 kB / 0.6145 GB, free: 2.844 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.7008, allocations: 4 kB / 0.6145 GB, free: 2.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.7009, allocations: 220 kB / 0.6147 GB, free: 2.625 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004553/0.7055, allocations: 4.324 MB / 0.619 GB, free: 14.34 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7055, allocations: 3.938 kB / 0.619 GB, free: 14.34 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005723/0.7061, allocations: 192 kB / 0.6192 GB, free: 14.15 MB / 478.3 MB 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.0002272/0.7063, allocations: 151.1 kB / 0.6193 GB, free: 13.99 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.7068, allocations: 275.4 kB / 0.6196 GB, free: 13.71 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7068, allocations: 3.938 kB / 0.6196 GB, free: 13.71 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.707, allocations: 187.4 kB / 0.6197 GB, free: 13.51 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.7083, allocations: 450.5 kB / 0.6202 GB, free: 13.07 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.7199, allocations: 9.487 MB / 0.6294 GB, free: 3.551 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.7222, allocations: 2.725 MB / 0.6321 GB, free: 0.7969 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002827/0.7251, allocations: 1.133 MB / 0.6332 GB, free: 15.66 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.7254, allocations: 259.4 kB / 0.6335 GB, free: 15.4 MB / 494.3 MB Notification: Performance of SimCode: time 5.51e-07/0.7254, allocations: 0 / 0.6335 GB, free: 15.4 MB / 494.3 MB Notification: Performance of Templates: time 0.05377/0.7792, allocations: 20.29 MB / 0.6533 GB, free: 11 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches