Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 90.45 kB / 16.65 MB, free: 6.266 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.001762/0.001762, allocations: 176.5 kB / 17.56 MB, free: 5.879 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.527/1.527, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.152/1.152, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 8 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6252, allocations: 82.85 MB / 0.5758 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001532/0.6268, allocations: 1.134 MB / 0.5769 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.6277, allocations: 0.5733 MB / 0.5775 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.6277, allocations: 9.312 kB / 0.5775 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.628, allocations: 222.9 kB / 0.5777 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.6284, allocations: 268.3 kB / 0.5779 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.6287, allocations: 65.2 kB / 0.578 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.6291, allocations: 0.585 MB / 0.5786 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.6292, allocations: 6.734 kB / 0.5786 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.6295, allocations: 298.9 kB / 0.5789 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.6301, allocations: 0.5114 MB / 0.5794 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.6302, allocations: 36.22 kB / 0.5794 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.6304, allocations: 102.3 kB / 0.5795 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.6316, allocations: 1.249 MB / 0.5807 GB, free: 39.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.6321, allocations: 0.7448 MB / 0.5814 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.6333, allocations: 1.56 MB / 0.583 GB, free: 37.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.6333, allocations: 0.9375 kB / 0.583 GB, free: 37.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6333, allocations: 0 / 0.583 GB, free: 37.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.6334, allocations: 0 / 0.583 GB, free: 37.38 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.00259/0.636, allocations: 2.466 MB / 0.5854 GB, free: 35.41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.636, allocations: 12.92 kB / 0.5854 GB, free: 35.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.6363, allocations: 289 kB / 0.5857 GB, free: 35.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.6405, allocations: 3.322 MB / 0.5889 GB, free: 32.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.6406, allocations: 4.375 kB / 0.5889 GB, free: 32.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.6406, allocations: 8.375 kB / 0.5889 GB, free: 32.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6408, allocations: 149.8 kB / 0.5891 GB, free: 32.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6408, allocations: 0 / 0.5891 GB, free: 32.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.6409, allocations: 12 kB / 0.5891 GB, free: 32.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.6409, allocations: 0 / 0.5891 GB, free: 32.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.641, allocations: 71.98 kB / 0.5891 GB, free: 32.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009299/0.6419, allocations: 1.018 MB / 0.5901 GB, free: 31.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.642, allocations: 70.52 kB / 0.5902 GB, free: 31.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.6421, allocations: 64.89 kB / 0.5903 GB, free: 31.27 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.6421, allocations: 0 / 0.5903 GB, free: 31.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.6424, allocations: 180.9 kB / 0.5904 GB, free: 31.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.6425, allocations: 0 / 0.5904 GB, free: 31.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0008656/0.6433, allocations: 0.648 MB / 0.5911 GB, free: 30.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6434, allocations: 85.11 kB / 0.5911 GB, free: 30.31 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.6465, allocations: 3.181 MB / 0.5943 GB, free: 27.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.6465, allocations: 37.7 kB / 0.5943 GB, free: 27.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/0.6475, allocations: 1.24 MB / 0.5955 GB, free: 25.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.6475, allocations: 19.72 kB / 0.5955 GB, free: 25.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.6476, allocations: 25.72 kB / 0.5955 GB, free: 25.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.6477, allocations: 314 kB / 0.5958 GB, free: 25.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.6478, allocations: 44 kB / 0.5959 GB, free: 25.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.6478, allocations: 47.98 kB / 0.5959 GB, free: 25.41 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.648, allocations: 172.3 kB / 0.5961 GB, free: 25.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.648, allocations: 3.938 kB / 0.5961 GB, free: 25.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006236/0.6487, allocations: 0.6089 MB / 0.5967 GB, free: 24.6 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.6487, allocations: 37.7 kB / 0.5967 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6488, allocations: 0 / 0.5967 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.6488, allocations: 0 / 0.5967 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6489, allocations: 7.984 kB / 0.5967 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.6489, allocations: 0 / 0.5967 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.6492, allocations: 15.94 kB / 0.5968 GB, free: 24.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.6493, allocations: 115.9 kB / 0.5969 GB, free: 24.42 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.0007268/0.65, allocations: 0.7491 MB / 0.5976 GB, free: 23.65 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6503, allocations: 300.1 kB / 0.5979 GB, free: 23.36 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.6506, allocations: 333.8 kB / 0.5982 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6506, allocations: 0 / 0.5982 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6506, allocations: 0 / 0.5982 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6506, allocations: 4 kB / 0.5982 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6516, allocations: 1.085 MB / 0.5993 GB, free: 21.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6517, allocations: 4 kB / 0.5993 GB, free: 21.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.6517, allocations: 3.938 kB / 0.5993 GB, free: 21.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.6517, allocations: 4.141 kB / 0.5993 GB, free: 21.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.6517, allocations: 31.98 kB / 0.5993 GB, free: 21.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6518, allocations: 0 / 0.5993 GB, free: 21.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6518, allocations: 3.984 kB / 0.5993 GB, free: 21.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.6525, allocations: 0.665 MB / 0.6 GB, free: 21.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.6529, allocations: 333.3 kB / 0.6003 GB, free: 20.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.6531, allocations: 16 kB / 0.6003 GB, free: 20.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.6533, allocations: 19.94 kB / 0.6003 GB, free: 20.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.6533, allocations: 3.984 kB / 0.6003 GB, free: 20.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.6534, allocations: 112 kB / 0.6004 GB, free: 20.66 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0025/0.6559, allocations: 2.203 MB / 0.6026 GB, free: 18.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6559, allocations: 0 / 0.6026 GB, free: 18.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003933/0.6563, allocations: 112 kB / 0.6027 GB, free: 18.36 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.0002256/0.6566, allocations: 142.1 kB / 0.6028 GB, free: 18.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.6568, allocations: 207.4 kB / 0.603 GB, free: 18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6569, allocations: 4 kB / 0.603 GB, free: 18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.657, allocations: 151.3 kB / 0.6032 GB, free: 17.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.6578, allocations: 228.6 kB / 0.6034 GB, free: 17.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.6635, allocations: 4.714 MB / 0.608 GB, free: 12.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.6647, allocations: 1.703 MB / 0.6096 GB, free: 11.13 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001438/0.6662, allocations: 0.5767 MB / 0.6102 GB, free: 10.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6663, allocations: 135.4 kB / 0.6103 GB, free: 10.41 MB / 462.3 MB Notification: Performance of SimCode: time 7.21e-07/0.6663, allocations: 0 / 0.6103 GB, free: 10.41 MB / 462.3 MB Notification: Performance of Templates: time 0.02651/0.6929, allocations: 10.43 MB / 0.6205 GB, free: 15.93 MB / 478.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches