Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 110.7 kB / 17.06 MB, free: 5.973 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.001867/0.001867, allocations: 200 kB / 18.01 MB, free: 5.055 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.581/1.581, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.329/1.329, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 62.77 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2253, allocations: 80.71 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003137/0.2285, allocations: 1.41 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2298, allocations: 0.5652 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.2299, allocations: 0 / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.2307, allocations: 0.8654 MB / 0.6525 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.2316, allocations: 0.9121 MB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.232, allocations: 79.78 kB / 0.6535 GB, free: 9.23 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.2344, allocations: 2.192 MB / 0.6556 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.51e-05/0.2345, allocations: 4 kB / 0.6556 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.2368, allocations: 1.088 MB / 0.6567 GB, free: 5.941 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.2407, allocations: 2.047 MB / 0.6587 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0007284/0.2414, allocations: 128 kB / 0.6588 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.2423, allocations: 199.9 kB / 0.659 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.006777/0.2491, allocations: 4.987 MB / 0.6639 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.006148/0.2552, allocations: 2.828 MB / 0.6666 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.2663, allocations: 6.247 MB / 0.6727 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.2664, allocations: 3.984 kB / 0.6727 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2664, allocations: 0 / 0.6727 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0004969/0.2669, allocations: 0 / 0.6727 GB, free: 5.43 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.02548/0.2924, allocations: 9.962 MB / 0.6825 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2924, allocations: 12.03 kB / 0.6825 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.294, allocations: 1.107 MB / 0.6835 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/0.315, allocations: 12.95 MB / 0.6962 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3151, allocations: 4.375 kB / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.3152, allocations: 32.38 kB / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.3157, allocations: 433.6 kB / 0.6966 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3158, allocations: 0 / 0.6966 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.3158, allocations: 32 kB / 0.6967 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3158, allocations: 0 / 0.6967 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.3162, allocations: 236 kB / 0.6969 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.3203, allocations: 3.58 MB / 0.7004 GB, free: 8.766 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.3206, allocations: 162.6 kB / 0.7005 GB, free: 8.598 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3208, allocations: 160.9 kB / 0.7007 GB, free: 8.438 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3209, allocations: 3.938 kB / 0.7007 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.3213, allocations: 404.7 kB / 0.7011 GB, free: 8.02 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.3213, allocations: 4 kB / 0.7011 GB, free: 8.016 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003793/0.3251, allocations: 2.192 MB / 0.7032 GB, free: 5.801 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3252, allocations: 77.11 kB / 0.7033 GB, free: 5.707 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01899/0.3442, allocations: 12.46 MB / 0.7155 GB, free: 9.344 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.3446, allocations: 57.7 kB / 0.7155 GB, free: 9.281 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.006136/0.3508, allocations: 5.212 MB / 0.7206 GB, free: 4.066 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.3511, allocations: 59.64 kB / 0.7207 GB, free: 4.008 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004921/0.3516, allocations: 237.7 kB / 0.7209 GB, free: 3.77 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3517, allocations: 310 kB / 0.7212 GB, free: 3.461 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.352, allocations: 144 kB / 0.7213 GB, free: 3.32 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3523, allocations: 140 kB / 0.7215 GB, free: 3.184 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.3528, allocations: 356.3 kB / 0.7218 GB, free: 2.82 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3528, allocations: 0 / 0.7218 GB, free: 2.82 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002819/0.3556, allocations: 2.055 MB / 0.7238 GB, free: 0.7383 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.3557, allocations: 33.7 kB / 0.7239 GB, free: 0.6992 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3557, allocations: 3.984 kB / 0.7239 GB, free: 0.6953 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3558, allocations: 0 / 0.7239 GB, free: 0.6953 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.3558, allocations: 8 kB / 0.7239 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3559, allocations: 4 kB / 0.7239 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3571, allocations: 35.98 kB / 0.7239 GB, free: 0.6484 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.3575, allocations: 444 kB / 0.7243 GB, free: 220 kB / 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.003606/0.3611, allocations: 2.526 MB / 0.7268 GB, free: 13.67 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/0.3627, allocations: 1.141 MB / 0.7279 GB, free: 12.52 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.365, allocations: 1.284 MB / 0.7292 GB, free: 11.23 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3651, allocations: 0 / 0.7292 GB, free: 11.23 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3651, allocations: 0 / 0.7292 GB, free: 11.23 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3651, allocations: 0 / 0.7292 GB, free: 11.23 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.3712, allocations: 3.888 MB / 0.733 GB, free: 7.293 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3713, allocations: 7.984 kB / 0.733 GB, free: 7.285 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.3713, allocations: 11.88 kB / 0.733 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3713, allocations: 4 kB / 0.733 GB, free: 7.27 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.3715, allocations: 96 kB / 0.7331 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3715, allocations: 0 / 0.7331 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3715, allocations: 0 / 0.7331 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3745, allocations: 2.162 MB / 0.7352 GB, free: 4.977 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/0.3767, allocations: 1.041 MB / 0.7362 GB, free: 3.902 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009141/0.3776, allocations: 39.94 kB / 0.7362 GB, free: 3.863 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.3785, allocations: 32 kB / 0.7363 GB, free: 3.832 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3786, allocations: 7.984 kB / 0.7363 GB, free: 3.824 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/0.379, allocations: 440 kB / 0.7367 GB, free: 3.395 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01387/0.3928, allocations: 8.567 MB / 0.7451 GB, free: 10.91 MB / 0.592 GB Notification: Performance of sort global known variables: time 8.82e-07/0.3929, allocations: 3.938 kB / 0.7451 GB, free: 10.9 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001601/0.3945, allocations: 348 kB / 0.7454 GB, free: 10.56 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.0003897/0.3949, allocations: 159.7 kB / 0.7456 GB, free: 10.4 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0008214/0.3957, allocations: 427.3 kB / 0.746 GB, free: 9.969 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3958, allocations: 0 / 0.746 GB, free: 9.969 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.3962, allocations: 259.4 kB / 0.7462 GB, free: 9.703 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.4004, allocations: 0.8536 MB / 0.747 GB, free: 8.848 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.4286, allocations: 17 MB / 0.7636 GB, free: 7.812 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005822/0.4345, allocations: 4.792 MB / 0.7683 GB, free: 2.992 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.005349/0.4399, allocations: 2.375 MB / 0.7706 GB, free: 0.6055 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.4405, allocations: 0.5033 MB / 0.7711 GB, free: 104 kB / 0.6077 GB Notification: Performance of SimCode: time 1.573e-06/0.4406, allocations: 0 / 0.7711 GB, free: 104 kB / 0.6077 GB Notification: Performance of Templates: time 0.8557/1.296, allocations: 42.67 MB / 0.8128 GB, free: 84.4 MB / 0.6079 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches