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.001449/0.001449, allocations: 106.2 kB / 16.51 MB, free: 6.715 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.001433/0.001434, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.076/1.076, allocations: 119.3 MB / 410.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4902 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6046, allocations: 80.69 MB / 0.569 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003121/0.6077, allocations: 1.475 MB / 0.5705 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.6089, allocations: 0.5896 MB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.609, allocations: 0 / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.6094, allocations: 227.8 kB / 0.5713 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.6099, allocations: 268.5 kB / 0.5715 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.6101, allocations: 64.92 kB / 0.5716 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.6107, allocations: 0.5813 MB / 0.5722 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.6107, allocations: 7.031 kB / 0.5722 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.611, allocations: 303.3 kB / 0.5725 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.6116, allocations: 0.5032 MB / 0.573 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.6117, allocations: 32.34 kB / 0.573 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.6119, allocations: 101.4 kB / 0.5731 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.6131, allocations: 1.254 MB / 0.5743 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.6136, allocations: 0.7232 MB / 0.575 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.6149, allocations: 1.564 MB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6149, allocations: 0.9375 kB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6149, allocations: 0 / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.6149, allocations: 0 / 0.5765 GB, free: 38.65 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.002745/0.6177, allocations: 2.769 MB / 0.5792 GB, free: 36.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6177, allocations: 9.219 kB / 0.5793 GB, free: 36.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.6181, allocations: 289.5 kB / 0.5795 GB, free: 36.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.6226, allocations: 3.336 MB / 0.5828 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.6226, allocations: 2.656 kB / 0.5828 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.6227, allocations: 10.09 kB / 0.5828 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.6229, allocations: 142.6 kB / 0.5829 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6229, allocations: 0 / 0.5829 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.623, allocations: 17.69 kB / 0.5829 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.623, allocations: 0 / 0.5829 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.6231, allocations: 76.98 kB / 0.583 GB, free: 34.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.6243, allocations: 1.001 MB / 0.584 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.6244, allocations: 73.05 kB / 0.5841 GB, free: 33.48 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.6246, allocations: 59.36 kB / 0.5841 GB, free: 33.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.6246, allocations: 1.125 kB / 0.5841 GB, free: 33.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.6249, allocations: 182.1 kB / 0.5843 GB, free: 33.33 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6249, allocations: 1.125 kB / 0.5843 GB, free: 33.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.626, allocations: 0.6558 MB / 0.5849 GB, free: 33.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.6261, allocations: 83.39 kB / 0.585 GB, free: 32.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.6288, allocations: 3.184 MB / 0.5881 GB, free: 30.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.6289, allocations: 33.7 kB / 0.5882 GB, free: 30.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007003/0.6296, allocations: 1.24 MB / 0.5894 GB, free: 28.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.6296, allocations: 23.81 kB / 0.5894 GB, free: 28.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.6297, allocations: 77.72 kB / 0.5895 GB, free: 28.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.6298, allocations: 314 kB / 0.5898 GB, free: 28.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.6299, allocations: 40 kB / 0.5898 GB, free: 28.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.6299, allocations: 51.98 kB / 0.5899 GB, free: 28.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.6301, allocations: 164.3 kB / 0.59 GB, free: 28.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6301, allocations: 0 / 0.59 GB, free: 28.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005285/0.6306, allocations: 0.6127 MB / 0.5906 GB, free: 27.51 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6307, allocations: 34.33 kB / 0.5906 GB, free: 27.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6307, allocations: 3.938 kB / 0.5907 GB, free: 27.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6307, allocations: 4.094 kB / 0.5907 GB, free: 27.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.6308, allocations: 11.92 kB / 0.5907 GB, free: 27.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6308, allocations: 3.984 kB / 0.5907 GB, free: 27.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.631, allocations: 15.94 kB / 0.5907 GB, free: 27.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.6311, allocations: 112 kB / 0.5908 GB, free: 27.32 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.0006453/0.6318, allocations: 0.7412 MB / 0.5915 GB, free: 26.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.632, allocations: 300.1 kB / 0.5918 GB, free: 26.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.6323, allocations: 333.8 kB / 0.5921 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6323, allocations: 8.078 kB / 0.5921 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6323, allocations: 3.984 kB / 0.5921 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6323, allocations: 4 kB / 0.5921 GB, free: 25.92 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.6331, allocations: 1.085 MB / 0.5932 GB, free: 24.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6331, allocations: 4 kB / 0.5932 GB, free: 24.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.6331, allocations: 7.922 kB / 0.5932 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6332, allocations: 0 / 0.5932 GB, free: 24.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.6332, allocations: 28 kB / 0.5932 GB, free: 24.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6332, allocations: 0 / 0.5932 GB, free: 24.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6332, allocations: 0 / 0.5932 GB, free: 24.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.6337, allocations: 0.6728 MB / 0.5939 GB, free: 24.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.634, allocations: 337.3 kB / 0.5942 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6341, allocations: 12 kB / 0.5942 GB, free: 23.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6343, allocations: 8 kB / 0.5942 GB, free: 23.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.6344, allocations: 7.984 kB / 0.5942 GB, free: 23.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.6344, allocations: 116 kB / 0.5943 GB, free: 23.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001827/0.6363, allocations: 2.203 MB / 0.5965 GB, free: 21.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6363, allocations: 3.938 kB / 0.5965 GB, free: 21.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003565/0.6366, allocations: 116 kB / 0.5966 GB, free: 21.26 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.0001803/0.6368, allocations: 129.4 kB / 0.5967 GB, free: 21.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.6371, allocations: 215.3 kB / 0.5969 GB, free: 20.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6371, allocations: 0 / 0.5969 GB, free: 20.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.6372, allocations: 147.4 kB / 0.5971 GB, free: 20.75 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.6379, allocations: 224.6 kB / 0.5973 GB, free: 20.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.6422, allocations: 4.724 MB / 0.6019 GB, free: 15.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.6431, allocations: 1.687 MB / 0.6036 GB, free: 14.05 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001216/0.6443, allocations: 0.5806 MB / 0.6041 GB, free: 13.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6444, allocations: 135.4 kB / 0.6043 GB, free: 13.33 MB / 462.3 MB Notification: Performance of SimCode: time 8.62e-07/0.6444, allocations: 0 / 0.6043 GB, free: 13.33 MB / 462.3 MB Notification: Performance of Templates: time 0.02186/0.6663, allocations: 10.44 MB / 0.6145 GB, free: 2.84 MB / 462.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