Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108.1 kB / 16.62 MB, free: 6.961 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.001357/0.001357, allocations: 189.8 kB / 17.54 MB, free: 6.066 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.276/1.276, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8506/0.8506, allocations: 119.3 MB / 410.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 0.4906 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4815, allocations: 80.68 MB / 0.5693 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002723/0.4842, allocations: 1.471 MB / 0.5708 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.4852, allocations: 0.5702 MB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.4852, allocations: 5.219 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4865, allocations: 1.713 MB / 0.573 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.4878, allocations: 1.753 MB / 0.5747 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.4882, allocations: 78.42 kB / 0.5748 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003874/0.492, allocations: 4.312 MB / 0.579 GB, free: 37.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.4921, allocations: 2.5 kB / 0.579 GB, free: 37.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.4963, allocations: 2.142 MB / 0.5811 GB, free: 36.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006123/0.5025, allocations: 4.06 MB / 0.5851 GB, free: 33.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.5036, allocations: 252 kB / 0.5853 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.5043, allocations: 327.9 kB / 0.5856 GB, free: 33.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007137/0.5114, allocations: 9.958 MB / 0.5953 GB, free: 23.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.007601/0.5191, allocations: 5.628 MB / 0.6008 GB, free: 17.49 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.528, allocations: 12.17 MB / 0.6127 GB, free: 5.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.5281, allocations: 0 / 0.6127 GB, free: 5.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5281, allocations: 0 / 0.6127 GB, free: 5.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003631/0.5284, allocations: 0 / 0.6127 GB, free: 5.25 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.02504/0.5535, allocations: 19.57 MB / 0.6318 GB, free: 1.457 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5536, allocations: 15.88 kB / 0.6318 GB, free: 1.441 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.5536, allocations: 34.69 kB / 0.6319 GB, free: 1.398 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.5567, allocations: 2.202 MB / 0.634 GB, free: 15.16 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04418/0.6009, allocations: 25.83 MB / 0.6593 GB, free: 5.145 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6009, allocations: 384 / 0.6593 GB, free: 5.145 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6011, allocations: 64.38 kB / 0.6593 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.602, allocations: 0.7862 MB / 0.6601 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.602, allocations: 3.984 kB / 0.6601 GB, free: 4.285 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.6022, allocations: 68 kB / 0.6602 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6022, allocations: 0 / 0.6602 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.6027, allocations: 459.9 kB / 0.6606 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.6138, allocations: 6.996 MB / 0.6674 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.6146, allocations: 294.5 kB / 0.6677 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.6151, allocations: 276.9 kB / 0.668 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.6152, allocations: 3.938 kB / 0.668 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008291/0.616, allocations: 0.7112 MB / 0.6687 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/0.616, allocations: 0 / 0.6687 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006337/0.6223, allocations: 4.24 MB / 0.6728 GB, free: 7.137 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.6224, allocations: 81.11 kB / 0.6729 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04201/0.6645, allocations: 24.83 MB / 0.6971 GB, free: 14.41 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.6649, allocations: 89.7 kB / 0.6972 GB, free: 14.32 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01167/0.6766, allocations: 10.82 MB / 0.7078 GB, free: 3.492 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.000546/0.6771, allocations: 83.8 kB / 0.7079 GB, free: 3.41 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009285/0.6781, allocations: 457.7 kB / 0.7083 GB, free: 2.957 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6782, allocations: 314 kB / 0.7086 GB, free: 2.645 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6787, allocations: 264 kB / 0.7089 GB, free: 2.387 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.6792, allocations: 268 kB / 0.7091 GB, free: 2.125 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.6801, allocations: 0.5861 MB / 0.7097 GB, free: 1.523 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6801, allocations: 0 / 0.7097 GB, free: 1.523 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005874/0.686, allocations: 3.978 MB / 0.7136 GB, free: 13.5 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.88e-05/0.6861, allocations: 33.7 kB / 0.7136 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6861, allocations: 4 kB / 0.7136 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6861, allocations: 0 / 0.7136 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.6862, allocations: 11.92 kB / 0.7136 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6862, allocations: 4 kB / 0.7136 GB, free: 13.44 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.6892, allocations: 67.94 kB / 0.7137 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007766/0.69, allocations: 0.8555 MB / 0.7145 GB, free: 12.52 MB / 0.5608 GB 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.007432/0.6974, allocations: 4.905 MB / 0.7193 GB, free: 7.594 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003405/0.7008, allocations: 2.271 MB / 0.7215 GB, free: 5.293 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.7057, allocations: 2.565 MB / 0.724 GB, free: 2.719 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7057, allocations: 4 kB / 0.724 GB, free: 2.715 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7058, allocations: 4 kB / 0.724 GB, free: 2.711 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.7058, allocations: 3.984 kB / 0.724 GB, free: 2.707 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.7193, allocations: 7.617 MB / 0.7315 GB, free: 11.04 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.7193, allocations: 3.938 kB / 0.7315 GB, free: 11.04 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.7194, allocations: 0 / 0.7315 GB, free: 11.04 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.7194, allocations: 4 kB / 0.7315 GB, free: 11.03 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005691/0.72, allocations: 192 kB / 0.7317 GB, free: 10.84 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.72, allocations: 0 / 0.7317 GB, free: 10.84 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.72, allocations: 0 / 0.7317 GB, free: 10.84 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.7252, allocations: 4.174 MB / 0.7357 GB, free: 6.617 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/0.7292, allocations: 1.98 MB / 0.7377 GB, free: 4.59 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/0.7309, allocations: 64 kB / 0.7377 GB, free: 4.527 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.7327, allocations: 68 kB / 0.7378 GB, free: 4.461 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.7327, allocations: 4 kB / 0.7378 GB, free: 4.457 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00067/0.7334, allocations: 0.8594 MB / 0.7386 GB, free: 3.598 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02619/0.7596, allocations: 17.24 MB / 0.7555 GB, free: 2.512 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7597, allocations: 0 / 0.7555 GB, free: 2.512 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002797/0.7625, allocations: 0.6445 MB / 0.7561 GB, free: 1.867 MB / 0.592 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.5165/1.279, allocations: 4.938 MB / 0.7609 GB, free: 155.1 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.28, allocations: 0.6932 MB / 0.7616 GB, free: 155.1 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.28, allocations: 0 / 0.7616 GB, free: 155.1 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/1.281, allocations: 419.6 kB / 0.762 GB, free: 155 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007546/1.289, allocations: 1.696 MB / 0.7637 GB, free: 153.9 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.398/2.687, allocations: 374.1 MB / 1.129 GB, free: 139.9 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/2.701, allocations: 8.917 MB / 1.138 GB, free: 130.9 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01372/2.714, allocations: 4.703 MB / 1.142 GB, free: 126.5 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00868/2.723, allocations: 9.276 MB / 1.151 GB, free: 117.2 MB / 0.686 GB Notification: Performance of SimCode: time 2.264e-06/2.723, allocations: 3.938 kB / 1.151 GB, free: 117.2 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.711/3.434, allocations: 308.6 MB / 1.453 GB, free: 55.74 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/3.434, allocations: 233.4 kB / 1.453 GB, free: 55.48 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/17.33, allocations: 0.8438 kB / 1.453 GB, free: 55.48 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1)