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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 101.1 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8132/0.8132, allocations: 120.5 MB / 463.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 0.5433 GB, free: 42.45 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 82.85 MB / 0.6242 GB, free: 9.23 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7044/0.8603, allocations: 129.2 MB / 0.7505 GB, free: 4.633 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001331/0.8605, allocations: 47.23 kB / 0.7505 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.7995/1.66, allocations: 195.3 MB / 0.9413 GB, free: 7.078 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.745e-06/1.66, allocations: 0 / 0.9413 GB, free: 7.078 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.002281/1.662, allocations: 259.9 kB / 0.9415 GB, free: 6.824 MB / 0.6982 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.5707/2.233, allocations: 17.57 MB / 0.9587 GB, free: 217.4 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/2.233, allocations: 8.562 kB / 0.9587 GB, free: 217.4 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/2.239, allocations: 2.266 MB / 0.9609 GB, free: 216.1 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06687/2.306, allocations: 22.56 MB / 0.9829 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/2.306, allocations: 1.781 kB / 0.9829 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/2.306, allocations: 3.25 kB / 0.9829 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/2.306, allocations: 51.23 kB / 0.983 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/2.306, allocations: 2.906 kB / 0.983 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/2.306, allocations: 0 / 0.983 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/2.306, allocations: 3.953 kB / 0.983 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/2.306, allocations: 21.17 kB / 0.983 GB, free: 210.5 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/2.322, allocations: 6.946 MB / 0.9898 GB, free: 207.9 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/2.322, allocations: 57.69 kB / 0.9898 GB, free: 207.9 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/2.322, allocations: 0 / 0.9898 GB, free: 207.9 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/2.322, allocations: 69.7 kB / 0.9899 GB, free: 207.8 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/2.322, allocations: 0 / 0.9899 GB, free: 207.8 MB / 0.6984 GB Notification: Performance of matching and sorting (n=5): time 0.004794/2.327, allocations: 2.348 MB / 0.9922 GB, free: 206.5 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/2.327, allocations: 59.23 kB / 0.9923 GB, free: 206.4 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04226/2.369, allocations: 21.85 MB / 1.014 GB, free: 201.2 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/2.369, allocations: 32.8 kB / 1.014 GB, free: 201.2 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.01398/2.383, allocations: 10.77 MB / 1.024 GB, free: 192.6 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/2.384, allocations: 11.09 kB / 1.024 GB, free: 192.6 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/2.384, allocations: 4 kB / 1.024 GB, free: 192.6 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/2.384, allocations: 310.3 kB / 1.024 GB, free: 192.3 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/2.384, allocations: 18.55 kB / 1.024 GB, free: 192.3 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/2.384, allocations: 28.28 kB / 1.024 GB, free: 192.2 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/2.384, allocations: 19.66 kB / 1.025 GB, free: 192.2 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/2.384, allocations: 3.969 kB / 1.025 GB, free: 192.2 MB / 0.6984 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004308/2.388, allocations: 2.338 MB / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/2.388, allocations: 5.344 kB / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.388, allocations: 0 / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/2.388, allocations: 1.75 kB / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/2.388, allocations: 16.52 kB / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/2.388, allocations: 0 / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/2.392, allocations: 76.2 kB / 1.027 GB, free: 190.9 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/2.392, allocations: 3.281 kB / 1.027 GB, free: 190.9 MB / 0.6984 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01012/2.402, allocations: 4.759 MB / 1.032 GB, free: 190.1 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006137/2.408, allocations: 2.33 MB / 1.034 GB, free: 187.7 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/2.416, allocations: 2.645 MB / 1.036 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/2.416, allocations: 1.594 kB / 1.036 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/2.416, allocations: 0 / 1.036 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/2.416, allocations: 1.781 kB / 1.036 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/2.436, allocations: 7.629 MB / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/2.436, allocations: 2.156 kB / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/2.436, allocations: 4.656 kB / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/2.436, allocations: 7.141 kB / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/2.436, allocations: 0 / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/2.436, allocations: 0 / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.436, allocations: 4 kB / 1.044 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004587/2.44, allocations: 2.579 MB / 1.046 GB, free: 176.6 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004254/2.445, allocations: 1.982 MB / 1.048 GB, free: 174.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002787/2.448, allocations: 68 kB / 1.048 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/2.45, allocations: 69.12 kB / 1.048 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/2.45, allocations: 2.156 kB / 1.048 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/2.45, allocations: 5.25 kB / 1.048 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.03433/2.485, allocations: 17.45 MB / 1.066 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of sort global known variables: time 6.01e-07/2.485, allocations: 0 / 1.066 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003975/2.489, allocations: 0.6393 MB / 1.066 GB, free: 157.8 MB / 0.6984 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/2.49, allocations: 417.9 kB / 1.067 GB, free: 157.6 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0002046/2.49, allocations: 45.67 kB / 1.067 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/2.49, allocations: 0 / 1.067 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/2.49, allocations: 25.92 kB / 1.067 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005628/2.496, allocations: 1.649 MB / 1.068 GB, free: 155.8 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05042/2.546, allocations: 36.87 MB / 1.104 GB, free: 118.9 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01665/2.563, allocations: 9.296 MB / 1.113 GB, free: 109.6 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.01918/2.582, allocations: 5.65 MB / 1.119 GB, free: 104 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005388/2.587, allocations: 2.213 MB / 1.121 GB, free: 101.7 MB / 0.6984 GB Notification: Performance of SimCode: time 1.523e-06/2.588, allocations: 0 / 1.121 GB, free: 101.7 MB / 0.6984 GB Notification: Performance of Templates: time 0.1782/2.766, allocations: 60.23 MB / 1.18 GB, free: 41.47 MB / 0.6984 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/jenkins/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