Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 100.8 kB / 16.5 MB, free: 6.645 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.001447/0.001447, allocations: 198.3 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.192/1.192, allocations: 119.3 MB / 410.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 0.4903 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6629, allocations: 80.68 MB / 0.569 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002697/0.6657, allocations: 1.454 MB / 0.5705 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.6668, allocations: 0.5921 MB / 0.571 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.6669, allocations: 1.5 kB / 0.571 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.667, allocations: 18.66 kB / 0.5711 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.6673, allocations: 55.08 kB / 0.5711 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.6675, allocations: 59.39 kB / 0.5712 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.6676, allocations: 78.38 kB / 0.5712 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.6677, allocations: 2.75 kB / 0.5712 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.6678, allocations: 49.83 kB / 0.5713 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.6679, allocations: 49.77 kB / 0.5713 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.6679, allocations: 2.75 kB / 0.5713 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.6681, allocations: 71.72 kB / 0.5714 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6682, allocations: 56.02 kB / 0.5715 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.6683, allocations: 54.39 kB / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.6685, allocations: 146.7 kB / 0.5717 GB, free: 41.46 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6685, allocations: 0 / 0.5717 GB, free: 41.46 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6685, allocations: 0 / 0.5717 GB, free: 41.46 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.6685, allocations: 0 / 0.5717 GB, free: 41.46 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.000498/0.669, allocations: 477.6 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.669, allocations: 9.812 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.6691, allocations: 21.09 kB / 0.5721 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.6695, allocations: 314.6 kB / 0.5724 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.6695, allocations: 5.969 kB / 0.5724 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.6695, allocations: 1.906 kB / 0.5724 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.6696, allocations: 52.12 kB / 0.5725 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6697, allocations: 0 / 0.5725 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6697, allocations: 5.297 kB / 0.5725 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6697, allocations: 1.125 kB / 0.5725 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.6697, allocations: 19.81 kB / 0.5725 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.6699, allocations: 201 kB / 0.5727 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.67, allocations: 51 kB / 0.5728 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.67, allocations: 33.03 kB / 0.5728 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.6701, allocations: 5.188 kB / 0.5728 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.6702, allocations: 102.1 kB / 0.5729 GB, free: 40.23 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.6702, allocations: 0 / 0.5729 GB, free: 40.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003087/0.6706, allocations: 174.6 kB / 0.5731 GB, free: 40.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.6706, allocations: 83.22 kB / 0.5731 GB, free: 40.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.6708, allocations: 232.7 kB / 0.5734 GB, free: 39.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.6708, allocations: 31.14 kB / 0.5734 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.6709, allocations: 116.7 kB / 0.5735 GB, free: 39.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.6709, allocations: 23.45 kB / 0.5735 GB, free: 39.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6709, allocations: 22.88 kB / 0.5736 GB, free: 39.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.671, allocations: 325 kB / 0.5739 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.6711, allocations: 20.36 kB / 0.5739 GB, free: 39.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.6711, allocations: 14.31 kB / 0.5739 GB, free: 39.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.6712, allocations: 118.2 kB / 0.574 GB, free: 39.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6712, allocations: 0 / 0.574 GB, free: 39.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00018/0.6714, allocations: 149.3 kB / 0.5741 GB, free: 39.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6714, allocations: 36.17 kB / 0.5742 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6714, allocations: 1.125 kB / 0.5742 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6715, allocations: 0 / 0.5742 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.6715, allocations: 4.312 kB / 0.5742 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6715, allocations: 3.984 kB / 0.5742 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.6716, allocations: 7.312 kB / 0.5742 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.6716, allocations: 6.625 kB / 0.5742 GB, free: 39.09 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.000109/0.6717, allocations: 176.8 kB / 0.5744 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.6718, allocations: 25.5 kB / 0.5744 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.6718, allocations: 21.33 kB / 0.5744 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.6718, allocations: 1.094 kB / 0.5744 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6718, allocations: 96 / 0.5744 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6718, allocations: 5.219 kB / 0.5744 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.6719, allocations: 207 kB / 0.5746 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6719, allocations: 3.938 kB / 0.5746 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.672, allocations: 6.844 kB / 0.5746 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.672, allocations: 4 kB / 0.5746 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.672, allocations: 8.219 kB / 0.5746 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.672, allocations: 4 kB / 0.5746 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.672, allocations: 0 / 0.5746 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.6722, allocations: 201.6 kB / 0.5748 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.6723, allocations: 101.9 kB / 0.5749 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.6723, allocations: 6.641 kB / 0.5749 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.6724, allocations: 2.75 kB / 0.5749 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.6724, allocations: 5.406 kB / 0.575 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.6724, allocations: 11.09 kB / 0.575 GB, free: 38.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000124/0.6726, allocations: 175.2 kB / 0.5751 GB, free: 38.26 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6726, allocations: 1.281 kB / 0.5751 GB, free: 38.26 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002296/0.6728, allocations: 33.91 kB / 0.5752 GB, free: 38.25 MB / 462.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.0001605/0.673, allocations: 122.5 kB / 0.5753 GB, free: 38.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.6732, allocations: 143.3 kB / 0.5754 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6732, allocations: 4 kB / 0.5754 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.6733, allocations: 114.5 kB / 0.5755 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.6735, allocations: 18.17 kB / 0.5755 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.674, allocations: 324.5 kB / 0.5759 GB, free: 37.69 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.6742, allocations: 0.7245 MB / 0.5766 GB, free: 36.97 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.521e-05/0.6743, allocations: 30.8 kB / 0.5766 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.6743, allocations: 13.31 kB / 0.5766 GB, free: 36.95 MB / 462.3 MB Notification: Performance of SimCode: time 4.31e-07/0.6743, allocations: 1.25 kB / 0.5766 GB, free: 36.95 MB / 462.3 MB Notification: Performance of Templates: time 0.004027/0.6783, allocations: 1.302 MB / 0.5779 GB, free: 36.29 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches