Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009009, allocations: 91.7 kB / 17.3 MB, free: 6.387 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.0009839/0.0009841, allocations: 177.9 kB / 18.21 MB, free: 5.543 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.307/1.307, allocations: 223.3 MB / 242.3 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8746/0.8746, allocations: 120.5 MB / 413.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5336, allocations: 82.84 MB / 0.5764 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001246/0.5349, allocations: 1.135 MB / 0.5775 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.5358, allocations: 0.577 MB / 0.5781 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.5358, allocations: 9.438 kB / 0.5781 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.536, allocations: 112.6 kB / 0.5782 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.5363, allocations: 154.5 kB / 0.5784 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.5365, allocations: 64.47 kB / 0.5784 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.5368, allocations: 331.9 kB / 0.5787 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.5368, allocations: 4.125 kB / 0.5788 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.537, allocations: 162.9 kB / 0.5789 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.5373, allocations: 278 kB / 0.5792 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.5373, allocations: 17.97 kB / 0.5792 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.5375, allocations: 89.27 kB / 0.5793 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.5381, allocations: 0.6252 MB / 0.5799 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.5383, allocations: 406.9 kB / 0.5803 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.5389, allocations: 0.6163 MB / 0.5809 GB, free: 39.06 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5389, allocations: 4.875 kB / 0.5809 GB, free: 39.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5389, allocations: 0 / 0.5809 GB, free: 39.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5389, allocations: 0 / 0.5809 GB, free: 39.05 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.001212/0.5401, allocations: 1.414 MB / 0.5823 GB, free: 37.87 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5402, allocations: 8.844 kB / 0.5823 GB, free: 37.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.5403, allocations: 156.5 kB / 0.5824 GB, free: 37.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.5424, allocations: 1.749 MB / 0.5841 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5424, allocations: 1.281 kB / 0.5841 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.5425, allocations: 6.844 kB / 0.5841 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5426, allocations: 100.1 kB / 0.5842 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.5426, allocations: 0 / 0.5842 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.5427, allocations: 4.594 kB / 0.5842 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5427, allocations: 0.9375 kB / 0.5842 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.5428, allocations: 44.89 kB / 0.5843 GB, free: 36.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.5434, allocations: 0.5887 MB / 0.5849 GB, free: 36.15 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 8.822e-05/0.5434, allocations: 57.11 kB / 0.5849 GB, free: 36.11 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.5435, allocations: 47.67 kB / 0.585 GB, free: 36.09 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.5435, allocations: 1.062 kB / 0.585 GB, free: 36.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.5437, allocations: 139.6 kB / 0.5851 GB, free: 35.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5438, allocations: 0 / 0.5851 GB, free: 35.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.5443, allocations: 413.6 kB / 0.5855 GB, free: 35.79 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5444, allocations: 79.17 kB / 0.5856 GB, free: 35.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.546, allocations: 1.639 MB / 0.5872 GB, free: 34.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5461, allocations: 30.77 kB / 0.5872 GB, free: 34.92 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.5465, allocations: 0.6243 MB / 0.5878 GB, free: 34.38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.5465, allocations: 27.27 kB / 0.5878 GB, free: 34.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5466, allocations: 20.03 kB / 0.5878 GB, free: 34.34 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.5466, allocations: 307.3 kB / 0.5881 GB, free: 34.04 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.5467, allocations: 35.95 kB / 0.5882 GB, free: 34.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.5467, allocations: 34.19 kB / 0.5882 GB, free: 34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.5468, allocations: 136.3 kB / 0.5883 GB, free: 33.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5469, allocations: 3.938 kB / 0.5883 GB, free: 33.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003195/0.5472, allocations: 381.3 kB / 0.5887 GB, free: 33.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5472, allocations: 33.69 kB / 0.5887 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5472, allocations: 0 / 0.5887 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5473, allocations: 4 kB / 0.5887 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.5473, allocations: 4 kB / 0.5887 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5473, allocations: 0 / 0.5887 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5475, allocations: 12 kB / 0.5887 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.5475, allocations: 56 kB / 0.5888 GB, free: 33.35 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.0003406/0.5479, allocations: 459.2 kB / 0.5892 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.548, allocations: 158 kB / 0.5894 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.5481, allocations: 166.8 kB / 0.5895 GB, free: 32.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5481, allocations: 8 kB / 0.5896 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5481, allocations: 0 / 0.5896 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5481, allocations: 0 / 0.5896 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.5486, allocations: 0.6321 MB / 0.5902 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5486, allocations: 4 kB / 0.5902 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.5486, allocations: 7.938 kB / 0.5902 GB, free: 31.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.5486, allocations: 3.984 kB / 0.5902 GB, free: 31.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.5486, allocations: 16 kB / 0.5902 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5486, allocations: 0 / 0.5902 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5486, allocations: 0 / 0.5902 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.549, allocations: 425.5 kB / 0.5906 GB, free: 31.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5491, allocations: 215.2 kB / 0.5908 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.5492, allocations: 12 kB / 0.5908 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5493, allocations: 7.938 kB / 0.5908 GB, free: 31.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.5494, allocations: 8 kB / 0.5908 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.5494, allocations: 56 kB / 0.5909 GB, free: 31.09 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0009104/0.5503, allocations: 1.147 MB / 0.592 GB, free: 29.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5503, allocations: 0 / 0.592 GB, free: 29.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002889/0.5506, allocations: 68 kB / 0.5921 GB, free: 29.88 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.0001491/0.5508, allocations: 138.1 kB / 0.5922 GB, free: 29.74 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.551, allocations: 175.4 kB / 0.5924 GB, free: 29.56 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.551, allocations: 0 / 0.5924 GB, free: 29.56 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.5511, allocations: 131.3 kB / 0.5925 GB, free: 29.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.5515, allocations: 130.2 kB / 0.5926 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.5537, allocations: 2.457 MB / 0.595 GB, free: 26.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.5542, allocations: 1.18 MB / 0.5962 GB, free: 25.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.5543, allocations: 75.44 kB / 0.5963 GB, free: 25.51 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.5543, allocations: 0 / 0.5963 GB, free: 25.51 MB / 462.3 MB Notification: Performance of Templates: time 0.02637/0.5807, allocations: 18.46 MB / 0.6143 GB, free: 6.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches