Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001076/0.001076, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.436/1.436, allocations: 222.9 MB / 242.3 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.236/1.236, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 67.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6837, allocations: 80.68 MB / 0.5711 GB, free: 43.71 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002622/0.6863, allocations: 1.411 MB / 0.5725 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000879/0.6872, allocations: 0.5773 MB / 0.5731 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.6873, allocations: 0 / 0.5731 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.6874, allocations: 117.4 kB / 0.5732 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.6877, allocations: 162.7 kB / 0.5734 GB, free: 42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.6879, allocations: 76.33 kB / 0.5734 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.6882, allocations: 345.5 kB / 0.5738 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 2.723e-05/0.6883, allocations: 7.969 kB / 0.5738 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.6885, allocations: 171.7 kB / 0.5739 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.6888, allocations: 280.8 kB / 0.5742 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.6888, allocations: 19.28 kB / 0.5742 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.689, allocations: 99.53 kB / 0.5743 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.6897, allocations: 0.6284 MB / 0.5749 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.69, allocations: 382 kB / 0.5753 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.6908, allocations: 0.8554 MB / 0.5761 GB, free: 40.39 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6909, allocations: 1.844 kB / 0.5761 GB, free: 40.39 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.012e-06/0.6909, allocations: 0 / 0.5761 GB, free: 40.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.6909, allocations: 0 / 0.5761 GB, free: 40.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001592/0.6925, allocations: 1.575 MB / 0.5777 GB, free: 39.1 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6925, allocations: 9.625 kB / 0.5777 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.6927, allocations: 143.7 kB / 0.5778 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.6955, allocations: 1.753 MB / 0.5795 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.6955, allocations: 1.281 kB / 0.5795 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.6956, allocations: 6.844 kB / 0.5795 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.6958, allocations: 99.95 kB / 0.5796 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6958, allocations: 3.938 kB / 0.5796 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.6959, allocations: 16.52 kB / 0.5796 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6959, allocations: 0.9375 kB / 0.5796 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.696, allocations: 41.81 kB / 0.5797 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.6968, allocations: 0.5802 MB / 0.5803 GB, free: 37.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.697, allocations: 53.3 kB / 0.5803 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.6971, allocations: 47.8 kB / 0.5804 GB, free: 37.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.6971, allocations: 0.9375 kB / 0.5804 GB, free: 37.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.6973, allocations: 147.4 kB / 0.5805 GB, free: 37.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6973, allocations: 0 / 0.5805 GB, free: 37.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007174/0.698, allocations: 405.8 kB / 0.5809 GB, free: 37.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.6981, allocations: 79.64 kB / 0.581 GB, free: 36.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.7003, allocations: 1.634 MB / 0.5826 GB, free: 36.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.7003, allocations: 30.33 kB / 0.5826 GB, free: 36.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.7008, allocations: 0.6288 MB / 0.5832 GB, free: 35.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.7009, allocations: 26.58 kB / 0.5832 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.701, allocations: 48.41 kB / 0.5833 GB, free: 35.57 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.701, allocations: 312.2 kB / 0.5836 GB, free: 35.27 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.7011, allocations: 31.25 kB / 0.5836 GB, free: 35.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.7012, allocations: 35.42 kB / 0.5836 GB, free: 35.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.7013, allocations: 130.9 kB / 0.5838 GB, free: 35.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7013, allocations: 1.156 kB / 0.5838 GB, free: 35.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004777/0.7018, allocations: 385.3 kB / 0.5841 GB, free: 34.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.7019, allocations: 35.45 kB / 0.5842 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7019, allocations: 4 kB / 0.5842 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7019, allocations: 1.188 kB / 0.5842 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.702, allocations: 8.016 kB / 0.5842 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.702, allocations: 0 / 0.5842 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.7022, allocations: 7.438 kB / 0.5842 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.7023, allocations: 57 kB / 0.5842 GB, free: 34.93 MB / 462.3 MB 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.0004918/0.7028, allocations: 463.2 kB / 0.5847 GB, free: 34.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.7029, allocations: 160.5 kB / 0.5848 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.7031, allocations: 169.4 kB / 0.585 GB, free: 34.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.7031, allocations: 9.125 kB / 0.585 GB, free: 34.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7032, allocations: 0 / 0.585 GB, free: 34.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7032, allocations: 3.984 kB / 0.585 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/0.7038, allocations: 0.6298 MB / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7038, allocations: 0 / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.7038, allocations: 7.469 kB / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7039, allocations: 0 / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.7039, allocations: 18.36 kB / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.7039, allocations: 0 / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7039, allocations: 1.094 kB / 0.5856 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.7045, allocations: 434.4 kB / 0.5861 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.7048, allocations: 210.8 kB / 0.5863 GB, free: 33.63 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.7049, allocations: 7.812 kB / 0.5863 GB, free: 33.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.705, allocations: 5.25 kB / 0.5863 GB, free: 33.63 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.7051, allocations: 6.219 kB / 0.5863 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/0.7052, allocations: 61.8 kB / 0.5863 GB, free: 33.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001195/0.7064, allocations: 1.143 MB / 0.5874 GB, free: 32.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7064, allocations: 0 / 0.5874 GB, free: 32.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003292/0.7067, allocations: 76 kB / 0.5875 GB, free: 32.53 MB / 462.3 MB 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.000222/0.707, allocations: 126.3 kB / 0.5876 GB, free: 32.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.7072, allocations: 179.3 kB / 0.5878 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7072, allocations: 0 / 0.5878 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.7073, allocations: 127.4 kB / 0.5879 GB, free: 32.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.7079, allocations: 116.5 kB / 0.588 GB, free: 31.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.7103, allocations: 2.104 MB / 0.5901 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7109, allocations: 1.188 MB / 0.5913 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005141/0.7114, allocations: 301.6 kB / 0.5915 GB, free: 28.31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.7115, allocations: 71.44 kB / 0.5916 GB, free: 28.24 MB / 462.3 MB Notification: Performance of SimCode: time 1.332e-06/0.7115, allocations: 0 / 0.5916 GB, free: 28.24 MB / 462.3 MB Notification: Performance of Templates: time 0.01312/0.7246, allocations: 5.759 MB / 0.5972 GB, free: 22.39 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches