Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001666/0.001666, allocations: 192 kB / 18.63 MB, free: 4.375 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.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.953/0.953, allocations: 119.3 MB / 411.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 68.03 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5257, allocations: 80.67 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.00226/0.5279, allocations: 1.415 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.5288, allocations: 0.5693 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.5288, allocations: 1.281 kB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.5307, allocations: 3.431 MB / 0.5764 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.5329, allocations: 3.467 MB / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.5332, allocations: 87.44 kB / 0.5799 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005433/0.5387, allocations: 8.554 MB / 0.5883 GB, free: 32.01 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.5387, allocations: 4 kB / 0.5883 GB, free: 32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.5428, allocations: 4.25 MB / 0.5924 GB, free: 27.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005264/0.5481, allocations: 8.077 MB / 0.6003 GB, free: 19.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.5492, allocations: 0.4922 MB / 0.6008 GB, free: 19.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000851/0.5501, allocations: 0.5702 MB / 0.6013 GB, free: 18.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01503/0.5651, allocations: 19.91 MB / 0.6208 GB, free: 14.62 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01565/0.5808, allocations: 11.24 MB / 0.6318 GB, free: 3.273 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.603, allocations: 24.74 MB / 0.6559 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.603, allocations: 0 / 0.6559 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6031, allocations: 0 / 0.6559 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0009448/0.604, allocations: 0 / 0.6559 GB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.05461/0.6586, allocations: 38.76 MB / 0.6938 GB, free: 3.234 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.6587, allocations: 12.02 kB / 0.6938 GB, free: 3.223 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006962/0.6657, allocations: 4.399 MB / 0.6981 GB, free: 14.76 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1227/0.7884, allocations: 51.57 MB / 0.7484 GB, free: 10.85 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.7885, allocations: 4.375 kB / 0.7485 GB, free: 10.85 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007755/0.7893, allocations: 128.4 kB / 0.7486 GB, free: 10.72 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.7921, allocations: 1.52 MB / 0.7501 GB, free: 9.195 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7921, allocations: 4 kB / 0.7501 GB, free: 9.191 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.7924, allocations: 124 kB / 0.7502 GB, free: 9.07 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7924, allocations: 4 kB / 0.7502 GB, free: 9.066 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.7936, allocations: 0.875 MB / 0.751 GB, free: 8.191 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5537/1.347, allocations: 13.84 MB / 0.7646 GB, free: 127.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/1.35, allocations: 0.5229 MB / 0.7651 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/1.35, allocations: 0.5194 MB / 0.7656 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/1.35, allocations: 0.9375 kB / 0.7656 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/1.352, allocations: 1.324 MB / 0.7669 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 3.246e-06/1.352, allocations: 2.516 kB / 0.7669 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01587/1.368, allocations: 8.322 MB / 0.775 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/1.368, allocations: 83.52 kB / 0.7751 GB, free: 127.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07935/1.447, allocations: 49.58 MB / 0.8235 GB, free: 91.49 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009793/1.448, allocations: 153.7 kB / 0.8236 GB, free: 91.33 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02017/1.469, allocations: 22.55 MB / 0.8457 GB, free: 68.77 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/1.47, allocations: 144.5 kB / 0.8458 GB, free: 68.64 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002598/1.472, allocations: 0.8728 MB / 0.8467 GB, free: 67.77 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/1.472, allocations: 313.6 kB / 0.847 GB, free: 67.46 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.474, allocations: 0.5078 MB / 0.8474 GB, free: 66.95 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.475, allocations: 0.5 MB / 0.8479 GB, free: 66.45 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.476, allocations: 1.08 MB / 0.849 GB, free: 65.36 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.476, allocations: 0 / 0.849 GB, free: 65.36 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009317/1.486, allocations: 7.825 MB / 0.8566 GB, free: 59.97 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/1.486, allocations: 40.05 kB / 0.8567 GB, free: 59.93 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.486, allocations: 0 / 0.8567 GB, free: 59.93 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.486, allocations: 0 / 0.8567 GB, free: 59.93 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/1.486, allocations: 4 kB / 0.8567 GB, free: 59.92 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.486, allocations: 0 / 0.8567 GB, free: 59.92 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008805/1.495, allocations: 141.7 kB / 0.8568 GB, free: 59.79 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.497, allocations: 1.712 MB / 0.8585 GB, free: 58.08 MB / 0.5923 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 (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.01436/1.511, allocations: 9.67 MB / 0.8679 GB, free: 48.39 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008442/1.519, allocations: 4.52 MB / 0.8723 GB, free: 43.81 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.532, allocations: 5.118 MB / 0.8773 GB, free: 38.67 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.532, allocations: 0 / 0.8773 GB, free: 38.67 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.532, allocations: 4 kB / 0.8773 GB, free: 38.67 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.532, allocations: 7.641 kB / 0.8773 GB, free: 38.66 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03404/1.566, allocations: 15.08 MB / 0.8921 GB, free: 23.53 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.566, allocations: 3.938 kB / 0.8921 GB, free: 23.52 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/1.566, allocations: 4.844 kB / 0.8921 GB, free: 23.52 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.566, allocations: 3.938 kB / 0.8921 GB, free: 23.52 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009528/1.567, allocations: 376 kB / 0.8924 GB, free: 23.15 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.567, allocations: 4 kB / 0.8924 GB, free: 23.14 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.567, allocations: 0 / 0.8924 GB, free: 23.14 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.578, allocations: 8.164 MB / 0.9004 GB, free: 14.91 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01033/1.589, allocations: 3.875 MB / 0.9042 GB, free: 10.96 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003966/1.593, allocations: 128 kB / 0.9043 GB, free: 10.83 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004545/1.597, allocations: 132 kB / 0.9044 GB, free: 10.7 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/1.597, allocations: 3.938 kB / 0.9045 GB, free: 10.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001296/1.598, allocations: 1.715 MB / 0.9061 GB, free: 8.984 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05927/1.658, allocations: 34.49 MB / 0.9398 GB, free: 6.789 MB / 0.6235 GB Notification: Performance of sort global known variables: time 2.71e-07/1.658, allocations: 0 / 0.9398 GB, free: 6.789 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.007399/1.665, allocations: 1.255 MB / 0.941 GB, free: 5.539 MB / 0.6235 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) * 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.001196/1.666, allocations: 247.7 kB / 0.9413 GB, free: 5.289 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.003482/1.67, allocations: 1.232 MB / 0.9425 GB, free: 4.047 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.67, allocations: 3 kB / 0.9425 GB, free: 4.047 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.671, allocations: 0.7182 MB / 0.9432 GB, free: 3.316 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01605/1.687, allocations: 3.375 MB / 0.9465 GB, free: 15.93 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/1.79, allocations: 70.57 MB / 1.015 GB, free: 9.805 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3038/2.094, allocations: 17.33 MB / 1.032 GB, free: 216.1 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.02697/2.121, allocations: 9.423 MB / 1.042 GB, free: 211.4 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006258/2.127, allocations: 1.962 MB / 1.043 GB, free: 211.4 MB / 0.7017 GB Notification: Performance of SimCode: time 1.633e-06/2.127, allocations: 2.656 kB / 1.043 GB, free: 211.4 MB / 0.7017 GB Notification: Performance of Templates: time 0.3889/2.516, allocations: 167.3 MB / 1.207 GB, free: 68.73 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches