Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 112.5 kB / 16.51 MB, free: 6.66 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.001344/0.001344, allocations: 204.4 kB / 17.43 MB, free: 6.031 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8168/0.8168, allocations: 119.3 MB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.91 kB / 0.4902 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4224, allocations: 80.68 MB / 0.569 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002124/0.4245, allocations: 1.481 MB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.4253, allocations: 0.5863 MB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.4254, allocations: 0 / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.4271, allocations: 3.426 MB / 0.5744 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.429, allocations: 3.467 MB / 0.5778 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.4293, allocations: 67.98 kB / 0.5779 GB, free: 38.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005064/0.4344, allocations: 8.535 MB / 0.5862 GB, free: 32.33 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.4345, allocations: 7.984 kB / 0.5862 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.4389, allocations: 4.243 MB / 0.5903 GB, free: 28.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/0.4439, allocations: 7.596 MB / 0.5978 GB, free: 20.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.4449, allocations: 0.4922 MB / 0.5982 GB, free: 19.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.4458, allocations: 0.5624 MB / 0.5988 GB, free: 19.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0131/0.4589, allocations: 19.91 MB / 0.6182 GB, free: 15.44 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.4723, allocations: 11.25 MB / 0.6292 GB, free: 4.082 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.4925, allocations: 23.76 MB / 0.6524 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4926, allocations: 0 / 0.6524 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4926, allocations: 0 / 0.6524 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0006769/0.4933, allocations: 4 kB / 0.6524 GB, free: 12.18 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.04916/0.5424, allocations: 38.76 MB / 0.6903 GB, free: 5.023 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5425, allocations: 12.03 kB / 0.6903 GB, free: 5.012 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.5476, allocations: 4.399 MB / 0.6946 GB, free: 0.5547 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09707/0.6447, allocations: 51.57 MB / 0.7449 GB, free: 12.64 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.6447, allocations: 4.375 kB / 0.7449 GB, free: 12.63 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.645, allocations: 124.4 kB / 0.7451 GB, free: 12.51 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.6467, allocations: 1.52 MB / 0.7465 GB, free: 10.99 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6467, allocations: 8 kB / 0.7465 GB, free: 10.98 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.647, allocations: 124 kB / 0.7467 GB, free: 10.86 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.647, allocations: 0 / 0.7467 GB, free: 10.86 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6481, allocations: 0.875 MB / 0.7475 GB, free: 9.984 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/1.078, allocations: 13.84 MB / 0.761 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/1.079, allocations: 0.5266 MB / 0.7616 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.08, allocations: 0.5137 MB / 0.7621 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/1.08, allocations: 0.5312 kB / 0.7621 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.082, allocations: 1.325 MB / 0.7633 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.765e-06/1.082, allocations: 0 / 0.7633 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01141/1.093, allocations: 8.32 MB / 0.7715 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.093, allocations: 84.58 kB / 0.7716 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06875/1.162, allocations: 49.58 MB / 0.82 GB, free: 105.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/1.163, allocations: 153.7 kB / 0.8201 GB, free: 105.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01793/1.181, allocations: 22.54 MB / 0.8421 GB, free: 82.8 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/1.181, allocations: 149.3 kB / 0.8423 GB, free: 82.67 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007965/1.182, allocations: 0.8767 MB / 0.8431 GB, free: 81.79 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.287e-05/1.182, allocations: 311.6 kB / 0.8434 GB, free: 81.48 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/1.183, allocations: 0.5054 MB / 0.8439 GB, free: 80.97 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/1.184, allocations: 0.5039 MB / 0.8444 GB, free: 80.47 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.185, allocations: 1.082 MB / 0.8455 GB, free: 79.38 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.185, allocations: 0 / 0.8455 GB, free: 79.38 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007615/1.192, allocations: 7.825 MB / 0.8531 GB, free: 73.99 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/1.193, allocations: 34.64 kB / 0.8531 GB, free: 73.95 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.193, allocations: 0 / 0.8531 GB, free: 73.95 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.193, allocations: 0 / 0.8531 GB, free: 73.95 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/1.193, allocations: 7.938 kB / 0.8532 GB, free: 73.94 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.193, allocations: 2.891 kB / 0.8532 GB, free: 73.94 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.198, allocations: 138.9 kB / 0.8533 GB, free: 73.81 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.2, allocations: 1.716 MB / 0.855 GB, free: 72.09 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.01246/1.212, allocations: 9.665 MB / 0.8644 GB, free: 62.41 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006574/1.219, allocations: 4.527 MB / 0.8688 GB, free: 57.82 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.229, allocations: 5.118 MB / 0.8738 GB, free: 52.69 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.229, allocations: 0 / 0.8738 GB, free: 52.69 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.229, allocations: 0 / 0.8738 GB, free: 52.69 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.229, allocations: 3.938 kB / 0.8738 GB, free: 52.68 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03554/1.265, allocations: 15.07 MB / 0.8885 GB, free: 37.55 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.265, allocations: 0 / 0.8885 GB, free: 37.55 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/1.265, allocations: 7 kB / 0.8885 GB, free: 37.55 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.265, allocations: 1.688 kB / 0.8886 GB, free: 37.55 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008629/1.266, allocations: 380.9 kB / 0.8889 GB, free: 37.18 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.266, allocations: 0 / 0.8889 GB, free: 37.18 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.266, allocations: 96 / 0.8889 GB, free: 37.18 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008579/1.274, allocations: 8.165 MB / 0.8969 GB, free: 28.93 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006067/1.28, allocations: 3.876 MB / 0.9007 GB, free: 24.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003493/1.284, allocations: 132 kB / 0.9008 GB, free: 24.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/1.288, allocations: 130.2 kB / 0.9009 GB, free: 24.73 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/1.288, allocations: 3.938 kB / 0.9009 GB, free: 24.72 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001438/1.29, allocations: 1.715 MB / 0.9026 GB, free: 23.01 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.0546/1.344, allocations: 34.49 MB / 0.9363 GB, free: 4.816 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.21e-07/1.344, allocations: 3 kB / 0.9363 GB, free: 4.816 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.00534/1.35, allocations: 1.254 MB / 0.9375 GB, free: 3.566 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.0005182/1.35, allocations: 256.9 kB / 0.9378 GB, free: 3.316 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001894/1.352, allocations: 1.23 MB / 0.939 GB, free: 2.074 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.352, allocations: 0 / 0.939 GB, free: 2.074 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.353, allocations: 0.722 MB / 0.9397 GB, free: 1.34 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/1.367, allocations: 3.385 MB / 0.943 GB, free: 13.96 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3457/1.713, allocations: 79.36 MB / 1.02 GB, free: 200.6 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03034/1.743, allocations: 17.33 MB / 1.037 GB, free: 195.5 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.02397/1.767, allocations: 9.324 MB / 1.046 GB, free: 191.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/1.77, allocations: 1.966 MB / 1.048 GB, free: 191.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.182e-06/1.77, allocations: 0 / 1.048 GB, free: 191.4 MB / 0.686 GB Notification: Performance of Templates: time 0.3624/2.132, allocations: 164.5 MB / 1.209 GB, free: 51.24 MB / 0.686 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches