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.0009423/0.0009423, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0009644/0.0009645, allocations: 177 kB / 17.56 MB, free: 6.18 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.264/1.264, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9078/0.9078, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 12 kB / 0.495 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4934, allocations: 82.84 MB / 0.5759 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001309/0.4948, allocations: 1.133 MB / 0.577 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.4956, allocations: 0.5762 MB / 0.5776 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.4957, allocations: 1.125 kB / 0.5776 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.4968, allocations: 1.712 MB / 0.5792 GB, free: 39.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4981, allocations: 1.759 MB / 0.581 GB, free: 38.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4983, allocations: 60.14 kB / 0.581 GB, free: 38.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.5017, allocations: 4.3 MB / 0.5852 GB, free: 36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.5018, allocations: 6.375 kB / 0.5852 GB, free: 36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.5048, allocations: 2.135 MB / 0.5873 GB, free: 34.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.5078, allocations: 3.818 MB / 0.591 GB, free: 30.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.5082, allocations: 255.9 kB / 0.5913 GB, free: 30.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.5086, allocations: 323.9 kB / 0.5916 GB, free: 30.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006064/0.5147, allocations: 9.958 MB / 0.6013 GB, free: 20.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.5197, allocations: 5.661 MB / 0.6068 GB, free: 14.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.5265, allocations: 11.87 MB / 0.6184 GB, free: 2.434 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5265, allocations: 0 / 0.6184 GB, free: 2.434 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5265, allocations: 0 / 0.6184 GB, free: 2.434 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002988/0.5268, allocations: 0 / 0.6184 GB, free: 2.434 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.01901/0.5458, allocations: 17.23 MB / 0.6353 GB, free: 1.008 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.5459, allocations: 15.97 kB / 0.6353 GB, free: 0.9922 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.546, allocations: 34.73 kB / 0.6353 GB, free: 0.9492 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.5493, allocations: 2.206 MB / 0.6375 GB, free: 14.7 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04608/0.5954, allocations: 25.82 MB / 0.6627 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5955, allocations: 384 / 0.6627 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.5957, allocations: 64.38 kB / 0.6627 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5969, allocations: 0.7784 MB / 0.6635 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5969, allocations: 4 kB / 0.6635 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.597, allocations: 60 kB / 0.6636 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5971, allocations: 8 kB / 0.6636 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.5977, allocations: 459.9 kB / 0.664 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.6101, allocations: 7.007 MB / 0.6708 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.6108, allocations: 282.6 kB / 0.6711 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.6113, allocations: 280.9 kB / 0.6714 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.6113, allocations: 3.984 kB / 0.6714 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007539/0.6121, allocations: 0.7073 MB / 0.6721 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.6121, allocations: 3.938 kB / 0.6721 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.005347/0.6174, allocations: 4.232 MB / 0.6762 GB, free: 6.691 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.6175, allocations: 81.11 kB / 0.6763 GB, free: 6.594 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.038/0.6555, allocations: 24.83 MB / 0.7005 GB, free: 13.96 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/0.6559, allocations: 89.7 kB / 0.7006 GB, free: 13.87 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01127/0.6671, allocations: 10.82 MB / 0.7112 GB, free: 3.043 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.6676, allocations: 91.61 kB / 0.7113 GB, free: 2.957 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.6678, allocations: 81.72 kB / 0.7114 GB, free: 2.871 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.6679, allocations: 306 kB / 0.7117 GB, free: 2.566 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.6683, allocations: 268 kB / 0.7119 GB, free: 2.305 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.6687, allocations: 264 kB / 0.7122 GB, free: 2.047 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.6696, allocations: 0.5979 MB / 0.7127 GB, free: 1.434 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6696, allocations: 0 / 0.7127 GB, free: 1.434 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004771/0.6744, allocations: 3.974 MB / 0.7166 GB, free: 13.42 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.6744, allocations: 33.7 kB / 0.7167 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6745, allocations: 0 / 0.7167 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6745, allocations: 7.938 kB / 0.7167 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.6746, allocations: 4 kB / 0.7167 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6746, allocations: 240 / 0.7167 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.6769, allocations: 75.92 kB / 0.7167 GB, free: 13.29 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007096/0.6776, allocations: 0.8594 MB / 0.7176 GB, free: 12.43 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.006702/0.6843, allocations: 4.901 MB / 0.7224 GB, free: 7.512 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002926/0.6873, allocations: 2.271 MB / 0.7246 GB, free: 5.211 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.6918, allocations: 2.561 MB / 0.7271 GB, free: 2.641 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6918, allocations: 0 / 0.7271 GB, free: 2.641 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6918, allocations: 4 kB / 0.7271 GB, free: 2.637 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6918, allocations: 0 / 0.7271 GB, free: 2.637 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.7066, allocations: 7.617 MB / 0.7345 GB, free: 10.97 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7067, allocations: 3.938 kB / 0.7345 GB, free: 10.96 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.7067, allocations: 0 / 0.7345 GB, free: 10.96 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.7067, allocations: 7.938 kB / 0.7345 GB, free: 10.96 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005588/0.7073, allocations: 188 kB / 0.7347 GB, free: 10.77 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.7073, allocations: 0 / 0.7347 GB, free: 10.77 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7073, allocations: 3.984 kB / 0.7347 GB, free: 10.77 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.7126, allocations: 4.174 MB / 0.7388 GB, free: 6.543 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/0.7161, allocations: 1.98 MB / 0.7407 GB, free: 4.516 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/0.7175, allocations: 71.98 kB / 0.7408 GB, free: 4.445 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.7189, allocations: 64 kB / 0.7409 GB, free: 4.383 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.7189, allocations: 4 kB / 0.7409 GB, free: 4.379 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006424/0.7196, allocations: 0.8594 MB / 0.7417 GB, free: 3.52 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02626/0.7458, allocations: 17.24 MB / 0.7585 GB, free: 2.43 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7459, allocations: 0 / 0.7585 GB, free: 2.43 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002963/0.7488, allocations: 0.6445 MB / 0.7592 GB, free: 1.785 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.5294/1.278, allocations: 4.938 MB / 0.764 GB, free: 157 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.28, allocations: 0.6862 MB / 0.7647 GB, free: 156.9 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.28, allocations: 0 / 0.7647 GB, free: 156.9 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/1.28, allocations: 421.5 kB / 0.7651 GB, free: 156.9 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/1.285, allocations: 1.698 MB / 0.7667 GB, free: 156 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.48/2.765, allocations: 374.1 MB / 1.132 GB, free: 145.9 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01426/2.779, allocations: 8.916 MB / 1.141 GB, free: 137 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01325/2.793, allocations: 4.693 MB / 1.145 GB, free: 132.5 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/2.803, allocations: 9.277 MB / 1.154 GB, free: 123.2 MB / 0.686 GB Notification: Performance of SimCode: time 2.124e-06/2.803, allocations: 0 / 1.154 GB, free: 123.2 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7379/3.541, allocations: 303.8 MB / 1.451 GB, free: 57.87 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/3.541, allocations: 230.1 kB / 1.451 GB, free: 57.61 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/16.56, allocations: 0 / 1.451 GB, free: 57.61 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)