Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008679, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009247/0.0009247, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.503/1.503, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.085/1.085, allocations: 120.5 MB / 413.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 0.4949 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5819/0.5822, allocations: 82.84 MB / 0.5758 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001585/0.5839, allocations: 1.123 MB / 0.5769 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.5848, allocations: 0.5802 MB / 0.5775 GB, free: 40 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.5849, allocations: 1.188 kB / 0.5775 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.5856, allocations: 0.87 MB / 0.5783 GB, free: 39.56 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007834/0.5864, allocations: 0.8962 MB / 0.5792 GB, free: 39.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.5867, allocations: 65.53 kB / 0.5792 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.5887, allocations: 2.171 MB / 0.5814 GB, free: 38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.5888, allocations: 3.688 kB / 0.5814 GB, free: 38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.5913, allocations: 1.085 MB / 0.5824 GB, free: 37.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.5946, allocations: 1.922 MB / 0.5843 GB, free: 36.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.5949, allocations: 126.5 kB / 0.5844 GB, free: 36.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.5953, allocations: 203.5 kB / 0.5846 GB, free: 36.65 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003696/0.599, allocations: 4.985 MB / 0.5895 GB, free: 32.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.6015, allocations: 2.849 MB / 0.5923 GB, free: 29.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.6048, allocations: 5.979 MB / 0.5981 GB, free: 23.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6048, allocations: 0 / 0.5981 GB, free: 23.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6048, allocations: 0 / 0.5981 GB, free: 23.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001136/0.605, allocations: 0 / 0.5981 GB, free: 23.36 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.006934/0.6119, allocations: 8.794 MB / 0.6067 GB, free: 14.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.612, allocations: 12.03 kB / 0.6067 GB, free: 14.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.6129, allocations: 1.103 MB / 0.6078 GB, free: 13.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.6294, allocations: 12.95 MB / 0.6204 GB, free: 248 kB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6294, allocations: 384 / 0.6204 GB, free: 248 kB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.6295, allocations: 40.38 kB / 0.6205 GB, free: 208 kB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.6301, allocations: 437.5 kB / 0.6209 GB, free: 15.77 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6301, allocations: 4 kB / 0.6209 GB, free: 15.77 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.6302, allocations: 32 kB / 0.6209 GB, free: 15.73 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6302, allocations: 0 / 0.6209 GB, free: 15.73 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.6305, allocations: 236 kB / 0.6211 GB, free: 15.5 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.635, allocations: 3.58 MB / 0.6246 GB, free: 11.88 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.6353, allocations: 162.6 kB / 0.6248 GB, free: 11.71 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.6356, allocations: 160.9 kB / 0.625 GB, free: 11.55 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.6356, allocations: 3.938 kB / 0.625 GB, free: 11.55 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.6361, allocations: 412.6 kB / 0.6254 GB, free: 11.12 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6361, allocations: 0 / 0.6254 GB, free: 11.12 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.00298/0.6391, allocations: 2.18 MB / 0.6275 GB, free: 8.918 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.6391, allocations: 85.09 kB / 0.6276 GB, free: 8.816 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01944/0.6586, allocations: 12.46 MB / 0.6397 GB, free: 12.45 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.6588, allocations: 61.7 kB / 0.6398 GB, free: 12.38 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005466/0.6643, allocations: 5.208 MB / 0.6449 GB, free: 7.172 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.6646, allocations: 59.58 kB / 0.6449 GB, free: 7.113 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6647, allocations: 45.72 kB / 0.645 GB, free: 7.062 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6648, allocations: 306 kB / 0.6453 GB, free: 6.758 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.6651, allocations: 144 kB / 0.6454 GB, free: 6.617 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.6653, allocations: 140 kB / 0.6455 GB, free: 6.48 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.6659, allocations: 356.3 kB / 0.6459 GB, free: 6.117 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6659, allocations: 0 / 0.6459 GB, free: 6.117 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003128/0.669, allocations: 2.055 MB / 0.6479 GB, free: 4.035 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.6691, allocations: 41.69 kB / 0.6479 GB, free: 3.988 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.6691, allocations: 0 / 0.6479 GB, free: 3.988 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6691, allocations: 0 / 0.6479 GB, free: 3.988 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.6692, allocations: 4 kB / 0.6479 GB, free: 3.984 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6692, allocations: 0 / 0.6479 GB, free: 3.984 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.6706, allocations: 39.98 kB / 0.648 GB, free: 3.945 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/0.6709, allocations: 444 kB / 0.6484 GB, free: 3.512 MB / 494.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.004261/0.6752, allocations: 2.529 MB / 0.6509 GB, free: 0.9688 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001746/0.677, allocations: 1.141 MB / 0.652 GB, free: 15.81 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.6792, allocations: 1.284 MB / 0.6532 GB, free: 14.52 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6792, allocations: 0 / 0.6532 GB, free: 14.52 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6792, allocations: 0 / 0.6532 GB, free: 14.52 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6792, allocations: 0 / 0.6532 GB, free: 14.52 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.6837, allocations: 3.884 MB / 0.657 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6837, allocations: 3.938 kB / 0.657 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.6838, allocations: 11.86 kB / 0.657 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.6838, allocations: 4 kB / 0.657 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.684, allocations: 96 kB / 0.6571 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.684, allocations: 4 kB / 0.6571 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.684, allocations: 0 / 0.6571 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.6867, allocations: 2.162 MB / 0.6592 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.6882, allocations: 1.033 MB / 0.6603 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/0.6887, allocations: 40 kB / 0.6603 GB, free: 7.168 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.6893, allocations: 32 kB / 0.6603 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.6894, allocations: 7.984 kB / 0.6603 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/0.6898, allocations: 444 kB / 0.6608 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01416/0.7039, allocations: 8.567 MB / 0.6691 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5.01e-07/0.704, allocations: 0 / 0.6691 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001588/0.7056, allocations: 344 kB / 0.6694 GB, free: 13.87 MB / 0.5139 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.0003146/0.7059, allocations: 165.8 kB / 0.6696 GB, free: 13.7 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.7067, allocations: 427.4 kB / 0.67 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7067, allocations: 0 / 0.67 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.7071, allocations: 267.5 kB / 0.6703 GB, free: 13 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.71, allocations: 0.8593 MB / 0.6711 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.7419, allocations: 19.21 MB / 0.6899 GB, free: 8.898 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005128/0.7471, allocations: 4.789 MB / 0.6945 GB, free: 4.082 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006264/0.7533, allocations: 2.328 MB / 0.6968 GB, free: 1.742 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.754, allocations: 0.4995 MB / 0.6973 GB, free: 1.242 MB / 0.5295 GB Notification: Performance of SimCode: time 3.286e-06/0.754, allocations: 0 / 0.6973 GB, free: 1.242 MB / 0.5295 GB Notification: Performance of Templates: time 0.1084/0.8624, allocations: 40.37 MB / 0.7367 GB, free: 8.75 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches