Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",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.00126/0.00126, allocations: 115 kB / 16.63 MB, free: 6.812 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.001185/0.001185, allocations: 186 kB / 17.55 MB, free: 5.934 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.285/1.285, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9113/0.9113, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5123, allocations: 80.68 MB / 0.5693 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002476/0.5148, allocations: 1.467 MB / 0.5708 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.5156, allocations: 0.5682 MB / 0.5713 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.5157, allocations: 3.938 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.5176, allocations: 3.423 MB / 0.5747 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.5203, allocations: 3.472 MB / 0.5781 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.5207, allocations: 68.88 kB / 0.5781 GB, free: 38.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007611/0.5283, allocations: 8.548 MB / 0.5865 GB, free: 32.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.5284, allocations: 4 kB / 0.5865 GB, free: 32.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005902/0.5343, allocations: 4.247 MB / 0.5906 GB, free: 28.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006239/0.5406, allocations: 8.085 MB / 0.5985 GB, free: 19.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0009886/0.5416, allocations: 0.4961 MB / 0.599 GB, free: 19.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.5424, allocations: 0.5624 MB / 0.5996 GB, free: 18.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01308/0.5555, allocations: 19.91 MB / 0.619 GB, free: 14.89 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0146/0.5701, allocations: 11.24 MB / 0.63 GB, free: 3.539 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02527/0.5955, allocations: 24.25 MB / 0.6537 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5955, allocations: 4 kB / 0.6537 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.584e-06/0.5955, allocations: 0 / 0.6537 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0005937/0.5961, allocations: 0 / 0.6537 GB, free: 11.14 MB / 0.4983 GB 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.04641/0.6425, allocations: 38.75 MB / 0.6915 GB, free: 3.988 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6426, allocations: 15.89 kB / 0.6915 GB, free: 3.973 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.6427, allocations: 38.67 kB / 0.6916 GB, free: 3.926 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/0.6483, allocations: 4.399 MB / 0.6959 GB, free: 15.46 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1017/0.75, allocations: 51.57 MB / 0.7462 GB, free: 11.54 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.75, allocations: 384 / 0.7462 GB, free: 11.54 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.7503, allocations: 132.4 kB / 0.7463 GB, free: 11.41 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.752, allocations: 1.52 MB / 0.7478 GB, free: 9.887 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.752, allocations: 0 / 0.7478 GB, free: 9.887 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.7522, allocations: 124 kB / 0.748 GB, free: 9.766 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.7522, allocations: 4 kB / 0.748 GB, free: 9.762 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.7533, allocations: 0.8749 MB / 0.7488 GB, free: 8.887 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4263/1.18, allocations: 13.84 MB / 0.7623 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.181, allocations: 0.5281 MB / 0.7628 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009212/1.182, allocations: 0.5219 MB / 0.7633 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/1.182, allocations: 1.5 kB / 0.7633 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/1.184, allocations: 1.314 MB / 0.7646 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/1.184, allocations: 0 / 0.7646 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01102/1.195, allocations: 8.324 MB / 0.7728 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.195, allocations: 78.86 kB / 0.7728 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06641/1.261, allocations: 49.58 MB / 0.8213 GB, free: 104.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/1.262, allocations: 149.7 kB / 0.8214 GB, free: 104.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01612/1.278, allocations: 22.55 MB / 0.8434 GB, free: 81.93 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006885/1.279, allocations: 148 kB / 0.8436 GB, free: 81.8 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/1.279, allocations: 0.8767 MB / 0.8444 GB, free: 80.91 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/1.279, allocations: 310 kB / 0.8447 GB, free: 80.61 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/1.28, allocations: 0.5 MB / 0.8452 GB, free: 80.11 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/1.281, allocations: 0.5114 MB / 0.8457 GB, free: 79.6 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/1.282, allocations: 1.085 MB / 0.8468 GB, free: 78.51 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.282, allocations: 0 / 0.8468 GB, free: 78.51 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007285/1.289, allocations: 7.822 MB / 0.8544 GB, free: 73.12 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.289, allocations: 37.69 kB / 0.8544 GB, free: 73.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.289, allocations: 0.875 kB / 0.8544 GB, free: 73.07 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.289, allocations: 0 / 0.8544 GB, free: 73.07 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/1.29, allocations: 4 kB / 0.8544 GB, free: 73.07 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.29, allocations: 3 kB / 0.8544 GB, free: 73.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/1.295, allocations: 131.9 kB / 0.8546 GB, free: 72.94 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.296, allocations: 1.715 MB / 0.8562 GB, free: 71.23 MB / 0.5923 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.0113/1.308, allocations: 9.67 MB / 0.8657 GB, free: 61.54 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005772/1.313, allocations: 4.523 MB / 0.8701 GB, free: 56.95 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009123/1.323, allocations: 5.111 MB / 0.8751 GB, free: 51.82 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.323, allocations: 3.625 kB / 0.8751 GB, free: 51.82 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.323, allocations: 0 / 0.8751 GB, free: 51.82 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.323, allocations: 3.938 kB / 0.8751 GB, free: 51.82 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.345, allocations: 15.08 MB / 0.8898 GB, free: 36.68 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.345, allocations: 2.938 kB / 0.8898 GB, free: 36.68 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/1.345, allocations: 3.984 kB / 0.8898 GB, free: 36.68 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.345, allocations: 7.938 kB / 0.8898 GB, free: 36.67 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007407/1.346, allocations: 376 kB / 0.8902 GB, free: 36.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.346, allocations: 3 kB / 0.8902 GB, free: 36.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.346, allocations: 1.781 kB / 0.8902 GB, free: 36.3 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007512/1.353, allocations: 8.155 MB / 0.8982 GB, free: 28.07 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005112/1.359, allocations: 3.876 MB / 0.902 GB, free: 24.11 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/1.361, allocations: 128 kB / 0.9021 GB, free: 23.99 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.364, allocations: 128 kB / 0.9022 GB, free: 23.86 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.364, allocations: 14.92 kB / 0.9022 GB, free: 23.85 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009387/1.365, allocations: 1.711 MB / 0.9039 GB, free: 22.14 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.04748/1.412, allocations: 34.49 MB / 0.9376 GB, free: 3.949 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.22e-07/1.412, allocations: 0 / 0.9376 GB, free: 3.949 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005691/1.418, allocations: 1.258 MB / 0.9388 GB, free: 2.695 MB / 0.6079 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.01142/1.43, allocations: 9.176 MB / 0.9478 GB, free: 9.438 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00191/1.431, allocations: 1.23 MB / 0.949 GB, free: 8.195 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.432, allocations: 0 / 0.949 GB, free: 8.195 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.433, allocations: 0.722 MB / 0.9497 GB, free: 7.461 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/1.447, allocations: 3.382 MB / 0.953 GB, free: 4.078 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.98/7.427, allocations: 1.209 GB / 2.162 GB, free: 328.2 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02358/7.451, allocations: 17.33 MB / 2.179 GB, free: 310.8 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02796/7.479, allocations: 9.444 MB / 2.188 GB, free: 301.9 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01935/7.498, allocations: 19.5 MB / 2.207 GB, free: 282.4 MB / 0.8267 GB Notification: Performance of SimCode: time 1.713e-06/7.498, allocations: 0 / 2.207 GB, free: 282.4 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.386/8.885, allocations: 0.6035 GB / 2.811 GB, free: 171.5 MB / 0.8267 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/8.885, allocations: 228.5 kB / 2.811 GB, free: 171.3 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.83/35.71, allocations: 0 / 2.811 GB, free: 171.3 MB / 0.8267 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1)