Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.001324/0.001324, allocations: 110.6 kB / 16.51 MB, free: 6.715 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.001447/0.001447, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.59/1.59, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.288/1.288, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7324, allocations: 80.69 MB / 0.5692 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003507/0.7359, allocations: 1.454 MB / 0.5706 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.7373, allocations: 0.5895 MB / 0.5711 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.7374, allocations: 3.938 kB / 0.5712 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.7376, allocations: 14.86 kB / 0.5712 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.738, allocations: 52.62 kB / 0.5712 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.7383, allocations: 59.56 kB / 0.5713 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.7385, allocations: 86.45 kB / 0.5714 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.7385, allocations: 6.203 kB / 0.5714 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.7387, allocations: 40.91 kB / 0.5714 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.7389, allocations: 46.52 kB / 0.5714 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.7389, allocations: 2.438 kB / 0.5714 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.7392, allocations: 80.36 kB / 0.5715 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.7393, allocations: 56.42 kB / 0.5716 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.7394, allocations: 50 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.7398, allocations: 146.7 kB / 0.5718 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7398, allocations: 0 / 0.5718 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.362e-06/0.7398, allocations: 4 kB / 0.5718 GB, free: 41.51 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.7398, allocations: 0 / 0.5718 GB, free: 41.51 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.0005855/0.7404, allocations: 474.6 kB / 0.5722 GB, free: 41.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.7405, allocations: 8.531 kB / 0.5722 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.7405, allocations: 40.52 kB / 0.5723 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.7406, allocations: 17.12 kB / 0.5723 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.741, allocations: 307 kB / 0.5726 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.741, allocations: 1.781 kB / 0.5726 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.741, allocations: 3 kB / 0.5726 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.7412, allocations: 62.66 kB / 0.5726 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.7412, allocations: 1.25 kB / 0.5726 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.7412, allocations: 1.312 kB / 0.5726 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7412, allocations: 3.938 kB / 0.5726 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.7413, allocations: 24 kB / 0.5727 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.7415, allocations: 201.6 kB / 0.5729 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.7415, allocations: 37.92 kB / 0.5729 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.7416, allocations: 38.7 kB / 0.5729 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.7416, allocations: 3.938 kB / 0.5729 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.7419, allocations: 98.44 kB / 0.573 GB, free: 40.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.7419, allocations: 0 / 0.573 GB, free: 40.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003471/0.7422, allocations: 162.9 kB / 0.5732 GB, free: 40.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.7423, allocations: 79.08 kB / 0.5733 GB, free: 40.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.7426, allocations: 236.1 kB / 0.5735 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.7426, allocations: 30.7 kB / 0.5735 GB, free: 39.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.7427, allocations: 125 kB / 0.5736 GB, free: 39.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.7427, allocations: 16.09 kB / 0.5737 GB, free: 39.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.7428, allocations: 34.33 kB / 0.5737 GB, free: 39.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7429, allocations: 329.5 kB / 0.574 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.743, allocations: 16.92 kB / 0.574 GB, free: 39.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.743, allocations: 16.84 kB / 0.574 GB, free: 39.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.7431, allocations: 103.9 kB / 0.5741 GB, free: 39.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7431, allocations: 0 / 0.5741 GB, free: 39.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002133/0.7434, allocations: 156.5 kB / 0.5743 GB, free: 39.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.7434, allocations: 36.84 kB / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7434, allocations: 0 / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.7435, allocations: 0.7812 kB / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.7436, allocations: 4.719 kB / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7436, allocations: 0 / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.7436, allocations: 7.062 kB / 0.5743 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.7437, allocations: 6.312 kB / 0.5743 GB, free: 39.12 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.0001677/0.7438, allocations: 184 kB / 0.5745 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.7439, allocations: 22.41 kB / 0.5745 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.7439, allocations: 21.62 kB / 0.5746 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7439, allocations: 0 / 0.5746 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.744, allocations: 1.5 kB / 0.5746 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.744, allocations: 4.125 kB / 0.5746 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7442, allocations: 209.9 kB / 0.5748 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.7442, allocations: 9.172 kB / 0.5748 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.7442, allocations: 10.47 kB / 0.5748 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7442, allocations: 0 / 0.5748 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.7442, allocations: 4.469 kB / 0.5748 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7442, allocations: 7.938 kB / 0.5748 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7442, allocations: 1.188 kB / 0.5748 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.7445, allocations: 188.7 kB / 0.575 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.7446, allocations: 104.9 kB / 0.5751 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.7447, allocations: 4.344 kB / 0.5751 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.7447, allocations: 1.969 kB / 0.5751 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.7448, allocations: 10.17 kB / 0.5751 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.7448, allocations: 7.406 kB / 0.5751 GB, free: 38.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001745/0.745, allocations: 178.5 kB / 0.5753 GB, free: 38.28 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.01e-07/0.745, allocations: 1.219 kB / 0.5753 GB, free: 38.28 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002693/0.7452, allocations: 33.81 kB / 0.5753 GB, free: 38.28 MB / 462.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.0005884/0.7458, allocations: 0.7658 MB / 0.576 GB, free: 37.58 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.7461, allocations: 145.8 kB / 0.5762 GB, free: 37.46 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7461, allocations: 1.156 kB / 0.5762 GB, free: 37.46 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.7462, allocations: 114 kB / 0.5763 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.7464, allocations: 18.45 kB / 0.5763 GB, free: 37.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.7484, allocations: 1.946 MB / 0.5782 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.7486, allocations: 0.7287 MB / 0.5789 GB, free: 35.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.7487, allocations: 26.56 kB / 0.5789 GB, free: 35.11 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.7487, allocations: 41.48 kB / 0.579 GB, free: 35.07 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.7487, allocations: 0 / 0.579 GB, free: 35.07 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.7622, allocations: 3.25 MB / 0.5822 GB, free: 33.5 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.7624, allocations: 209.7 kB / 0.5824 GB, free: 33.25 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.64, allocations: 0 / 0.5824 GB, free: 33.25 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1)