Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.0009752, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001075/0.001075, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.376/1.376, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.079/1.079, allocations: 120.5 MB / 413.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 8 kB / 0.4955 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6159, allocations: 82.85 MB / 0.5764 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.001866/0.6178, allocations: 1.29 MB / 0.5777 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.6193, allocations: 0.8571 MB / 0.5785 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.6193, allocations: 3.938 kB / 0.5785 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006207/0.6256, allocations: 6.877 MB / 0.5853 GB, free: 36.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.6282, allocations: 3.503 MB / 0.5887 GB, free: 33.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.6287, allocations: 89.7 kB / 0.5888 GB, free: 33.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005333/0.634, allocations: 8.582 MB / 0.5971 GB, free: 25.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.6341, allocations: 11.92 kB / 0.5972 GB, free: 25.01 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/0.6398, allocations: 4.258 MB / 0.6013 GB, free: 20.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006818/0.6466, allocations: 7.612 MB / 0.6087 GB, free: 13.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.648, allocations: 500 kB / 0.6092 GB, free: 12.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008892/0.6489, allocations: 0.5195 MB / 0.6097 GB, free: 12.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01697/0.6658, allocations: 19.91 MB / 0.6292 GB, free: 8.148 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0197/0.6856, allocations: 11.28 MB / 0.6402 GB, free: 12.73 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.7098, allocations: 18.01 MB / 0.6578 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.71, allocations: 0 / 0.6578 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of FrontEnd: time 6.222e-06/0.71, allocations: 0 / 0.6578 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00186/0.7119, allocations: 0 / 0.6578 GB, free: 10.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.05815/0.77, allocations: 34.11 MB / 0.6911 GB, free: 8.223 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.7701, allocations: 15.97 kB / 0.6911 GB, free: 8.207 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009772/0.7799, allocations: 4.403 MB / 0.6954 GB, free: 3.746 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1333/0.9132, allocations: 51.59 MB / 0.7458 GB, free: 15.8 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.9133, allocations: 4.375 kB / 0.7458 GB, free: 15.8 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.9133, allocations: 8.125 kB / 0.7458 GB, free: 15.79 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.9135, allocations: 49.62 kB / 0.7458 GB, free: 15.74 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.9135, allocations: 0 / 0.7458 GB, free: 15.74 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.9135, allocations: 4 kB / 0.7459 GB, free: 15.74 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9136, allocations: 0 / 0.7459 GB, free: 15.74 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.9136, allocations: 15.98 kB / 0.7459 GB, free: 15.72 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.9444, allocations: 13.73 MB / 0.7593 GB, free: 1.926 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.9448, allocations: 58.56 kB / 0.7593 GB, free: 1.859 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.9448, allocations: 24.78 kB / 0.7594 GB, free: 1.832 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.9449, allocations: 0 / 0.7594 GB, free: 1.832 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.9451, allocations: 59.39 kB / 0.7594 GB, free: 1.762 MB / 0.592 GB Notification: Performance of pre-optimization done (n=5): time 2.845e-06/0.9451, allocations: 3.938 kB / 0.7594 GB, free: 1.758 MB / 0.592 GB Notification: Performance of matching and sorting (n=5): time 0.7328/1.678, allocations: 4.607 MB / 0.7639 GB, free: 129.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.678, allocations: 56.22 kB / 0.764 GB, free: 129.8 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1034/1.781, allocations: 50.58 MB / 0.8134 GB, free: 101.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/1.781, allocations: 25.7 kB / 0.8134 GB, free: 101.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.0228/1.804, allocations: 23.58 MB / 0.8364 GB, free: 77.98 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/1.804, allocations: 17.55 kB / 0.8364 GB, free: 77.98 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/1.804, allocations: 9.719 kB / 0.8364 GB, free: 77.96 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/1.805, allocations: 317 kB / 0.8367 GB, free: 77.65 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.805, allocations: 12 kB / 0.8368 GB, free: 77.64 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/1.805, allocations: 29.7 kB / 0.8368 GB, free: 77.6 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/1.805, allocations: 49.64 kB / 0.8368 GB, free: 77.55 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.805, allocations: 3.469 kB / 0.8368 GB, free: 77.55 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00885/1.814, allocations: 4.595 MB / 0.8413 GB, free: 75.4 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.814, allocations: 4 kB / 0.8413 GB, free: 75.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.814, allocations: 4 kB / 0.8413 GB, free: 75.39 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/1.814, allocations: 0 / 0.8413 GB, free: 75.39 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.814, allocations: 15.83 kB / 0.8413 GB, free: 75.38 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.814, allocations: 3 kB / 0.8413 GB, free: 75.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009149/1.823, allocations: 128 kB / 0.8415 GB, free: 75.26 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/1.823, allocations: 4 kB / 0.8415 GB, free: 75.25 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0134/1.837, allocations: 9.399 MB / 0.8507 GB, free: 65.84 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008307/1.845, allocations: 4.648 MB / 0.8552 GB, free: 62.1 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.857, allocations: 5.122 MB / 0.8602 GB, free: 56.95 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.857, allocations: 3 kB / 0.8602 GB, free: 56.95 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.857, allocations: 0 / 0.8602 GB, free: 56.95 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.857, allocations: 0 / 0.8602 GB, free: 56.95 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03312/1.891, allocations: 15.08 MB / 0.8749 GB, free: 41.81 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.891, allocations: 1.125 kB / 0.8749 GB, free: 41.81 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/1.891, allocations: 8.812 kB / 0.8749 GB, free: 41.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/1.891, allocations: 0 / 0.8749 GB, free: 41.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/1.891, allocations: 4 kB / 0.8749 GB, free: 41.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.891, allocations: 0 / 0.8749 GB, free: 41.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.891, allocations: 3 kB / 0.8749 GB, free: 41.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/1.9, allocations: 5.037 MB / 0.8799 GB, free: 36.68 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01076/1.911, allocations: 3.879 MB / 0.8837 GB, free: 32.73 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006226/1.917, allocations: 128 kB / 0.8838 GB, free: 32.61 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007172/1.924, allocations: 135 kB / 0.8839 GB, free: 32.48 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.924, allocations: 4 kB / 0.8839 GB, free: 32.47 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/1.924, allocations: 6.844 kB / 0.8839 GB, free: 32.47 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.08044/2.005, allocations: 35 MB / 0.9181 GB, free: 13.77 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.01e-07/2.005, allocations: 0 / 0.9181 GB, free: 13.77 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.009003/2.014, allocations: 1.237 MB / 0.9193 GB, free: 12.54 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0013/2.015, allocations: 408.4 kB / 0.9197 GB, free: 12.32 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002994/2.015, allocations: 51.91 kB / 0.9197 GB, free: 12.27 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.016, allocations: 0 / 0.9197 GB, free: 12.27 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/2.016, allocations: 16 kB / 0.9198 GB, free: 12.25 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02897/2.045, allocations: 3.403 MB / 0.9231 GB, free: 8.848 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/2.199, allocations: 81.15 MB / 1.002 GB, free: 8.094 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04013/2.239, allocations: 17.35 MB / 1.019 GB, free: 6.695 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01354/2.253, allocations: 4.407 MB / 1.024 GB, free: 2.293 MB / 0.7017 GB Notification: Performance of SimCode: time 2.154e-06/2.253, allocations: 0 / 1.024 GB, free: 2.293 MB / 0.7017 GB Notification: Performance of Templates: time 19.95/22.2, allocations: 6.065 GB / 7.088 GB, free: 171.3 MB / 0.811 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches