Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 96.2 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8804/0.8804, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.063e-05, allocations: 7.984 kB / 0.5288 GB, free: 1.312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.537, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.6769, allocations: 126 MB / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001346/0.6771, allocations: 51.97 kB / 0.7328 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.521/2.198, allocations: 193 MB / 0.9213 GB, free: 13.8 MB / 0.589 GB Notification: Performance of FrontEnd: time 2.194e-06/2.198, allocations: 0 / 0.9213 GB, free: 13.8 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.001567/2.2, allocations: 255.9 kB / 0.9215 GB, free: 13.55 MB / 0.589 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.02235/2.222, allocations: 12.59 MB / 0.9338 GB, free: 0.8398 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/2.222, allocations: 8.031 kB / 0.9338 GB, free: 0.832 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/2.226, allocations: 2.268 MB / 0.936 GB, free: 14.54 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05418/2.28, allocations: 22.34 MB / 0.9579 GB, free: 8.031 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/2.28, allocations: 4 kB / 0.9579 GB, free: 8.027 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/2.28, allocations: 68 kB / 0.9579 GB, free: 7.961 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005881/2.281, allocations: 391.9 kB / 0.9583 GB, free: 7.578 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/2.282, allocations: 0.7158 MB / 0.959 GB, free: 6.855 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/2.282, allocations: 0 / 0.959 GB, free: 6.855 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/2.282, allocations: 67.95 kB / 0.9591 GB, free: 6.789 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/2.282, allocations: 0 / 0.9591 GB, free: 6.789 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/2.298, allocations: 6.843 MB / 0.9658 GB, free: 15.9 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/2.298, allocations: 230.6 kB / 0.966 GB, free: 15.67 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/2.299, allocations: 208.9 kB / 0.9662 GB, free: 15.46 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/2.299, allocations: 0 / 0.9662 GB, free: 15.46 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007028/2.299, allocations: 0.6501 MB / 0.9668 GB, free: 14.79 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/2.299, allocations: 3.938 kB / 0.9668 GB, free: 14.79 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.00444/2.304, allocations: 3.562 MB / 0.9703 GB, free: 11.19 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/2.304, allocations: 81.11 kB / 0.9704 GB, free: 11.09 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03801/2.342, allocations: 19.74 MB / 0.9896 GB, free: 7.562 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0004227/2.342, allocations: 89.7 kB / 0.9897 GB, free: 7.469 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.3284/2.671, allocations: 11.01 MB / 1 GB, free: 181.9 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/2.671, allocations: 72.73 kB / 1.001 GB, free: 181.9 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/2.672, allocations: 63.5 kB / 1.001 GB, free: 181.9 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/2.672, allocations: 316.7 kB / 1.001 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/2.672, allocations: 198.4 kB / 1.001 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/2.672, allocations: 202.2 kB / 1.001 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/2.673, allocations: 210 kB / 1.001 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.673, allocations: 1.156 kB / 1.001 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005169/2.678, allocations: 3.575 MB / 1.005 GB, free: 181.6 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/2.678, allocations: 39.48 kB / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/2.678, allocations: 3.406 kB / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/2.678, allocations: 3.562 kB / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/2.678, allocations: 4.391 kB / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/2.678, allocations: 0 / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/2.68, allocations: 69.75 kB / 1.005 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007518/2.681, allocations: 0.8586 MB / 1.006 GB, free: 181.5 MB / 0.6515 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000402/2.682, allocations: 261.3 kB / 1.006 GB, free: 181.4 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/2.684, allocations: 2.27 MB / 1.008 GB, free: 180.1 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007504/2.692, allocations: 2.562 MB / 1.011 GB, free: 179.9 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/2.692, allocations: 0 / 1.011 GB, free: 179.9 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/2.692, allocations: 3.906 kB / 1.011 GB, free: 179.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/2.692, allocations: 0.75 kB / 1.011 GB, free: 179.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/2.707, allocations: 7.454 MB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/2.707, allocations: 3.875 kB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/2.707, allocations: 0 / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/2.707, allocations: 5.531 kB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006521/2.708, allocations: 193.4 kB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/2.708, allocations: 4.797 kB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/2.708, allocations: 2.625 kB / 1.018 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/2.713, allocations: 3.753 MB / 1.022 GB, free: 178 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003753/2.717, allocations: 1.982 MB / 1.024 GB, free: 176.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/2.719, allocations: 66.56 kB / 1.024 GB, free: 176.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/2.72, allocations: 73.14 kB / 1.024 GB, free: 176.6 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/2.72, allocations: 6.922 kB / 1.024 GB, free: 176.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005587/2.721, allocations: 0.8588 MB / 1.025 GB, free: 176.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.02718/2.748, allocations: 15.59 MB / 1.04 GB, free: 173.2 MB / 0.6515 GB Notification: Performance of sort global known variables: time 4.11e-07/2.748, allocations: 0 / 1.04 GB, free: 173.2 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002466/2.751, allocations: 0.6533 MB / 1.041 GB, free: 173.2 MB / 0.6515 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) * 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 (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.0003303/2.751, allocations: 190.1 kB / 1.041 GB, free: 173.1 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.000696/2.752, allocations: 0.5491 MB / 1.042 GB, free: 173 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/2.752, allocations: 3 kB / 1.042 GB, free: 173 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/2.752, allocations: 360.5 kB / 1.042 GB, free: 172.9 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/2.756, allocations: 1.635 MB / 1.043 GB, free: 171.9 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/2.797, allocations: 28.15 MB / 1.071 GB, free: 151.5 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/2.81, allocations: 9.28 MB / 1.08 GB, free: 145.4 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0133/2.824, allocations: 4.699 MB / 1.085 GB, free: 141.9 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/2.825, allocations: 0.9916 MB / 1.086 GB, free: 140.9 MB / 0.6515 GB Notification: Performance of SimCode: time 7.62e-07/2.825, allocations: 3.938 kB / 1.086 GB, free: 140.9 MB / 0.6515 GB Notification: Performance of Templates: time 0.1708/2.996, allocations: 70.27 MB / 1.154 GB, free: 71.1 MB / 0.6515 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches