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.001619/0.00162, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.001533/0.001533, allocations: 198.9 kB / 18 MB, free: 5.082 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.503/1.503, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.33 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1552, allocations: 80.69 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003492/0.1587, allocations: 1.413 MB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1602, allocations: 0.5652 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1604, allocations: 0 / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1615, allocations: 0.8693 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.1626, allocations: 0.9005 MB / 0.6529 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1631, allocations: 83.72 kB / 0.653 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.1655, allocations: 2.192 MB / 0.6551 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.1656, allocations: 4 kB / 0.6551 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.1673, allocations: 1.096 MB / 0.6562 GB, free: 6.43 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.1699, allocations: 2.04 MB / 0.6582 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.1704, allocations: 128 kB / 0.6583 GB, free: 4.262 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.1709, allocations: 199.9 kB / 0.6585 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005417/0.1764, allocations: 4.991 MB / 0.6634 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003989/0.1804, allocations: 2.824 MB / 0.6661 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.1861, allocations: 6.255 MB / 0.6722 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1862, allocations: 0 / 0.6722 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1862, allocations: 0 / 0.6722 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001324/0.1863, allocations: 0 / 0.6722 GB, free: 5.926 MB / 0.5139 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.01363/0.1999, allocations: 9.966 MB / 0.682 GB, free: 11.82 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.2, allocations: 11.89 kB / 0.682 GB, free: 11.81 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2001, allocations: 38.75 kB / 0.682 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.2015, allocations: 1.103 MB / 0.6831 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/0.225, allocations: 12.95 MB / 0.6957 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2251, allocations: 4.375 kB / 0.6957 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.2252, allocations: 32.38 kB / 0.6958 GB, free: 13.54 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.226, allocations: 433.4 kB / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.226, allocations: 0 / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.2261, allocations: 32 kB / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2261, allocations: 0 / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.2265, allocations: 248 kB / 0.6964 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.2327, allocations: 3.572 MB / 0.6999 GB, free: 9.219 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2332, allocations: 162.6 kB / 0.7001 GB, free: 9.051 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2335, allocations: 156.9 kB / 0.7002 GB, free: 8.895 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.2336, allocations: 0 / 0.7002 GB, free: 8.895 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/0.2342, allocations: 420.6 kB / 0.7006 GB, free: 8.465 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.2342, allocations: 0 / 0.7006 GB, free: 8.465 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003283/0.2375, allocations: 2.188 MB / 0.7028 GB, free: 6.25 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.2376, allocations: 81.11 kB / 0.7029 GB, free: 6.152 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/0.2598, allocations: 12.46 MB / 0.715 GB, free: 9.789 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/0.2601, allocations: 57.7 kB / 0.7151 GB, free: 9.727 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.007339/0.2675, allocations: 5.204 MB / 0.7202 GB, free: 4.52 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.2679, allocations: 55.81 kB / 0.7202 GB, free: 4.465 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006792/0.2686, allocations: 241.7 kB / 0.7204 GB, free: 4.223 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2688, allocations: 310 kB / 0.7207 GB, free: 3.914 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.2691, allocations: 147.9 kB / 0.7209 GB, free: 3.77 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2694, allocations: 143.9 kB / 0.721 GB, free: 3.629 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.27, allocations: 356.2 kB / 0.7214 GB, free: 3.266 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.27, allocations: 0 / 0.7214 GB, free: 3.266 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003061/0.2731, allocations: 2.051 MB / 0.7234 GB, free: 1.188 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/0.2731, allocations: 44.81 kB / 0.7234 GB, free: 1.141 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2732, allocations: 0 / 0.7234 GB, free: 1.141 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2732, allocations: 0 / 0.7234 GB, free: 1.141 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.2733, allocations: 12 kB / 0.7234 GB, free: 1.129 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.2733, allocations: 0 / 0.7234 GB, free: 1.129 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2749, allocations: 35.94 kB / 0.7234 GB, free: 1.094 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/0.2753, allocations: 440 kB / 0.7239 GB, free: 0.6641 MB / 0.5608 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.004017/0.2793, allocations: 2.526 MB / 0.7263 GB, free: 14.12 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/0.2811, allocations: 1.145 MB / 0.7275 GB, free: 12.96 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.2836, allocations: 1.288 MB / 0.7287 GB, free: 11.67 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.2836, allocations: 0 / 0.7287 GB, free: 11.67 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2836, allocations: 0 / 0.7287 GB, free: 11.67 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2836, allocations: 4 kB / 0.7287 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006478/0.2901, allocations: 3.884 MB / 0.7325 GB, free: 7.734 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.2901, allocations: 3.938 kB / 0.7325 GB, free: 7.73 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.2902, allocations: 0 / 0.7325 GB, free: 7.73 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2902, allocations: 4 kB / 0.7325 GB, free: 7.727 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/0.2904, allocations: 96 kB / 0.7326 GB, free: 7.633 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2904, allocations: 3.938 kB / 0.7326 GB, free: 7.629 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.2904, allocations: 3.984 kB / 0.7326 GB, free: 7.625 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.2934, allocations: 2.166 MB / 0.7347 GB, free: 5.422 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.2954, allocations: 1.037 MB / 0.7357 GB, free: 4.352 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008658/0.2963, allocations: 36.09 kB / 0.7358 GB, free: 4.316 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.2972, allocations: 39.94 kB / 0.7358 GB, free: 4.277 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.2973, allocations: 4 kB / 0.7358 GB, free: 4.273 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/0.2976, allocations: 440 kB / 0.7362 GB, free: 3.844 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01431/0.312, allocations: 8.567 MB / 0.7446 GB, free: 11.36 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.72e-07/0.312, allocations: 0 / 0.7446 GB, free: 11.36 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00181/0.3138, allocations: 348 kB / 0.7449 GB, free: 11.02 MB / 0.592 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.004156/0.318, allocations: 2.822 MB / 0.7477 GB, free: 8.145 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.3188, allocations: 419.4 kB / 0.7481 GB, free: 7.723 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3188, allocations: 0 / 0.7481 GB, free: 7.723 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.3192, allocations: 267.3 kB / 0.7483 GB, free: 7.449 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005983/0.3252, allocations: 0.8497 MB / 0.7492 GB, free: 6.598 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7197/1.045, allocations: 64.76 MB / 0.8124 GB, free: 84.86 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/1.048, allocations: 4.785 MB / 0.8171 GB, free: 80.05 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.004205/1.053, allocations: 2.385 MB / 0.8194 GB, free: 77.81 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/1.056, allocations: 4.401 MB / 0.8237 GB, free: 73.41 MB / 0.6079 GB Notification: Performance of SimCode: time 7.82e-07/1.056, allocations: 3.844 kB / 0.8237 GB, free: 73.41 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/1.308, allocations: 159.9 MB / 0.9798 GB, free: 9.504 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 126.3/127.6, allocations: 9.078 kB / 0.9798 GB, free: 9.5 MB / 0.7017 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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches