Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 90.69 kB / 17.31 MB, free: 5.938 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.001077/0.001077, allocations: 179.2 kB / 18.22 MB, free: 5.395 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.441/1.441, allocations: 223.3 MB / 242.3 MB, free: 15.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.1/1.1, allocations: 120.5 MB / 413.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 8 kB / 0.4955 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6485, allocations: 82.84 MB / 0.5764 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.001866/0.6504, allocations: 1.297 MB / 0.5777 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.6519, allocations: 0.8558 MB / 0.5785 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.6519, allocations: 9.031 kB / 0.5785 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.6548, allocations: 3.455 MB / 0.5819 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.6565, allocations: 1.793 MB / 0.5837 GB, free: 37.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.6569, allocations: 94.38 kB / 0.5838 GB, free: 37.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004174/0.6611, allocations: 4.341 MB / 0.588 GB, free: 34.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.6612, allocations: 4 kB / 0.588 GB, free: 34.43 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.6649, allocations: 2.16 MB / 0.5901 GB, free: 32.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.6686, allocations: 3.822 MB / 0.5938 GB, free: 28.44 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.669, allocations: 248 kB / 0.5941 GB, free: 28.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.6695, allocations: 284 kB / 0.5944 GB, free: 27.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00719/0.6767, allocations: 9.958 MB / 0.6041 GB, free: 17.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006814/0.6836, allocations: 5.68 MB / 0.6096 GB, free: 12.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007091/0.6907, allocations: 9.033 MB / 0.6184 GB, free: 3.137 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6907, allocations: 0 / 0.6184 GB, free: 3.137 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.328e-06/0.6907, allocations: 0 / 0.6184 GB, free: 3.137 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004483/0.6912, allocations: 0 / 0.6184 GB, free: 3.137 MB / 462.3 MB 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.02422/0.7154, allocations: 17.24 MB / 0.6353 GB, free: 1.703 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.7155, allocations: 12.03 kB / 0.6353 GB, free: 1.691 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.7197, allocations: 2.206 MB / 0.6374 GB, free: 15.45 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05245/0.7722, allocations: 25.85 MB / 0.6627 GB, free: 5.414 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.7723, allocations: 12.38 kB / 0.6627 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.7723, allocations: 8.109 kB / 0.6627 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.7725, allocations: 45.67 kB / 0.6628 GB, free: 5.344 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7725, allocations: 4 kB / 0.6628 GB, free: 5.34 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.7725, allocations: 0 / 0.6628 GB, free: 5.34 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7726, allocations: 0 / 0.6628 GB, free: 5.34 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.7726, allocations: 15.98 kB / 0.6628 GB, free: 5.324 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.7859, allocations: 6.946 MB / 0.6696 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.7862, allocations: 58.56 kB / 0.6696 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.7862, allocations: 24.78 kB / 0.6696 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.7863, allocations: 0 / 0.6696 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.7865, allocations: 63.39 kB / 0.6697 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.7865, allocations: 0 / 0.6697 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.004421/0.7909, allocations: 2.355 MB / 0.672 GB, free: 11.77 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.791, allocations: 51.41 kB / 0.672 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04557/0.8366, allocations: 25.36 MB / 0.6968 GB, free: 2.551 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.8367, allocations: 29.7 kB / 0.6968 GB, free: 2.516 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01414/0.8508, allocations: 11.34 MB / 0.7079 GB, free: 7.168 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.851, allocations: 26.86 kB / 0.7079 GB, free: 7.145 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.851, allocations: 9.719 kB / 0.708 GB, free: 7.129 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8511, allocations: 310 kB / 0.7082 GB, free: 6.82 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.8513, allocations: 23.92 kB / 0.7083 GB, free: 6.797 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.8513, allocations: 25.72 kB / 0.7083 GB, free: 6.766 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.8514, allocations: 45.64 kB / 0.7083 GB, free: 6.715 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8515, allocations: 0 / 0.7083 GB, free: 6.715 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004631/0.8561, allocations: 2.335 MB / 0.7106 GB, free: 4.344 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.8561, allocations: 7.984 kB / 0.7106 GB, free: 4.336 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8562, allocations: 4.031 kB / 0.7106 GB, free: 4.332 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.8562, allocations: 4 kB / 0.7106 GB, free: 4.328 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.8563, allocations: 11.94 kB / 0.7106 GB, free: 4.316 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8563, allocations: 0 / 0.7106 GB, free: 4.316 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.8601, allocations: 72 kB / 0.7107 GB, free: 4.246 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.8601, allocations: 0 / 0.7107 GB, free: 4.246 MB / 0.5452 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.008394/0.8685, allocations: 4.76 MB / 0.7154 GB, free: 15.47 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004464/0.873, allocations: 2.326 MB / 0.7176 GB, free: 13.11 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006976/0.88, allocations: 2.565 MB / 0.7201 GB, free: 10.55 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.88, allocations: 4 kB / 0.7201 GB, free: 10.54 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.8801, allocations: 0 / 0.7201 GB, free: 10.54 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8801, allocations: 0 / 0.7201 GB, free: 10.54 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.8999, allocations: 7.622 MB / 0.7276 GB, free: 2.871 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.8999, allocations: 4.297 kB / 0.7276 GB, free: 2.867 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.9, allocations: 8 kB / 0.7276 GB, free: 2.859 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.9, allocations: 0 / 0.7276 GB, free: 2.859 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.9001, allocations: 0 / 0.7276 GB, free: 2.859 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.9001, allocations: 4 kB / 0.7276 GB, free: 2.855 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9001, allocations: 0 / 0.7276 GB, free: 2.855 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/0.9051, allocations: 2.575 MB / 0.7301 GB, free: 240 kB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004349/0.9095, allocations: 1.987 MB / 0.7321 GB, free: 14.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/0.9115, allocations: 64 kB / 0.7321 GB, free: 14.14 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/0.9135, allocations: 64 kB / 0.7322 GB, free: 14.07 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.9135, allocations: 3.984 kB / 0.7322 GB, free: 14.07 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.9136, allocations: 4 kB / 0.7322 GB, free: 14.07 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03269/0.9463, allocations: 17.51 MB / 0.7493 GB, free: 12.71 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9463, allocations: 4 kB / 0.7493 GB, free: 12.7 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003659/0.95, allocations: 0.625 MB / 0.7499 GB, free: 12.08 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: 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.001067/0.9511, allocations: 417.5 kB / 0.7503 GB, free: 11.82 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.9513, allocations: 39.92 kB / 0.7503 GB, free: 11.79 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9513, allocations: 0 / 0.7503 GB, free: 11.79 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.9514, allocations: 23.98 kB / 0.7504 GB, free: 11.76 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006486/0.9579, allocations: 1.714 MB / 0.752 GB, free: 10.05 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6588/1.617, allocations: 39.94 MB / 0.791 GB, free: 137.1 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01616/1.633, allocations: 8.926 MB / 0.7998 GB, free: 129.6 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00603/1.639, allocations: 2.213 MB / 0.8019 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of SimCode: time 1.382e-06/1.639, allocations: 2.625 kB / 0.8019 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of Templates: time 5.086/6.725, allocations: 1.603 GB / 2.404 GB, free: 199.8 MB / 0.7173 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches