Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.001148/0.001148, allocations: 91.48 kB / 16.3 MB, free: 6.457 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.001254/0.001254, allocations: 180.6 kB / 17.2 MB, free: 6.34 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.554/1.554, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.057/1.057, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2028, allocations: 82.84 MB / 0.5752 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001973/0.2049, allocations: 1.122 MB / 0.5763 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.206, allocations: 0.5186 MB / 0.5768 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.2061, allocations: 7.938 kB / 0.5768 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.207, allocations: 0.9481 MB / 0.5777 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.208, allocations: 0.9988 MB / 0.5787 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.2084, allocations: 43.94 kB / 0.5787 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.2099, allocations: 1.506 MB / 0.5802 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.21, allocations: 4 kB / 0.5802 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.2112, allocations: 1.131 MB / 0.5813 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6171/0.8283, allocations: 2.049 MB / 0.5833 GB, free: 11.62 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.8293, allocations: 130.8 kB / 0.5834 GB, free: 11.62 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.8298, allocations: 189 kB / 0.5836 GB, free: 11.62 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00893/0.8388, allocations: 4.65 MB / 0.5881 GB, free: 11.12 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.8412, allocations: 1.01 MB / 0.5891 GB, free: 10.71 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.8508, allocations: 4.539 MB / 0.5936 GB, free: 9.66 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8508, allocations: 0 / 0.5936 GB, free: 9.66 MB / 446.3 MB Notification: Performance of FrontEnd: time 4.579e-06/0.8508, allocations: 2.219 kB / 0.5936 GB, free: 9.66 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0004143/0.8513, allocations: 0 / 0.5936 GB, free: 9.66 MB / 446.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.02195/0.8732, allocations: 8.921 MB / 0.6023 GB, free: 4.184 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8733, allocations: 8.812 kB / 0.6023 GB, free: 4.184 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.8733, allocations: 33.53 kB / 0.6023 GB, free: 4.145 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.8769, allocations: 1.11 MB / 0.6034 GB, free: 3.512 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03732/0.9142, allocations: 12.34 MB / 0.6154 GB, free: 13.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.9143, allocations: 0 / 0.6154 GB, free: 13.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/0.9144, allocations: 37.56 kB / 0.6155 GB, free: 13.5 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.915, allocations: 430.5 kB / 0.6159 GB, free: 13.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9151, allocations: 9.719 kB / 0.6159 GB, free: 13.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.9152, allocations: 30.78 kB / 0.6159 GB, free: 13.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.9152, allocations: 5.234 kB / 0.6159 GB, free: 13.35 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.9155, allocations: 236.4 kB / 0.6162 GB, free: 13.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.9269, allocations: 3.577 MB / 0.6196 GB, free: 10.74 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.9275, allocations: 166.6 kB / 0.6198 GB, free: 10.57 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.9275, allocations: 0 / 0.6198 GB, free: 10.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/0.9281, allocations: 408.7 kB / 0.6202 GB, free: 10.15 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/0.9281, allocations: 0 / 0.6202 GB, free: 10.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.004086/0.9322, allocations: 2.266 MB / 0.6224 GB, free: 7.844 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.9323, allocations: 77.11 kB / 0.6225 GB, free: 7.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02906/0.9613, allocations: 12.44 MB / 0.6346 GB, free: 11.41 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0004845/0.9619, allocations: 57.7 kB / 0.6347 GB, free: 11.35 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.01488/0.9768, allocations: 5.208 MB / 0.6398 GB, free: 6.137 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/0.9775, allocations: 49.67 kB / 0.6398 GB, free: 6.09 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.9779, allocations: 32 kB / 0.6398 GB, free: 6.059 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9781, allocations: 318 kB / 0.6402 GB, free: 5.742 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.9787, allocations: 140 kB / 0.6403 GB, free: 5.605 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.979, allocations: 143.9 kB / 0.6404 GB, free: 5.465 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.9793, allocations: 169.7 kB / 0.6406 GB, free: 5.293 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9793, allocations: 0 / 0.6406 GB, free: 5.293 MB / 478.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004015/0.9834, allocations: 2.047 MB / 0.6426 GB, free: 3.219 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.9834, allocations: 37.69 kB / 0.6426 GB, free: 3.176 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.9834, allocations: 3.828 kB / 0.6426 GB, free: 3.176 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.9835, allocations: 0 / 0.6426 GB, free: 3.176 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9836, allocations: 11.94 kB / 0.6426 GB, free: 3.164 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9836, allocations: 96 / 0.6426 GB, free: 3.164 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.9859, allocations: 47.83 kB / 0.6427 GB, free: 3.117 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/0.9864, allocations: 444 kB / 0.6431 GB, free: 2.684 MB / 478.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.007131/0.9935, allocations: 2.526 MB / 0.6456 GB, free: 144 kB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/0.9963, allocations: 1.134 MB / 0.6467 GB, free: 14.99 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/1.002, allocations: 1.28 MB / 0.6479 GB, free: 13.7 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.002, allocations: 3.562 kB / 0.6479 GB, free: 13.7 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.002, allocations: 4 kB / 0.6479 GB, free: 13.7 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.002, allocations: 4 kB / 0.6479 GB, free: 13.7 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.016, allocations: 3.888 MB / 0.6517 GB, free: 9.762 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/1.016, allocations: 0 / 0.6517 GB, free: 9.762 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/1.016, allocations: 7.984 kB / 0.6517 GB, free: 9.754 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.016, allocations: 0 / 0.6517 GB, free: 9.754 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005993/1.017, allocations: 100 kB / 0.6518 GB, free: 9.656 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.017, allocations: 3.938 kB / 0.6518 GB, free: 9.656 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.017, allocations: 4 kB / 0.6518 GB, free: 9.652 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/1.022, allocations: 2.168 MB / 0.654 GB, free: 7.449 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004404/1.027, allocations: 1.037 MB / 0.655 GB, free: 6.379 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/1.029, allocations: 32 kB / 0.655 GB, free: 6.348 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.031, allocations: 36 kB / 0.655 GB, free: 6.312 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/1.031, allocations: 5.547 kB / 0.655 GB, free: 6.309 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004999/1.032, allocations: 444 kB / 0.6555 GB, free: 5.875 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.02664/1.058, allocations: 8.535 MB / 0.6638 GB, free: 13.42 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.21e-07/1.058, allocations: 0 / 0.6638 GB, free: 13.42 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.003337/1.062, allocations: 348 kB / 0.6641 GB, free: 13.08 MB / 0.4983 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 (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.005697/1.067, allocations: 2.817 MB / 0.6669 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0007519/1.068, allocations: 415.3 kB / 0.6673 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.068, allocations: 0 / 0.6673 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/1.068, allocations: 267.4 kB / 0.6675 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.072, allocations: 0.8185 MB / 0.6683 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5173/1.59, allocations: 115.3 MB / 0.7809 GB, free: 14.17 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006683/1.596, allocations: 4.977 MB / 0.7858 GB, free: 9.168 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.007311/1.604, allocations: 2.33 MB / 0.788 GB, free: 6.828 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006903/1.611, allocations: 4.397 MB / 0.7923 GB, free: 2.434 MB / 0.6233 GB Notification: Performance of SimCode: time 1.172e-06/1.611, allocations: 0 / 0.7923 GB, free: 2.434 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8833/2.494, allocations: 147.9 MB / 0.9367 GB, free: 124.1 MB / 0.6548 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/2.494, allocations: 212.4 kB / 0.9369 GB, free: 123.9 MB / 0.6548 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/11.24, allocations: 0 / 0.9369 GB, free: 123.9 MB / 0.6548 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) Environment - environmentSimulation: