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.001438/0.001438, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001731/0.001731, allocations: 197.3 kB / 18.2 MB, free: 5.406 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.352/1.352, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.007/1.007, allocations: 119.3 MB / 411.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 55.91 kB / 0.4911 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6368, allocations: 80.68 MB / 0.5699 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002545/0.6394, allocations: 1.476 MB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.6403, allocations: 0.5675 MB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.6404, allocations: 1.312 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.6411, allocations: 0.8694 MB / 0.5727 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.6422, allocations: 0.8984 MB / 0.5736 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.6426, allocations: 68.55 kB / 0.5737 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.6447, allocations: 2.186 MB / 0.5758 GB, free: 39.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.6447, allocations: 6.359 kB / 0.5758 GB, free: 39.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.6463, allocations: 1.095 MB / 0.5769 GB, free: 38.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.649, allocations: 2.039 MB / 0.5789 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.6494, allocations: 128.8 kB / 0.579 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.6498, allocations: 200.9 kB / 0.5792 GB, free: 37.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005152/0.655, allocations: 4.989 MB / 0.5841 GB, free: 35.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.6579, allocations: 2.824 MB / 0.5868 GB, free: 32.47 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.662, allocations: 4.695 MB / 0.5914 GB, free: 27.77 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.662, allocations: 0 / 0.5914 GB, free: 27.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.614e-06/0.6621, allocations: 0 / 0.5914 GB, free: 27.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002/0.6623, allocations: 4 kB / 0.5914 GB, free: 27.76 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.01009/0.6724, allocations: 9.966 MB / 0.6011 GB, free: 17.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6724, allocations: 8.031 kB / 0.6011 GB, free: 17.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6737, allocations: 1.107 MB / 0.6022 GB, free: 16.53 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/0.694, allocations: 12.95 MB / 0.6149 GB, free: 3.453 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.694, allocations: 8.359 kB / 0.6149 GB, free: 3.445 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.6941, allocations: 36.38 kB / 0.6149 GB, free: 3.41 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.6946, allocations: 421.6 kB / 0.6153 GB, free: 2.992 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6946, allocations: 0 / 0.6153 GB, free: 2.992 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.6947, allocations: 32 kB / 0.6153 GB, free: 2.961 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6947, allocations: 3.938 kB / 0.6153 GB, free: 2.957 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.695, allocations: 243.9 kB / 0.6156 GB, free: 2.719 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.7001, allocations: 3.576 MB / 0.6191 GB, free: 15.1 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.7005, allocations: 162.6 kB / 0.6192 GB, free: 14.93 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.7008, allocations: 156.9 kB / 0.6194 GB, free: 14.77 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.7008, allocations: 0 / 0.6194 GB, free: 14.77 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.7015, allocations: 412.6 kB / 0.6198 GB, free: 14.35 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.7015, allocations: 0 / 0.6198 GB, free: 14.35 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003566/0.7051, allocations: 2.192 MB / 0.6219 GB, free: 12.13 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.7052, allocations: 81.11 kB / 0.622 GB, free: 12.04 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01973/0.7249, allocations: 12.47 MB / 0.6342 GB, free: 15.66 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.7251, allocations: 57.7 kB / 0.6342 GB, free: 15.6 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005366/0.7305, allocations: 5.2 MB / 0.6393 GB, free: 10.39 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.7308, allocations: 51.75 kB / 0.6393 GB, free: 10.34 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.7311, allocations: 249.6 kB / 0.6396 GB, free: 10.09 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7313, allocations: 306 kB / 0.6399 GB, free: 9.781 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.7315, allocations: 148 kB / 0.64 GB, free: 9.637 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.7317, allocations: 143.9 kB / 0.6402 GB, free: 9.496 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.7322, allocations: 352.2 kB / 0.6405 GB, free: 9.137 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7322, allocations: 0 / 0.6405 GB, free: 9.137 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003147/0.7354, allocations: 2.051 MB / 0.6425 GB, free: 7.059 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.7355, allocations: 37.69 kB / 0.6425 GB, free: 7.016 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7355, allocations: 0 / 0.6425 GB, free: 7.016 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.7355, allocations: 0 / 0.6425 GB, free: 7.016 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.7356, allocations: 8 kB / 0.6425 GB, free: 7.008 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7356, allocations: 96 / 0.6425 GB, free: 7.008 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.7371, allocations: 43.94 kB / 0.6426 GB, free: 6.965 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/0.7375, allocations: 444 kB / 0.643 GB, free: 6.531 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.004022/0.7415, allocations: 2.525 MB / 0.6455 GB, free: 3.988 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/0.7433, allocations: 1.145 MB / 0.6466 GB, free: 2.828 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7457, allocations: 1.28 MB / 0.6478 GB, free: 1.539 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7457, allocations: 0 / 0.6478 GB, free: 1.539 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7457, allocations: 4 kB / 0.6478 GB, free: 1.535 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7457, allocations: 0 / 0.6478 GB, free: 1.535 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006777/0.7525, allocations: 3.884 MB / 0.6516 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7525, allocations: 4 kB / 0.6516 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.7526, allocations: 7.938 kB / 0.6516 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7526, allocations: 4.125 kB / 0.6516 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.7528, allocations: 96 kB / 0.6517 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.7528, allocations: 0 / 0.6517 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7529, allocations: 7.984 kB / 0.6517 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.756, allocations: 2.166 MB / 0.6539 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/0.7581, allocations: 1.037 MB / 0.6549 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008685/0.759, allocations: 36 kB / 0.6549 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.7597, allocations: 39.94 kB / 0.6549 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.7598, allocations: 7.984 kB / 0.655 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/0.7601, allocations: 440 kB / 0.6554 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01394/0.774, allocations: 8.571 MB / 0.6637 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7741, allocations: 0 / 0.6637 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001803/0.7759, allocations: 344 kB / 0.6641 GB, free: 0.8711 MB / 0.4983 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.0002985/0.7762, allocations: 151.2 kB / 0.6642 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0007026/0.7769, allocations: 431.3 kB / 0.6646 GB, free: 288 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7769, allocations: 0 / 0.6646 GB, free: 288 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.7773, allocations: 267.4 kB / 0.6649 GB, free: 8 kB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.7799, allocations: 0.8458 MB / 0.6657 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/0.8079, allocations: 19.67 MB / 0.6849 GB, free: 11.45 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005916/0.8138, allocations: 4.789 MB / 0.6896 GB, free: 6.633 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00085/0.8147, allocations: 0.4955 MB / 0.6901 GB, free: 6.137 MB / 0.5295 GB Notification: Performance of SimCode: time 1.352e-06/0.8147, allocations: 4 kB / 0.6901 GB, free: 6.133 MB / 0.5295 GB Notification: Performance of Templates: time 1.632/2.447, allocations: 462.1 MB / 1.141 GB, free: 122.1 MB / 0.6704 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/jenkins1/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