Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",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.001835/0.001834, allocations: 92.53 kB / 16.3 MB, free: 5.613 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.002154/0.002154, allocations: 186.3 kB / 17.2 MB, free: 5.547 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.823/1.823, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.069/1.069, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003578, allocations: 8 kB / 0.4942 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 82.85 MB / 0.5752 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001581/0.2006, allocations: 1.118 MB / 0.5762 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.2015, allocations: 0.5186 MB / 0.5767 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.2016, allocations: 4 kB / 0.5768 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.2018, allocations: 131.8 kB / 0.5769 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2021, allocations: 171.7 kB / 0.577 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.2024, allocations: 59.86 kB / 0.5771 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.2026, allocations: 219.7 kB / 0.5773 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.2027, allocations: 3.984 kB / 0.5773 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2029, allocations: 175.7 kB / 0.5775 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.2033, allocations: 281.7 kB / 0.5777 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.2034, allocations: 20 kB / 0.5778 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2035, allocations: 91.84 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.2042, allocations: 0.5808 MB / 0.5784 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2044, allocations: 161 kB / 0.5786 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.2049, allocations: 0.6078 MB / 0.5792 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2049, allocations: 0 / 0.5792 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.205, allocations: 0 / 0.5792 GB, free: 3.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.205, allocations: 3.938 kB / 0.5792 GB, free: 3.895 MB / 446.1 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.001662/0.2066, allocations: 1.438 MB / 0.5806 GB, free: 2.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2067, allocations: 12.03 kB / 0.5806 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.2067, allocations: 34.56 kB / 0.5806 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.2069, allocations: 150.1 kB / 0.5808 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.2096, allocations: 1.668 MB / 0.5824 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2097, allocations: 0 / 0.5824 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2097, allocations: 4 kB / 0.5824 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2099, allocations: 97.62 kB / 0.5825 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2099, allocations: 3.984 kB / 0.5825 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.2099, allocations: 8 kB / 0.5825 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2099, allocations: 3.953 kB / 0.5825 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.21, allocations: 51.94 kB / 0.5826 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5952/0.8052, allocations: 0.5782 MB / 0.5831 GB, free: 15.6 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.8055, allocations: 53.78 kB / 0.5832 GB, free: 15.57 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.8055, allocations: 4.453 kB / 0.5832 GB, free: 15.57 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.8058, allocations: 132.8 kB / 0.5833 GB, free: 15.5 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.8058, allocations: 0 / 0.5833 GB, free: 15.5 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.0008455/0.8067, allocations: 485.3 kB / 0.5838 GB, free: 15.34 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.8067, allocations: 80.89 kB / 0.5838 GB, free: 15.25 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.8092, allocations: 1.637 MB / 0.5854 GB, free: 15.09 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8092, allocations: 31.08 kB / 0.5855 GB, free: 15.05 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.8099, allocations: 0.628 MB / 0.5861 GB, free: 14.84 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.8099, allocations: 25.36 kB / 0.5861 GB, free: 14.84 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.81, allocations: 4.781 kB / 0.5861 GB, free: 14.84 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.81, allocations: 315.5 kB / 0.5864 GB, free: 14.53 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.8101, allocations: 33.81 kB / 0.5864 GB, free: 14.52 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.8102, allocations: 32.23 kB / 0.5865 GB, free: 14.52 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.8103, allocations: 64.17 kB / 0.5865 GB, free: 14.48 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8103, allocations: 0.9375 kB / 0.5865 GB, free: 14.48 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005309/0.8108, allocations: 375.7 kB / 0.5869 GB, free: 14.32 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.8109, allocations: 36.58 kB / 0.5869 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8109, allocations: 0.875 kB / 0.5869 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8109, allocations: 0.6875 kB / 0.5869 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.811, allocations: 5.328 kB / 0.5869 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.811, allocations: 4.719 kB / 0.5869 GB, free: 14.29 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.8112, allocations: 12.33 kB / 0.587 GB, free: 14.28 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.8113, allocations: 57.31 kB / 0.587 GB, free: 14.27 MB / 446.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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006424/0.8119, allocations: 457.4 kB / 0.5874 GB, free: 14.09 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.8121, allocations: 148.5 kB / 0.5876 GB, free: 14.01 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.8123, allocations: 169.8 kB / 0.5877 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8124, allocations: 2.234 kB / 0.5878 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8124, allocations: 0.8438 kB / 0.5878 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8124, allocations: 2.656 kB / 0.5878 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.8133, allocations: 0.6359 MB / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.8133, allocations: 1.219 kB / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.8133, allocations: 2.859 kB / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.8133, allocations: 0 / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.8134, allocations: 19.61 kB / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8134, allocations: 4.562 kB / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8134, allocations: 0 / 0.5884 GB, free: 13.61 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.814, allocations: 425.6 kB / 0.5888 GB, free: 13.39 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.8142, allocations: 218 kB / 0.589 GB, free: 13.21 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.8143, allocations: 11.88 kB / 0.589 GB, free: 13.21 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.8145, allocations: 7 kB / 0.589 GB, free: 13.21 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.8145, allocations: 10.58 kB / 0.589 GB, free: 13.2 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.8146, allocations: 58.66 kB / 0.5891 GB, free: 13.2 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.001739/0.8163, allocations: 1.138 MB / 0.5902 GB, free: 12.87 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8164, allocations: 0 / 0.5902 GB, free: 12.87 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003804/0.8167, allocations: 68.55 kB / 0.5903 GB, free: 12.87 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000851/0.8176, allocations: 0.9985 MB / 0.5913 GB, free: 12.14 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.8179, allocations: 177.5 kB / 0.5914 GB, free: 12.04 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8179, allocations: 0.7812 kB / 0.5914 GB, free: 12.04 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.8181, allocations: 128.3 kB / 0.5915 GB, free: 11.95 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.8184, allocations: 110.7 kB / 0.5916 GB, free: 11.88 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.833, allocations: 7.945 MB / 0.5994 GB, free: 8.453 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.8342, allocations: 1.208 MB / 0.6006 GB, free: 7.715 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0008703/0.8351, allocations: 294.3 kB / 0.6009 GB, free: 7.641 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.8356, allocations: 482.3 kB / 0.6013 GB, free: 7.266 MB / 446.3 MB Notification: Performance of SimCode: time 1.833e-06/0.8356, allocations: 0 / 0.6013 GB, free: 7.266 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.8774, allocations: 19.7 MB / 0.6206 GB, free: 10.38 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.8776, allocations: 212.4 kB / 0.6208 GB, free: 10.13 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.344, allocations: 0 / 0.6208 GB, free: 10.13 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) Environment - environmentSimulation: