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.001316/0.001316, allocations: 101.6 kB / 17.05 MB, free: 6.129 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.001282/0.001282, allocations: 195 kB / 18 MB, free: 5.203 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 61.62 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 80.7 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.002617/0.147, allocations: 1.413 MB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1481, allocations: 0.5691 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.1481, allocations: 0 / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.1489, allocations: 0.8654 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.1497, allocations: 0.9082 MB / 0.6529 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.15, allocations: 83.77 kB / 0.653 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1518, allocations: 2.188 MB / 0.6551 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1518, allocations: 7.938 kB / 0.6551 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1531, allocations: 1.08 MB / 0.6562 GB, free: 6.438 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.1551, allocations: 2.047 MB / 0.6582 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.1554, allocations: 128 kB / 0.6583 GB, free: 4.262 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.1557, allocations: 203.9 kB / 0.6585 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004981/0.1607, allocations: 4.987 MB / 0.6634 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002909/0.1636, allocations: 2.828 MB / 0.6661 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.1685, allocations: 6.247 MB / 0.6722 GB, free: 5.93 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1686, allocations: 0 / 0.6722 GB, free: 5.93 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1686, allocations: 0 / 0.6722 GB, free: 5.93 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001109/0.1687, allocations: 0 / 0.6722 GB, free: 5.93 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.01152/0.1802, allocations: 9.963 MB / 0.6819 GB, free: 11.83 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1803, allocations: 19.89 kB / 0.682 GB, free: 11.81 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.1803, allocations: 34.75 kB / 0.682 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.1816, allocations: 1.107 MB / 0.6831 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02613/0.2077, allocations: 12.95 MB / 0.6957 GB, free: 13.56 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2078, allocations: 384 / 0.6957 GB, free: 13.56 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.2078, allocations: 36.38 kB / 0.6958 GB, free: 13.53 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.2084, allocations: 425.4 kB / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2085, allocations: 0 / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.2085, allocations: 32 kB / 0.6962 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2086, allocations: 4 kB / 0.6962 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.2089, allocations: 236 kB / 0.6964 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.2143, allocations: 3.579 MB / 0.6999 GB, free: 9.215 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.2147, allocations: 166.5 kB / 0.7001 GB, free: 9.043 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.215, allocations: 156.9 kB / 0.7002 GB, free: 8.887 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.215, allocations: 0 / 0.7002 GB, free: 8.887 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.2155, allocations: 420.8 kB / 0.7006 GB, free: 8.457 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.2155, allocations: 0 / 0.7006 GB, free: 8.457 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003171/0.2187, allocations: 2.184 MB / 0.7028 GB, free: 6.246 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.2187, allocations: 81.11 kB / 0.7028 GB, free: 6.148 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/0.2362, allocations: 12.47 MB / 0.715 GB, free: 9.777 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.2364, allocations: 57.7 kB / 0.7151 GB, free: 9.715 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005902/0.2423, allocations: 5.2 MB / 0.7202 GB, free: 4.512 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.2427, allocations: 59.64 kB / 0.7202 GB, free: 4.453 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.2431, allocations: 241.7 kB / 0.7204 GB, free: 4.211 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2432, allocations: 310 kB / 0.7207 GB, free: 3.902 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.2435, allocations: 144 kB / 0.7209 GB, free: 3.762 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.2437, allocations: 140 kB / 0.721 GB, free: 3.625 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.2442, allocations: 352.2 kB / 0.7213 GB, free: 3.266 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2443, allocations: 0 / 0.7213 GB, free: 3.266 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002969/0.2472, allocations: 2.055 MB / 0.7234 GB, free: 1.184 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.2473, allocations: 33.7 kB / 0.7234 GB, free: 1.145 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2473, allocations: 144 / 0.7234 GB, free: 1.145 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2473, allocations: 0 / 0.7234 GB, free: 1.145 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.2474, allocations: 11.98 kB / 0.7234 GB, free: 1.133 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.2474, allocations: 0 / 0.7234 GB, free: 1.133 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2484, allocations: 48.02 kB / 0.7234 GB, free: 1.086 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.2487, allocations: 439.9 kB / 0.7239 GB, free: 0.6562 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.003341/0.2521, allocations: 2.53 MB / 0.7263 GB, free: 14.11 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/0.2534, allocations: 1.145 MB / 0.7275 GB, free: 12.95 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2551, allocations: 1.28 MB / 0.7287 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2551, allocations: 0 / 0.7287 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2552, allocations: 4 kB / 0.7287 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2552, allocations: 4 kB / 0.7287 GB, free: 11.66 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.2591, allocations: 3.888 MB / 0.7325 GB, free: 7.727 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2592, allocations: 3.938 kB / 0.7325 GB, free: 7.723 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.2592, allocations: 4 kB / 0.7325 GB, free: 7.719 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2592, allocations: 0 / 0.7325 GB, free: 7.719 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.2594, allocations: 96 kB / 0.7326 GB, free: 7.625 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2594, allocations: 0 / 0.7326 GB, free: 7.625 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2595, allocations: 4 kB / 0.7326 GB, free: 7.621 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.2624, allocations: 2.166 MB / 0.7347 GB, free: 5.418 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/0.2646, allocations: 1.041 MB / 0.7357 GB, free: 4.344 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/0.2652, allocations: 32 kB / 0.7358 GB, free: 4.312 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.2658, allocations: 36 kB / 0.7358 GB, free: 4.277 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2658, allocations: 7.984 kB / 0.7358 GB, free: 4.27 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/0.2662, allocations: 440 kB / 0.7362 GB, free: 3.84 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01538/0.2816, allocations: 8.575 MB / 0.7446 GB, free: 11.34 MB / 0.592 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2816, allocations: 0 / 0.7446 GB, free: 11.34 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001586/0.2832, allocations: 344 kB / 0.7449 GB, free: 11.01 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.003385/0.2866, allocations: 2.818 MB / 0.7477 GB, free: 8.145 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.2873, allocations: 427.3 kB / 0.7481 GB, free: 7.715 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2873, allocations: 0 / 0.7481 GB, free: 7.715 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2877, allocations: 263.4 kB / 0.7483 GB, free: 7.445 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.2901, allocations: 0.8575 MB / 0.7492 GB, free: 6.586 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6926/0.9828, allocations: 64.76 MB / 0.8124 GB, free: 84.83 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/0.9863, allocations: 4.792 MB / 0.8171 GB, free: 80.01 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.004599/0.9909, allocations: 2.377 MB / 0.8194 GB, free: 77.78 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/0.9941, allocations: 4.401 MB / 0.8237 GB, free: 73.38 MB / 0.6079 GB Notification: Performance of SimCode: time 2.003e-06/0.9941, allocations: 0 / 0.8237 GB, free: 73.38 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/1.245, allocations: 159.9 MB / 0.9798 GB, free: 9.48 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 150.2/151.4, allocations: 4 kB / 0.9798 GB, free: 9.477 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