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.0009585/0.0009586, allocations: 95.23 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.0009898/0.0009898, allocations: 175.4 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.217/1.217, 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.842/0.842, allocations: 120.5 MB / 413.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 15.98 kB / 0.495 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4724, allocations: 82.83 MB / 0.5759 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001149/0.4736, allocations: 1.11 MB / 0.577 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.4744, allocations: 0.5822 MB / 0.5776 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.4744, allocations: 0 / 0.5776 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.4746, allocations: 11.8 kB / 0.5776 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.4748, allocations: 63.41 kB / 0.5776 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.475, allocations: 56.14 kB / 0.5777 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.4751, allocations: 77.97 kB / 0.5778 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.4751, allocations: 2.5 kB / 0.5778 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.4752, allocations: 41.22 kB / 0.5778 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.4753, allocations: 58.59 kB / 0.5778 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4754, allocations: 1.938 kB / 0.5779 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4755, allocations: 75.94 kB / 0.5779 GB, free: 39.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.4756, allocations: 60.8 kB / 0.578 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.4756, allocations: 72.22 kB / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.4758, allocations: 145.7 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4758, allocations: 0 / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4758, allocations: 1.188 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4758, allocations: 0 / 0.5782 GB, free: 39.48 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.0003483/0.4762, allocations: 457.4 kB / 0.5786 GB, free: 39.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4762, allocations: 9.312 kB / 0.5786 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.4762, allocations: 31.84 kB / 0.5787 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.4763, allocations: 20.27 kB / 0.5787 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.4766, allocations: 311.3 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.4766, allocations: 9.906 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.4767, allocations: 2.031 kB / 0.579 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4768, allocations: 60.31 kB / 0.5791 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.4768, allocations: 0 / 0.5791 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.4768, allocations: 1.938 kB / 0.5791 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4768, allocations: 0 / 0.5791 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.4769, allocations: 25.17 kB / 0.5791 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.477, allocations: 196.1 kB / 0.5793 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.4771, allocations: 53.95 kB / 0.5793 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.4771, allocations: 34.42 kB / 0.5793 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.4771, allocations: 0 / 0.5793 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.4773, allocations: 98.91 kB / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4773, allocations: 0 / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002564/0.4775, allocations: 162.6 kB / 0.5796 GB, free: 38.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.4776, allocations: 82.83 kB / 0.5797 GB, free: 38.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4778, allocations: 236.6 kB / 0.5799 GB, free: 37.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4778, allocations: 30.92 kB / 0.5799 GB, free: 37.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.4778, allocations: 117.1 kB / 0.58 GB, free: 37.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4779, allocations: 27.92 kB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.4779, allocations: 12.47 kB / 0.5801 GB, free: 37.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.4779, allocations: 332.3 kB / 0.5804 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.478, allocations: 17.62 kB / 0.5804 GB, free: 37.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.478, allocations: 17.61 kB / 0.5804 GB, free: 37.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.897e-05/0.4781, allocations: 106.4 kB / 0.5805 GB, free: 37.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4781, allocations: 4 kB / 0.5805 GB, free: 37.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001486/0.4782, allocations: 148.8 kB / 0.5807 GB, free: 37.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4783, allocations: 39.06 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4783, allocations: 1.375 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.4783, allocations: 4 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.4784, allocations: 4.125 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4784, allocations: 1.375 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.4784, allocations: 6.656 kB / 0.5807 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4785, allocations: 11.2 kB / 0.5807 GB, free: 37.08 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 8.925e-05/0.4785, allocations: 176.2 kB / 0.5809 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.4786, allocations: 21.38 kB / 0.5809 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.4786, allocations: 21.64 kB / 0.581 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4786, allocations: 1.375 kB / 0.581 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4786, allocations: 0 / 0.581 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4786, allocations: 3.938 kB / 0.581 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4787, allocations: 215.8 kB / 0.5812 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4787, allocations: 3.938 kB / 0.5812 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.4788, allocations: 2.75 kB / 0.5812 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4788, allocations: 4 kB / 0.5812 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4788, allocations: 8.109 kB / 0.5812 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4788, allocations: 0 / 0.5812 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4788, allocations: 1.375 kB / 0.5812 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.479, allocations: 196.9 kB / 0.5814 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.479, allocations: 100.9 kB / 0.5815 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.4791, allocations: 6.688 kB / 0.5815 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.4791, allocations: 3.969 kB / 0.5815 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.4792, allocations: 5.406 kB / 0.5815 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.4792, allocations: 11.52 kB / 0.5815 GB, free: 36.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4793, allocations: 171.9 kB / 0.5817 GB, free: 36.26 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4793, allocations: 0 / 0.5817 GB, free: 36.26 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002279/0.4795, allocations: 41.48 kB / 0.5817 GB, free: 36.25 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.0003916/0.4799, allocations: 0.767 MB / 0.5824 GB, free: 35.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.4801, allocations: 134.7 kB / 0.5826 GB, free: 35.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4801, allocations: 0 / 0.5826 GB, free: 35.45 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.4802, allocations: 119.1 kB / 0.5827 GB, free: 35.35 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4804, allocations: 19.97 kB / 0.5827 GB, free: 35.34 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.482, allocations: 1.955 MB / 0.5846 GB, free: 33.81 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4822, allocations: 0.7253 MB / 0.5853 GB, free: 33.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.4823, allocations: 20.89 kB / 0.5853 GB, free: 33.08 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.4823, allocations: 43.02 kB / 0.5854 GB, free: 33.05 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.4823, allocations: 0 / 0.5854 GB, free: 33.05 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.4952, allocations: 3.189 MB / 0.5885 GB, free: 31.56 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.4954, allocations: 207.2 kB / 0.5887 GB, free: 31.31 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.294, allocations: 0 / 0.5887 GB, free: 31.31 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)