Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001258/0.001258, allocations: 115.8 kB / 17.68 MB, free: 5.383 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.001151/0.00115, allocations: 191 kB / 18.62 MB, free: 4.457 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.387/1.387, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.12/1.12, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6663, allocations: 80.68 MB / 0.5712 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003318/0.6697, allocations: 1.417 MB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.671, allocations: 0.5684 MB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.6711, allocations: 1.438 kB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.672, allocations: 0.866 MB / 0.5739 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0009909/0.673, allocations: 0.9053 MB / 0.5748 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.6734, allocations: 80.73 kB / 0.5749 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.6763, allocations: 2.186 MB / 0.577 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.6764, allocations: 6.734 kB / 0.577 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.6794, allocations: 1.089 MB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.6834, allocations: 2.044 MB / 0.5801 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005665/0.684, allocations: 127.8 kB / 0.5802 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.6847, allocations: 205.4 kB / 0.5804 GB, free: 38.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006288/0.691, allocations: 4.985 MB / 0.5853 GB, free: 35.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004023/0.6951, allocations: 2.827 MB / 0.588 GB, free: 32.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.7007, allocations: 6.253 MB / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.7008, allocations: 4 kB / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7008, allocations: 0 / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002531/0.701, allocations: 0 / 0.5942 GB, free: 25.88 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.0147/0.7157, allocations: 9.963 MB / 0.6039 GB, free: 15.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.7158, allocations: 8.031 kB / 0.6039 GB, free: 15.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.7174, allocations: 1.103 MB / 0.605 GB, free: 14.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/0.7408, allocations: 12.95 MB / 0.6176 GB, free: 1.574 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.7409, allocations: 384 / 0.6176 GB, free: 1.574 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.741, allocations: 36.38 kB / 0.6177 GB, free: 1.539 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.7416, allocations: 429.6 kB / 0.6181 GB, free: 1.113 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7416, allocations: 0 / 0.6181 GB, free: 1.113 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.7417, allocations: 39.94 kB / 0.6181 GB, free: 1.074 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7417, allocations: 0 / 0.6181 GB, free: 1.074 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.742, allocations: 236 kB / 0.6183 GB, free: 0.8438 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/0.7482, allocations: 3.572 MB / 0.6218 GB, free: 13.23 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.7486, allocations: 162.6 kB / 0.622 GB, free: 13.06 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.7489, allocations: 160.8 kB / 0.6221 GB, free: 12.9 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.7489, allocations: 3.938 kB / 0.6221 GB, free: 12.89 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.7495, allocations: 416.6 kB / 0.6225 GB, free: 12.47 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/0.7495, allocations: 0 / 0.6225 GB, free: 12.47 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003567/0.7531, allocations: 2.184 MB / 0.6247 GB, free: 10.26 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.7532, allocations: 81.09 kB / 0.6247 GB, free: 10.16 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02023/0.7734, allocations: 12.46 MB / 0.6369 GB, free: 13.8 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.7737, allocations: 61.7 kB / 0.637 GB, free: 13.73 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.006668/0.7804, allocations: 5.212 MB / 0.6421 GB, free: 8.516 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.7808, allocations: 51.89 kB / 0.6421 GB, free: 8.465 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.7811, allocations: 237.7 kB / 0.6423 GB, free: 8.227 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7813, allocations: 318 kB / 0.6426 GB, free: 7.91 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.7816, allocations: 136 kB / 0.6428 GB, free: 7.777 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.7819, allocations: 147.9 kB / 0.6429 GB, free: 7.633 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.7825, allocations: 348.3 kB / 0.6432 GB, free: 7.277 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7825, allocations: 4 kB / 0.6432 GB, free: 7.273 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003805/0.7863, allocations: 2.059 MB / 0.6453 GB, free: 5.188 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 6.688e-05/0.7864, allocations: 33.7 kB / 0.6453 GB, free: 5.148 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7864, allocations: 0 / 0.6453 GB, free: 5.148 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.7865, allocations: 0 / 0.6453 GB, free: 5.148 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.7866, allocations: 7.984 kB / 0.6453 GB, free: 5.141 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7866, allocations: 0 / 0.6453 GB, free: 5.141 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.7883, allocations: 32 kB / 0.6453 GB, free: 5.109 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/0.7888, allocations: 444 kB / 0.6457 GB, free: 4.676 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.005009/0.7938, allocations: 2.525 MB / 0.6482 GB, free: 2.133 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/0.796, allocations: 1.145 MB / 0.6493 GB, free: 0.9727 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.7981, allocations: 1.284 MB / 0.6506 GB, free: 15.68 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7981, allocations: 0 / 0.6506 GB, free: 15.68 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7981, allocations: 0 / 0.6506 GB, free: 15.68 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7981, allocations: 144 / 0.6506 GB, free: 15.68 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.8035, allocations: 3.888 MB / 0.6544 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8035, allocations: 7.938 kB / 0.6544 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.8036, allocations: 11.92 kB / 0.6544 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.8036, allocations: 0 / 0.6544 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/0.804, allocations: 100 kB / 0.6545 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.804, allocations: 0 / 0.6545 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.804, allocations: 0 / 0.6545 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.8072, allocations: 2.17 MB / 0.6566 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/0.8101, allocations: 1.041 MB / 0.6576 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009478/0.811, allocations: 32 kB / 0.6577 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.812, allocations: 39.98 kB / 0.6577 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.812, allocations: 0 / 0.6577 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003957/0.8124, allocations: 448 kB / 0.6581 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01817/0.8306, allocations: 8.567 MB / 0.6665 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8.91e-07/0.8307, allocations: 0 / 0.6665 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.002054/0.8327, allocations: 340 kB / 0.6668 GB, free: 15.02 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.0003466/0.8331, allocations: 162.8 kB / 0.667 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007476/0.8338, allocations: 423.3 kB / 0.6674 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8339, allocations: 0 / 0.6674 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.8343, allocations: 267.4 kB / 0.6676 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/0.8383, allocations: 0.8536 MB / 0.6685 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/0.8706, allocations: 17 MB / 0.6851 GB, free: 12.26 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007402/0.8781, allocations: 4.789 MB / 0.6897 GB, free: 7.445 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006206/0.8843, allocations: 2.383 MB / 0.6921 GB, free: 5.051 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008183/0.8852, allocations: 0.4955 MB / 0.6926 GB, free: 4.555 MB / 0.5295 GB Notification: Performance of SimCode: time 1.633e-06/0.8852, allocations: 0 / 0.6926 GB, free: 4.555 MB / 0.5295 GB Notification: Performance of Templates: time 0.1205/1.006, allocations: 41.13 MB / 0.7327 GB, free: 11.32 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches