Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 106.3 kB / 17.06 MB, free: 6.098 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.001346/0.001346, allocations: 194.9 kB / 18 MB, free: 5.172 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.536/1.536, 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.459/1.459, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 65.23 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2077, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003696/0.2115, allocations: 1.406 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.213, allocations: 0.5652 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.2131, allocations: 4 kB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.2137, allocations: 447.1 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.2144, allocations: 494.9 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2148, allocations: 75.8 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.216, allocations: 1.131 MB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.216, allocations: 4 kB / 0.6537 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000954/0.217, allocations: 0.5771 MB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.2184, allocations: 1.026 MB / 0.6553 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.2188, allocations: 68 kB / 0.6554 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.2191, allocations: 139.9 kB / 0.6555 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.2219, allocations: 2.494 MB / 0.6579 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.2245, allocations: 1.427 MB / 0.6593 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.004586/0.2291, allocations: 3.197 MB / 0.6624 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.2291, allocations: 0 / 0.6624 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2291, allocations: 0 / 0.6624 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0002357/0.2294, allocations: 0 / 0.6624 GB, free: 15.97 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.009876/0.2393, allocations: 5.388 MB / 0.6677 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.2393, allocations: 8.031 kB / 0.6677 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2405, allocations: 0.5867 MB / 0.6683 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.2553, allocations: 6.631 MB / 0.6748 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.2554, allocations: 384 / 0.6748 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2554, allocations: 20.38 kB / 0.6748 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.2559, allocations: 241.8 kB / 0.675 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2559, allocations: 0 / 0.675 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.2559, allocations: 20 kB / 0.675 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2559, allocations: 0 / 0.675 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.2562, allocations: 128 kB / 0.6752 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.2594, allocations: 1.862 MB / 0.677 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.2597, allocations: 106.6 kB / 0.6771 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2598, allocations: 88.86 kB / 0.6772 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2599, allocations: 0 / 0.6772 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.2602, allocations: 260.9 kB / 0.6774 GB, free: 404 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.2602, allocations: 0 / 0.6774 GB, free: 404 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001913/0.2621, allocations: 1.199 MB / 0.6786 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/0.2624, allocations: 89.05 kB / 0.6787 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008807/0.2712, allocations: 6.271 MB / 0.6848 GB, free: 8.848 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.2713, allocations: 45.7 kB / 0.6848 GB, free: 8.797 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002925/0.2743, allocations: 2.524 MB / 0.6873 GB, free: 6.27 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.2744, allocations: 31.91 kB / 0.6873 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2746, allocations: 129.7 kB / 0.6875 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2748, allocations: 310 kB / 0.6877 GB, free: 5.797 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2749, allocations: 80 kB / 0.6878 GB, free: 5.719 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.2751, allocations: 83.98 kB / 0.6879 GB, free: 5.637 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.2754, allocations: 228.2 kB / 0.6881 GB, free: 5.398 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2754, allocations: 0 / 0.6881 GB, free: 5.398 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001815/0.2772, allocations: 1.12 MB / 0.6892 GB, free: 4.262 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.2773, allocations: 33.7 kB / 0.6892 GB, free: 4.223 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2773, allocations: 0 / 0.6892 GB, free: 4.223 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2773, allocations: 3.984 kB / 0.6893 GB, free: 4.219 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.2774, allocations: 7.938 kB / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2774, allocations: 0 / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.2782, allocations: 27.94 kB / 0.6893 GB, free: 4.184 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.2784, allocations: 223.9 kB / 0.6895 GB, free: 3.965 MB / 0.5295 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.001993/0.2804, allocations: 1.346 MB / 0.6908 GB, free: 2.605 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008403/0.2813, allocations: 0.6053 MB / 0.6914 GB, free: 1.996 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009538/0.2822, allocations: 0.6441 MB / 0.692 GB, free: 1.348 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2822, allocations: 0 / 0.692 GB, free: 1.348 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2822, allocations: 4 kB / 0.692 GB, free: 1.344 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2823, allocations: 96 / 0.692 GB, free: 1.344 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.2847, allocations: 2.026 MB / 0.694 GB, free: 15.27 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2847, allocations: 0 / 0.694 GB, free: 15.27 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.2847, allocations: 7.938 kB / 0.694 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2847, allocations: 4 kB / 0.694 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.2848, allocations: 52 kB / 0.6941 GB, free: 15.21 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2848, allocations: 0 / 0.6941 GB, free: 15.21 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2848, allocations: 0 / 0.6941 GB, free: 15.21 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.2862, allocations: 1.199 MB / 0.6952 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000998/0.2872, allocations: 0.5947 MB / 0.6958 GB, free: 13.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.2874, allocations: 16 kB / 0.6958 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.2877, allocations: 24 kB / 0.6959 GB, free: 13.32 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.2878, allocations: 7.969 kB / 0.6959 GB, free: 13.32 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/0.288, allocations: 224 kB / 0.6961 GB, free: 13.1 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005751/0.2937, allocations: 4.328 MB / 0.7003 GB, free: 8.809 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2938, allocations: 0 / 0.7003 GB, free: 8.809 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.000683/0.2945, allocations: 187.9 kB / 0.7005 GB, free: 8.625 MB / 0.5452 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.0002352/0.2947, allocations: 143.5 kB / 0.7006 GB, free: 8.48 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.2952, allocations: 275.4 kB / 0.7009 GB, free: 8.199 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2952, allocations: 4 kB / 0.7009 GB, free: 8.195 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.2954, allocations: 191.3 kB / 0.7011 GB, free: 7.996 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2965, allocations: 447.5 kB / 0.7015 GB, free: 7.559 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.3094, allocations: 8.53 MB / 0.7098 GB, free: 14.99 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/0.3128, allocations: 2.736 MB / 0.7125 GB, free: 12.23 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002606/0.3154, allocations: 1.133 MB / 0.7136 GB, free: 11.09 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.3158, allocations: 263.4 kB / 0.7139 GB, free: 10.83 MB / 0.5608 GB Notification: Performance of SimCode: time 1.773e-06/0.3158, allocations: 0 / 0.7139 GB, free: 10.83 MB / 0.5608 GB Notification: Performance of Templates: time 0.05509/0.3709, allocations: 20.7 MB / 0.7341 GB, free: 6.023 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches