Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 110.4 kB / 17.06 MB, free: 6.004 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.001782/0.001782, allocations: 190.1 kB / 18 MB, free: 5.09 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.511/1.511, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.207/1.207, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 66.81 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1859, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002861/0.1888, allocations: 1.406 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.19, allocations: 0.5691 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.1901, allocations: 0 / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.1915, allocations: 1.723 MB / 0.6533 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.1932, allocations: 1.762 MB / 0.6551 GB, free: 7.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1936, allocations: 79.8 kB / 0.6551 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.004235/0.1979, allocations: 4.318 MB / 0.6594 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1979, allocations: 4 kB / 0.6594 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.2014, allocations: 2.141 MB / 0.6614 GB, free: 1.047 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.2066, allocations: 4.052 MB / 0.6654 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.2073, allocations: 252 kB / 0.6656 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.208, allocations: 335.9 kB / 0.666 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01236/0.2204, allocations: 9.958 MB / 0.6757 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.008558/0.229, allocations: 5.632 MB / 0.6812 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.2441, allocations: 12.54 MB / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2442, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2442, allocations: 3.938 kB / 0.6934 GB, free: 116 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0005131/0.2447, allocations: 0 / 0.6934 GB, free: 116 kB / 0.5295 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.03364/0.2783, allocations: 20.42 MB / 0.7134 GB, free: 11.46 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.2784, allocations: 12.03 kB / 0.7134 GB, free: 11.45 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.283, allocations: 2.329 MB / 0.7157 GB, free: 9.109 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0551/0.3381, allocations: 26.19 MB / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3382, allocations: 384 / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.3384, allocations: 64.38 kB / 0.7413 GB, free: 14.71 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3395, allocations: 0.7859 MB / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3395, allocations: 4 kB / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.3397, allocations: 64 kB / 0.7421 GB, free: 13.85 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3397, allocations: 4 kB / 0.7421 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.3403, allocations: 456 kB / 0.7426 GB, free: 13.4 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.3554, allocations: 7.003 MB / 0.7494 GB, free: 6.344 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008233/0.3562, allocations: 286.6 kB / 0.7497 GB, free: 6.055 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.3568, allocations: 280.9 kB / 0.75 GB, free: 5.777 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.3569, allocations: 7.875 kB / 0.75 GB, free: 5.77 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009231/0.3578, allocations: 0.7074 MB / 0.7507 GB, free: 5.043 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.3578, allocations: 0 / 0.7507 GB, free: 5.043 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.008053/0.3659, allocations: 4.347 MB / 0.7549 GB, free: 0.668 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.366, allocations: 85.09 kB / 0.755 GB, free: 0.5664 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.717/1.083, allocations: 24.83 MB / 0.7792 GB, free: 86.15 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/1.083, allocations: 90.52 kB / 0.7793 GB, free: 86.12 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.009931/1.093, allocations: 10.82 MB / 0.7899 GB, free: 77.5 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/1.094, allocations: 84.47 kB / 0.79 GB, free: 77.49 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/1.095, allocations: 460.8 kB / 0.7904 GB, free: 77.47 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/1.095, allocations: 308.9 kB / 0.7907 GB, free: 77.17 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/1.095, allocations: 267.1 kB / 0.791 GB, free: 77.16 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/1.096, allocations: 272.4 kB / 0.7912 GB, free: 77.16 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.097, allocations: 0.5901 MB / 0.7918 GB, free: 77.07 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.097, allocations: 0.5625 kB / 0.7918 GB, free: 77.07 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009591/1.106, allocations: 4.093 MB / 0.7958 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/1.107, allocations: 40.16 kB / 0.7958 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.107, allocations: 0.6562 kB / 0.7958 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.107, allocations: 0 / 0.7958 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.107, allocations: 6.281 kB / 0.7958 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.107, allocations: 0 / 0.7958 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/1.11, allocations: 75.02 kB / 0.7959 GB, free: 76.95 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006139/1.11, allocations: 0.8552 MB / 0.7967 GB, free: 76.83 MB / 0.6079 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.008482/1.119, allocations: 4.906 MB / 0.8015 GB, free: 76.19 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00341/1.122, allocations: 2.393 MB / 0.8039 GB, free: 76.19 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/1.127, allocations: 2.562 MB / 0.8064 GB, free: 75.46 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.127, allocations: 2.625 kB / 0.8064 GB, free: 75.46 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.127, allocations: 5.656 kB / 0.8064 GB, free: 75.46 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.127, allocations: 0 / 0.8064 GB, free: 75.46 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.14, allocations: 7.622 MB / 0.8138 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.14, allocations: 0 / 0.8138 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/1.14, allocations: 3.75 kB / 0.8138 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.14, allocations: 0 / 0.8138 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005791/1.141, allocations: 196.5 kB / 0.814 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.141, allocations: 4.875 kB / 0.814 GB, free: 71.7 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.141, allocations: 3.984 kB / 0.814 GB, free: 71.69 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/1.146, allocations: 4.284 MB / 0.8182 GB, free: 68.67 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.15, allocations: 2.102 MB / 0.8203 GB, free: 66.53 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.151, allocations: 71.94 kB / 0.8203 GB, free: 66.46 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.152, allocations: 64 kB / 0.8204 GB, free: 66.4 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/1.152, allocations: 0 / 0.8204 GB, free: 66.4 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/1.153, allocations: 0.8712 MB / 0.8212 GB, free: 65.54 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02442/1.177, allocations: 17.23 MB / 0.8381 GB, free: 48.45 MB / 0.6079 GB Notification: Performance of sort global known variables: time 9.52e-07/1.177, allocations: 0 / 0.8381 GB, free: 48.45 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003482/1.181, allocations: 0.6439 MB / 0.8387 GB, free: 47.8 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.0003765/1.181, allocations: 188.9 kB / 0.8389 GB, free: 47.62 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.182, allocations: 0.6907 MB / 0.8396 GB, free: 46.92 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.182, allocations: 0 / 0.8396 GB, free: 46.92 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/1.183, allocations: 419.4 kB / 0.84 GB, free: 46.5 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005125/1.188, allocations: 1.692 MB / 0.8416 GB, free: 44.8 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/1.226, allocations: 35.23 MB / 0.876 GB, free: 9.746 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009292/1.235, allocations: 8.917 MB / 0.8847 GB, free: 0.7891 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01108/1.247, allocations: 4.697 MB / 0.8893 GB, free: 12.11 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.248, allocations: 0.9838 MB / 0.8903 GB, free: 11.13 MB / 0.6235 GB Notification: Performance of SimCode: time 1.213e-06/1.248, allocations: 0 / 0.8903 GB, free: 11.13 MB / 0.6235 GB Notification: Performance of Templates: time 0.2287/1.477, allocations: 82.69 MB / 0.971 GB, free: 8.312 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches