Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.00174/0.00174, allocations: 191 kB / 18.63 MB, free: 4.512 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.273/1.273, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8397/0.8397, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.468, allocations: 80.68 MB / 0.5712 GB, free: 43.74 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002409/0.4705, allocations: 1.416 MB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.4713, allocations: 0.5733 MB / 0.5731 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.4713, allocations: 1.25 kB / 0.5731 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.4717, allocations: 448.5 kB / 0.5735 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.4722, allocations: 489.7 kB / 0.574 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.4725, allocations: 81.06 kB / 0.5741 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.4733, allocations: 1.125 MB / 0.5752 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.4733, allocations: 7.891 kB / 0.5752 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.4739, allocations: 0.5623 MB / 0.5757 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.4747, allocations: 1.039 MB / 0.5767 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.4749, allocations: 65.78 kB / 0.5768 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.4751, allocations: 143.1 kB / 0.5769 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.4774, allocations: 2.492 MB / 0.5794 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.4783, allocations: 1.425 MB / 0.5808 GB, free: 37.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.4807, allocations: 3.165 MB / 0.5839 GB, free: 35.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4807, allocations: 5.25 kB / 0.5839 GB, free: 35.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4808, allocations: 0 / 0.5839 GB, free: 35.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.499e-05/0.4809, allocations: 0 / 0.5839 GB, free: 35.98 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.005784/0.4866, allocations: 5.169 MB / 0.5889 GB, free: 31.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4867, allocations: 8.031 kB / 0.5889 GB, free: 31.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.4871, allocations: 0.5561 MB / 0.5895 GB, free: 30.81 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008436/0.4955, allocations: 6.527 MB / 0.5958 GB, free: 24.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4956, allocations: 384 / 0.5958 GB, free: 24.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.4956, allocations: 28.36 kB / 0.5959 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.4959, allocations: 237.8 kB / 0.5961 GB, free: 23.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4959, allocations: 0 / 0.5961 GB, free: 23.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.496, allocations: 16 kB / 0.5961 GB, free: 23.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.496, allocations: 3.984 kB / 0.5961 GB, free: 23.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.4961, allocations: 131.9 kB / 0.5962 GB, free: 23.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4977, allocations: 1.862 MB / 0.5981 GB, free: 21.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4978, allocations: 98.58 kB / 0.5981 GB, free: 21.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4979, allocations: 96.89 kB / 0.5982 GB, free: 21.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.498, allocations: 0 / 0.5982 GB, free: 21.67 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.4982, allocations: 264.9 kB / 0.5985 GB, free: 21.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.4982, allocations: 0 / 0.5985 GB, free: 21.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.00107/0.4993, allocations: 1.16 MB / 0.5996 GB, free: 20.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.4993, allocations: 89.09 kB / 0.5997 GB, free: 20.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/0.5048, allocations: 6.271 MB / 0.6058 GB, free: 13.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.5049, allocations: 53.64 kB / 0.6059 GB, free: 13.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.5063, allocations: 2.52 MB / 0.6083 GB, free: 11.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.5064, allocations: 31.75 kB / 0.6084 GB, free: 11.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5066, allocations: 137.7 kB / 0.6085 GB, free: 11.13 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.5066, allocations: 306 kB / 0.6088 GB, free: 10.82 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.5067, allocations: 79.98 kB / 0.6089 GB, free: 10.75 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.5068, allocations: 76 kB / 0.6089 GB, free: 10.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5071, allocations: 232.2 kB / 0.6092 GB, free: 10.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5071, allocations: 4 kB / 0.6092 GB, free: 10.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009704/0.508, allocations: 1.086 MB / 0.6102 GB, free: 9.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5081, allocations: 37.69 kB / 0.6103 GB, free: 9.277 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5081, allocations: 0 / 0.6103 GB, free: 9.277 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5081, allocations: 4 kB / 0.6103 GB, free: 9.273 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.5082, allocations: 11.94 kB / 0.6103 GB, free: 9.262 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5082, allocations: 0 / 0.6103 GB, free: 9.262 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.5086, allocations: 16 kB / 0.6103 GB, free: 9.246 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.5088, allocations: 224 kB / 0.6105 GB, free: 9.027 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.00149/0.5103, allocations: 1.341 MB / 0.6118 GB, free: 7.672 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.5106, allocations: 0.5785 MB / 0.6124 GB, free: 7.086 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.5112, allocations: 0.6481 MB / 0.613 GB, free: 6.43 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5112, allocations: 3.938 kB / 0.613 GB, free: 6.426 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5112, allocations: 0 / 0.613 GB, free: 6.426 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5112, allocations: 0 / 0.613 GB, free: 6.426 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.5125, allocations: 2.022 MB / 0.615 GB, free: 4.355 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5125, allocations: 0 / 0.615 GB, free: 4.355 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.5126, allocations: 7.938 kB / 0.615 GB, free: 4.348 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5126, allocations: 0 / 0.615 GB, free: 4.348 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.5126, allocations: 56 kB / 0.6151 GB, free: 4.293 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5126, allocations: 4 kB / 0.6151 GB, free: 4.289 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5126, allocations: 0 / 0.6151 GB, free: 4.289 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.5135, allocations: 1.176 MB / 0.6162 GB, free: 3.082 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/0.5143, allocations: 0.564 MB / 0.6168 GB, free: 2.492 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.5145, allocations: 20 kB / 0.6168 GB, free: 2.473 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.5149, allocations: 16 kB / 0.6168 GB, free: 2.457 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5149, allocations: 4 kB / 0.6168 GB, free: 2.453 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.515, allocations: 224 kB / 0.617 GB, free: 2.234 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00481/0.5199, allocations: 4.332 MB / 0.6212 GB, free: 13.94 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.6212 GB, free: 13.94 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005971/0.5205, allocations: 188 kB / 0.6214 GB, free: 13.76 MB / 478.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.0002193/0.5207, allocations: 139.7 kB / 0.6216 GB, free: 13.61 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.5211, allocations: 279.4 kB / 0.6218 GB, free: 13.33 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5211, allocations: 0 / 0.6218 GB, free: 13.33 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5214, allocations: 191.3 kB / 0.622 GB, free: 13.13 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.5226, allocations: 449.5 kB / 0.6224 GB, free: 12.69 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.5327, allocations: 8.376 MB / 0.6306 GB, free: 4.281 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.535, allocations: 2.724 MB / 0.6333 GB, free: 1.531 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002285/0.5373, allocations: 1.141 MB / 0.6344 GB, free: 392 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.5375, allocations: 259.4 kB / 0.6346 GB, free: 132 kB / 478.3 MB Notification: Performance of SimCode: time 7.11e-07/0.5376, allocations: 4 kB / 0.6346 GB, free: 128 kB / 478.3 MB Notification: Performance of Templates: time 0.04648/0.584, allocations: 20.7 MB / 0.6549 GB, free: 11.32 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches