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.00132/0.001321, allocations: 111.1 kB / 17.68 MB, free: 5.352 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.001345/0.001345, allocations: 192 kB / 18.61 MB, free: 4.434 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.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.589, allocations: 80.68 MB / 0.5711 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002601/0.5917, allocations: 1.415 MB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.5926, allocations: 0.5737 MB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.5926, allocations: 1.469 kB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.5933, allocations: 0.869 MB / 0.5739 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007623/0.5941, allocations: 0.9023 MB / 0.5748 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.5944, allocations: 84.11 kB / 0.5749 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.5961, allocations: 2.181 MB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.5962, allocations: 8.125 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.5976, allocations: 1.093 MB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.5996, allocations: 2.039 MB / 0.5801 GB, free: 38.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.5999, allocations: 132.5 kB / 0.5802 GB, free: 38.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.6003, allocations: 204.8 kB / 0.5804 GB, free: 38.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.004357/0.6047, allocations: 4.986 MB / 0.5853 GB, free: 35.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.6066, allocations: 2.824 MB / 0.588 GB, free: 32.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.6102, allocations: 6.257 MB / 0.5942 GB, free: 25.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6102, allocations: 0 / 0.5942 GB, free: 25.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6102, allocations: 0 / 0.5942 GB, free: 25.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001514/0.6104, allocations: 4 kB / 0.5942 GB, free: 25.91 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.01045/0.6209, allocations: 9.959 MB / 0.6039 GB, free: 15.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6209, allocations: 12.03 kB / 0.6039 GB, free: 15.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6219, allocations: 1.1 MB / 0.605 GB, free: 14.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/0.6415, allocations: 12.95 MB / 0.6176 GB, free: 1.617 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.6415, allocations: 384 / 0.6176 GB, free: 1.617 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.6416, allocations: 40.31 kB / 0.6177 GB, free: 1.578 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.6421, allocations: 425.6 kB / 0.6181 GB, free: 1.156 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.6421, allocations: 4 kB / 0.6181 GB, free: 1.152 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.6422, allocations: 32 kB / 0.6181 GB, free: 1.121 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6422, allocations: 0 / 0.6181 GB, free: 1.121 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.6425, allocations: 240 kB / 0.6183 GB, free: 0.8867 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.6485, allocations: 3.58 MB / 0.6218 GB, free: 13.26 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.6489, allocations: 166.6 kB / 0.622 GB, free: 13.09 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.6492, allocations: 156.8 kB / 0.6221 GB, free: 12.93 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.6492, allocations: 4 kB / 0.6221 GB, free: 12.93 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005297/0.6498, allocations: 416.7 kB / 0.6225 GB, free: 12.5 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/0.6498, allocations: 0 / 0.6225 GB, free: 12.5 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003203/0.653, allocations: 2.192 MB / 0.6247 GB, free: 10.29 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.6531, allocations: 81.05 kB / 0.6247 GB, free: 10.19 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02106/0.6741, allocations: 12.46 MB / 0.6369 GB, free: 13.82 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.6744, allocations: 61.7 kB / 0.637 GB, free: 13.76 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.007754/0.6822, allocations: 5.212 MB / 0.6421 GB, free: 8.543 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.6827, allocations: 51.75 kB / 0.6421 GB, free: 8.492 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.6831, allocations: 237.7 kB / 0.6423 GB, free: 8.254 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6833, allocations: 310 kB / 0.6426 GB, free: 7.945 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.6836, allocations: 144 kB / 0.6428 GB, free: 7.805 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.6839, allocations: 140 kB / 0.6429 GB, free: 7.668 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.6845, allocations: 352.2 kB / 0.6432 GB, free: 7.309 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6845, allocations: 0 / 0.6432 GB, free: 7.309 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003588/0.6881, allocations: 2.055 MB / 0.6452 GB, free: 5.227 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.6881, allocations: 36.05 kB / 0.6453 GB, free: 5.188 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6882, allocations: 3.984 kB / 0.6453 GB, free: 5.184 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6882, allocations: 4 kB / 0.6453 GB, free: 5.18 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.6883, allocations: 4 kB / 0.6453 GB, free: 5.176 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6883, allocations: 0 / 0.6453 GB, free: 5.176 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.6905, allocations: 32 kB / 0.6453 GB, free: 5.145 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/0.691, allocations: 444 kB / 0.6457 GB, free: 4.711 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.004714/0.6957, allocations: 2.529 MB / 0.6482 GB, free: 2.164 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/0.6981, allocations: 1.141 MB / 0.6493 GB, free: 1.008 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.7009, allocations: 1.288 MB / 0.6506 GB, free: 15.71 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.7009, allocations: 0 / 0.6506 GB, free: 15.71 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7009, allocations: 4.031 kB / 0.6506 GB, free: 15.71 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.7009, allocations: 7.922 kB / 0.6506 GB, free: 15.7 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.707, allocations: 3.892 MB / 0.6544 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.707, allocations: 0 / 0.6544 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.7071, allocations: 7.938 kB / 0.6544 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.7071, allocations: 0 / 0.6544 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/0.7074, allocations: 96 kB / 0.6545 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7074, allocations: 0 / 0.6545 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7074, allocations: 0 / 0.6545 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.7104, allocations: 2.17 MB / 0.6566 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/0.7126, allocations: 1.037 MB / 0.6576 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007206/0.7133, allocations: 36 kB / 0.6577 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.714, allocations: 32 kB / 0.6577 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.7141, allocations: 8 kB / 0.6577 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003419/0.7144, allocations: 436 kB / 0.6581 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01245/0.7269, allocations: 8.571 MB / 0.6665 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7269, allocations: 8 kB / 0.6665 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001544/0.7285, allocations: 340 kB / 0.6668 GB, free: 15.05 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.0003004/0.7288, allocations: 158.7 kB / 0.667 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.7295, allocations: 423.4 kB / 0.6674 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7295, allocations: 0 / 0.6674 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.7299, allocations: 259.4 kB / 0.6676 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.7325, allocations: 0.8536 MB / 0.6685 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/0.7597, allocations: 17.02 MB / 0.6851 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009928/0.7697, allocations: 4.785 MB / 0.6897 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.01037/0.7802, allocations: 2.383 MB / 0.6921 GB, free: 5.082 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.7814, allocations: 0.4955 MB / 0.6926 GB, free: 4.586 MB / 0.5295 GB Notification: Performance of SimCode: time 1.964e-06/0.7814, allocations: 0 / 0.6926 GB, free: 4.586 MB / 0.5295 GB Notification: Performance of Templates: time 0.107/0.8885, allocations: 41.11 MB / 0.7327 GB, free: 11.36 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches