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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_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_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.001838/0.001838, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001856/0.001856, allocations: 194.8 kB / 18 MB, free: 5.07 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.392/1.392, 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.082/1.082, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.3 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, 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_1000): time 0.002504/0.1858, allocations: 1.417 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.1868, allocations: 0.5613 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.1869, allocations: 4 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.1876, allocations: 0.8732 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.1883, allocations: 0.9004 MB / 0.6534 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1886, allocations: 83.78 kB / 0.6535 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.1902, allocations: 2.184 MB / 0.6556 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.1903, allocations: 7.984 kB / 0.6556 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1913, allocations: 1.088 MB / 0.6567 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.1933, allocations: 2.036 MB / 0.6586 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.1935, allocations: 132 kB / 0.6588 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.1939, allocations: 203.9 kB / 0.659 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004942/0.1988, allocations: 4.987 MB / 0.6638 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.2015, allocations: 2.831 MB / 0.6666 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.2067, allocations: 6.243 MB / 0.6727 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2067, allocations: 0 / 0.6727 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2067, allocations: 0 / 0.6727 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001312/0.2069, allocations: 0 / 0.6727 GB, free: 5.434 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.01195/0.2188, allocations: 9.97 MB / 0.6824 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2189, allocations: 8.031 kB / 0.6824 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2203, allocations: 1.107 MB / 0.6835 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02296/0.2433, allocations: 12.95 MB / 0.6962 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2433, allocations: 8.375 kB / 0.6962 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.2434, allocations: 32.38 kB / 0.6962 GB, free: 13.08 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.244, allocations: 429.6 kB / 0.6966 GB, free: 12.66 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2441, allocations: 4 kB / 0.6966 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.2441, allocations: 32 kB / 0.6967 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2441, allocations: 0 / 0.6967 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.2445, allocations: 240 kB / 0.6969 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.2499, allocations: 3.576 MB / 0.7004 GB, free: 8.766 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.2502, allocations: 170.6 kB / 0.7005 GB, free: 8.59 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.2505, allocations: 152.9 kB / 0.7007 GB, free: 8.438 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2505, allocations: 3.938 kB / 0.7007 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.251, allocations: 416.8 kB / 0.7011 GB, free: 8.008 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.251, allocations: 0 / 0.7011 GB, free: 8.008 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003147/0.2542, allocations: 2.188 MB / 0.7032 GB, free: 5.793 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2542, allocations: 81.11 kB / 0.7033 GB, free: 5.695 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/0.2715, allocations: 12.46 MB / 0.7155 GB, free: 9.332 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.2717, allocations: 61.69 kB / 0.7155 GB, free: 9.266 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005764/0.2775, allocations: 5.204 MB / 0.7206 GB, free: 4.059 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.2778, allocations: 55.66 kB / 0.7207 GB, free: 4.004 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.2782, allocations: 241.7 kB / 0.7209 GB, free: 3.762 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2783, allocations: 313.9 kB / 0.7212 GB, free: 3.449 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2786, allocations: 140 kB / 0.7213 GB, free: 3.312 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2788, allocations: 140 kB / 0.7215 GB, free: 3.176 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.2793, allocations: 360.2 kB / 0.7218 GB, free: 2.809 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2793, allocations: 0 / 0.7218 GB, free: 2.809 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003063/0.2824, allocations: 2.051 MB / 0.7238 GB, free: 0.7305 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.2824, allocations: 40.81 kB / 0.7238 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2824, allocations: 0 / 0.7238 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2825, allocations: 0 / 0.7238 GB, free: 0.6875 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.2826, allocations: 4 kB / 0.7239 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2826, allocations: 0 / 0.7239 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.2836, allocations: 40 kB / 0.7239 GB, free: 0.6445 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.2839, allocations: 436 kB / 0.7243 GB, free: 224 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.004272/0.2882, allocations: 2.533 MB / 0.7268 GB, free: 13.67 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/0.2898, allocations: 1.142 MB / 0.7279 GB, free: 12.51 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.2918, allocations: 1.288 MB / 0.7292 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2918, allocations: 3.984 kB / 0.7292 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2918, allocations: 0 / 0.7292 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2918, allocations: 0 / 0.7292 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.296, allocations: 3.888 MB / 0.733 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.296, allocations: 0 / 0.733 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.2961, allocations: 7.938 kB / 0.733 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.2961, allocations: 4 kB / 0.733 GB, free: 7.27 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.2962, allocations: 99.94 kB / 0.7331 GB, free: 7.172 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2962, allocations: 0 / 0.7331 GB, free: 7.172 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2963, allocations: 0 / 0.7331 GB, free: 7.172 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.2988, allocations: 2.166 MB / 0.7352 GB, free: 4.969 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.3003, allocations: 1.037 MB / 0.7362 GB, free: 3.898 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.3007, allocations: 36.12 kB / 0.7362 GB, free: 3.863 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.3013, allocations: 36 kB / 0.7363 GB, free: 3.828 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3014, allocations: 11.98 kB / 0.7363 GB, free: 3.816 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/0.3017, allocations: 448 kB / 0.7367 GB, free: 3.379 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01487/0.3166, allocations: 8.567 MB / 0.7451 GB, free: 10.89 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.61e-07/0.3166, allocations: 0 / 0.7451 GB, free: 10.89 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002576/0.3192, allocations: 348 kB / 0.7454 GB, free: 10.55 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.0004143/0.3197, allocations: 151.7 kB / 0.7455 GB, free: 10.39 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.3206, allocations: 423.3 kB / 0.7459 GB, free: 9.969 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.3206, allocations: 4 kB / 0.7459 GB, free: 9.965 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.3211, allocations: 271.4 kB / 0.7462 GB, free: 9.688 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/0.3252, allocations: 0.8458 MB / 0.747 GB, free: 8.84 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/0.356, allocations: 17 MB / 0.7636 GB, free: 7.809 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006185/0.3622, allocations: 4.789 MB / 0.7683 GB, free: 2.992 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.005011/0.3673, allocations: 2.383 MB / 0.7706 GB, free: 0.5977 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.3678, allocations: 0.4955 MB / 0.7711 GB, free: 104 kB / 0.6077 GB Notification: Performance of SimCode: time 1.713e-06/0.3678, allocations: 0 / 0.7711 GB, free: 104 kB / 0.6077 GB Notification: Performance of Templates: time 0.8112/1.179, allocations: 41.12 MB / 0.8113 GB, free: 82.93 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/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