Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 101.4 kB / 16.51 MB, free: 6.695 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.001476/0.001476, allocations: 194.2 kB / 17.42 MB, free: 6.09 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.01/1.01, allocations: 119.3 MB / 410.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 55.91 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5346, allocations: 80.68 MB / 0.569 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.00254/0.5372, allocations: 1.477 MB / 0.5705 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.5383, allocations: 0.5847 MB / 0.5711 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.5384, allocations: 0 / 0.5711 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5399, allocations: 1.717 MB / 0.5727 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.5415, allocations: 1.761 MB / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.5418, allocations: 60.11 kB / 0.5745 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.5454, allocations: 4.292 MB / 0.5787 GB, free: 37.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.5455, allocations: 3.781 kB / 0.5787 GB, free: 37.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.5502, allocations: 2.141 MB / 0.5808 GB, free: 36.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/0.5553, allocations: 3.815 MB / 0.5845 GB, free: 34.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0006559/0.556, allocations: 252 kB / 0.5848 GB, free: 33.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.5566, allocations: 323.9 kB / 0.5851 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006827/0.5634, allocations: 9.954 MB / 0.5948 GB, free: 23.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004053/0.5675, allocations: 5.639 MB / 0.6003 GB, free: 17.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005646/0.5732, allocations: 11.93 MB / 0.6119 GB, free: 5.809 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5732, allocations: 0 / 0.6119 GB, free: 5.809 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5732, allocations: 0 / 0.6119 GB, free: 5.809 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002247/0.5734, allocations: 0 / 0.6119 GB, free: 5.809 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.02018/0.5936, allocations: 19.56 MB / 0.631 GB, free: 2.023 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5937, allocations: 12.03 kB / 0.6311 GB, free: 2.012 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.5961, allocations: 2.198 MB / 0.6332 GB, free: 15.78 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04582/0.6419, allocations: 25.83 MB / 0.6584 GB, free: 5.762 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.642, allocations: 4.375 kB / 0.6584 GB, free: 5.758 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.6422, allocations: 68.38 kB / 0.6585 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.6431, allocations: 0.7863 MB / 0.6593 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6431, allocations: 0 / 0.6593 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6433, allocations: 64 kB / 0.6593 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.6433, allocations: 0 / 0.6593 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.6438, allocations: 456 kB / 0.6598 GB, free: 4.391 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.6543, allocations: 7.003 MB / 0.6666 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.6551, allocations: 286.6 kB / 0.6669 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/0.6556, allocations: 288.8 kB / 0.6671 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.6556, allocations: 4 kB / 0.6672 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.6565, allocations: 0.7073 MB / 0.6678 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.6565, allocations: 0 / 0.6678 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.005683/0.6622, allocations: 4.232 MB / 0.672 GB, free: 7.758 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.6622, allocations: 85.05 kB / 0.6721 GB, free: 7.656 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03376/0.696, allocations: 24.84 MB / 0.6963 GB, free: 15.02 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003378/0.6964, allocations: 97.64 kB / 0.6964 GB, free: 14.92 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01096/0.7074, allocations: 10.83 MB / 0.707 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005652/0.708, allocations: 75.72 kB / 0.7071 GB, free: 4.016 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/0.7085, allocations: 457.7 kB / 0.7075 GB, free: 3.562 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7086, allocations: 318 kB / 0.7078 GB, free: 3.246 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.7091, allocations: 260 kB / 0.708 GB, free: 2.992 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.7095, allocations: 268 kB / 0.7083 GB, free: 2.73 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.7103, allocations: 0.5862 MB / 0.7089 GB, free: 2.129 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7104, allocations: 4 kB / 0.7089 GB, free: 2.125 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005357/0.7157, allocations: 3.976 MB / 0.7128 GB, free: 14.11 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.7158, allocations: 38.48 kB / 0.7128 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7158, allocations: 0 / 0.7128 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.7158, allocations: 4 kB / 0.7128 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.7159, allocations: 7.984 kB / 0.7128 GB, free: 14.05 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7159, allocations: 0 / 0.7128 GB, free: 14.05 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.7184, allocations: 71.84 kB / 0.7129 GB, free: 13.98 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007591/0.7192, allocations: 0.8594 MB / 0.7137 GB, free: 13.12 MB / 0.5608 GB 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.007114/0.7263, allocations: 4.905 MB / 0.7185 GB, free: 8.195 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003498/0.7299, allocations: 2.268 MB / 0.7207 GB, free: 5.898 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.7351, allocations: 2.561 MB / 0.7232 GB, free: 3.328 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7351, allocations: 0 / 0.7232 GB, free: 3.328 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7352, allocations: 3.984 kB / 0.7232 GB, free: 3.324 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7352, allocations: 4 kB / 0.7232 GB, free: 3.32 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.7485, allocations: 7.609 MB / 0.7307 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7486, allocations: 96 / 0.7307 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.7486, allocations: 15.81 kB / 0.7307 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.7486, allocations: 0 / 0.7307 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/0.7491, allocations: 200 kB / 0.7309 GB, free: 11.45 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7491, allocations: 0 / 0.7309 GB, free: 11.45 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7491, allocations: 0 / 0.7309 GB, free: 11.45 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.7543, allocations: 4.162 MB / 0.7349 GB, free: 7.234 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003921/0.7582, allocations: 1.983 MB / 0.7369 GB, free: 5.203 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001868/0.7601, allocations: 64 kB / 0.7369 GB, free: 5.141 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.7621, allocations: 68 kB / 0.737 GB, free: 5.074 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.7622, allocations: 4 kB / 0.737 GB, free: 5.07 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007603/0.7629, allocations: 0.8633 MB / 0.7378 GB, free: 4.207 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03052/0.7935, allocations: 17.24 MB / 0.7547 GB, free: 3.117 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.81e-07/0.7935, allocations: 0 / 0.7547 GB, free: 3.117 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003497/0.797, allocations: 0.6406 MB / 0.7553 GB, free: 2.477 MB / 0.592 GB 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.0006508/0.7977, allocations: 194.1 kB / 0.7555 GB, free: 2.281 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.7993, allocations: 0.6869 MB / 0.7561 GB, free: 1.582 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.7993, allocations: 0 / 0.7561 GB, free: 1.582 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.8, allocations: 419.4 kB / 0.7565 GB, free: 1.16 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4779/1.278, allocations: 1.698 MB / 0.7582 GB, free: 160.3 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/1.332, allocations: 39.01 MB / 0.7963 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/1.344, allocations: 8.921 MB / 0.805 GB, free: 132 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01246/1.356, allocations: 4.699 MB / 0.8096 GB, free: 127.3 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/1.358, allocations: 0.9838 MB / 0.8106 GB, free: 126.3 MB / 0.5923 GB Notification: Performance of SimCode: time 2.104e-06/1.358, allocations: 0 / 0.8106 GB, free: 126.3 MB / 0.5923 GB Notification: Performance of Templates: time 0.1974/1.555, allocations: 81.26 MB / 0.8899 GB, free: 44.95 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches