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.001468/0.001468, allocations: 111.6 kB / 17.69 MB, free: 5.414 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.001825/0.001825, allocations: 192 kB / 18.63 MB, free: 4.48 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.489/1.489, 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.29/1.29, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 59.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7443, allocations: 80.69 MB / 0.5712 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003434/0.7478, allocations: 1.408 MB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.7491, allocations: 0.5737 MB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.7492, allocations: 5.031 kB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.753, allocations: 3.43 MB / 0.5765 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.7573, allocations: 3.467 MB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007292/0.7581, allocations: 80.81 kB / 0.5799 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00908/0.7672, allocations: 8.551 MB / 0.5883 GB, free: 32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.7673, allocations: 8 kB / 0.5883 GB, free: 32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00833/0.7757, allocations: 4.247 MB / 0.5924 GB, free: 27.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/0.7835, allocations: 8.081 MB / 0.6003 GB, free: 19.65 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.7849, allocations: 0.4961 MB / 0.6008 GB, free: 19.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.7859, allocations: 0.5702 MB / 0.6014 GB, free: 18.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0177/0.8036, allocations: 19.9 MB / 0.6208 GB, free: 14.62 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0238/0.8274, allocations: 11.24 MB / 0.6318 GB, free: 3.27 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03805/0.8655, allocations: 24.75 MB / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.029e-05/0.8656, allocations: 0 / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.508e-06/0.8657, allocations: 3.938 kB / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00159/0.8673, allocations: 0 / 0.6559 GB, free: 10.38 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.07136/0.9386, allocations: 38.75 MB / 0.6938 GB, free: 3.23 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.9387, allocations: 8.031 kB / 0.6938 GB, free: 3.223 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.9488, allocations: 4.399 MB / 0.6981 GB, free: 14.76 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1517/1.101, allocations: 51.57 MB / 0.7485 GB, free: 10.84 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/1.101, allocations: 384 / 0.7485 GB, free: 10.84 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/1.101, allocations: 136.4 kB / 0.7486 GB, free: 10.71 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.103, allocations: 1.516 MB / 0.7501 GB, free: 9.184 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.103, allocations: 0 / 0.7501 GB, free: 9.184 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/1.103, allocations: 124 kB / 0.7502 GB, free: 9.062 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/1.103, allocations: 0 / 0.7502 GB, free: 9.062 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/1.104, allocations: 0.8827 MB / 0.751 GB, free: 8.18 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6688/1.773, allocations: 13.84 MB / 0.7646 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/1.776, allocations: 0.5261 MB / 0.7651 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.777, allocations: 0.5232 MB / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/1.777, allocations: 0 / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/1.779, allocations: 1.315 MB / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/1.779, allocations: 0 / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01821/1.797, allocations: 8.327 MB / 0.775 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.798, allocations: 81.78 kB / 0.7751 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09806/1.896, allocations: 49.58 MB / 0.8235 GB, free: 103.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0008644/1.897, allocations: 156.8 kB / 0.8236 GB, free: 103.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02352/1.92, allocations: 22.54 MB / 0.8457 GB, free: 80.87 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.921, allocations: 144.5 kB / 0.8458 GB, free: 80.74 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009298/1.922, allocations: 0.8835 MB / 0.8467 GB, free: 79.86 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/1.922, allocations: 306 kB / 0.847 GB, free: 79.55 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/1.923, allocations: 0.5078 MB / 0.8475 GB, free: 79.04 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/1.924, allocations: 0.5038 MB / 0.8479 GB, free: 78.54 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.925, allocations: 1.078 MB / 0.849 GB, free: 77.45 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.925, allocations: 0 / 0.849 GB, free: 77.45 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01101/1.936, allocations: 7.82 MB / 0.8566 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/1.936, allocations: 37.69 kB / 0.8567 GB, free: 72.02 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.936, allocations: 0 / 0.8567 GB, free: 72.02 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.936, allocations: 0 / 0.8567 GB, free: 72.02 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/1.936, allocations: 4 kB / 0.8567 GB, free: 72.02 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.936, allocations: 0 / 0.8567 GB, free: 72.02 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008339/1.945, allocations: 140.4 kB / 0.8568 GB, free: 71.89 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.946, allocations: 1.711 MB / 0.8585 GB, free: 70.18 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.01583/1.962, allocations: 9.673 MB / 0.8679 GB, free: 60.48 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01377/1.976, allocations: 4.522 MB / 0.8723 GB, free: 55.91 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.994, allocations: 5.115 MB / 0.8773 GB, free: 50.77 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.994, allocations: 0 / 0.8773 GB, free: 50.77 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.994, allocations: 0 / 0.8773 GB, free: 50.77 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.994, allocations: 11.75 kB / 0.8773 GB, free: 50.77 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04525/2.04, allocations: 15.08 MB / 0.8921 GB, free: 35.61 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/2.04, allocations: 3 kB / 0.8921 GB, free: 35.61 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/2.04, allocations: 0 / 0.8921 GB, free: 35.61 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/2.04, allocations: 0 / 0.8921 GB, free: 35.61 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001747/2.042, allocations: 380 kB / 0.8924 GB, free: 35.24 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/2.042, allocations: 0 / 0.8924 GB, free: 35.24 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/2.042, allocations: 3.938 kB / 0.8924 GB, free: 35.24 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/2.055, allocations: 8.151 MB / 0.9004 GB, free: 27.01 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01504/2.07, allocations: 3.876 MB / 0.9042 GB, free: 23.05 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005781/2.076, allocations: 131.9 kB / 0.9043 GB, free: 22.93 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006439/2.082, allocations: 132 kB / 0.9044 GB, free: 22.8 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/2.082, allocations: 7.938 kB / 0.9044 GB, free: 22.79 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002362/2.085, allocations: 1.712 MB / 0.9061 GB, free: 21.08 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07374/2.158, allocations: 34.5 MB / 0.9398 GB, free: 2.887 MB / 0.6079 GB Notification: Performance of sort global known variables: time 8.32e-07/2.158, allocations: 0 / 0.9398 GB, free: 2.887 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.008101/2.167, allocations: 1.251 MB / 0.941 GB, free: 1.641 MB / 0.6079 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.0008266/2.167, allocations: 251.5 kB / 0.9413 GB, free: 1.391 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002192/2.17, allocations: 1.234 MB / 0.9425 GB, free: 148 kB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/2.17, allocations: 0 / 0.9425 GB, free: 148 kB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/2.171, allocations: 0.7172 MB / 0.9432 GB, free: 15.41 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02862/2.199, allocations: 3.382 MB / 0.9465 GB, free: 12.04 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/2.344, allocations: 70.57 MB / 1.015 GB, free: 5.902 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.436/2.78, allocations: 17.33 MB / 1.032 GB, free: 210.7 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03063/2.811, allocations: 9.43 MB / 1.042 GB, free: 206 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004987/2.816, allocations: 1.964 MB / 1.043 GB, free: 206 MB / 0.686 GB Notification: Performance of SimCode: time 2.054e-06/2.816, allocations: 0 / 1.043 GB, free: 206 MB / 0.686 GB Notification: Performance of Templates: time 0.4329/3.249, allocations: 167.3 MB / 1.207 GB, free: 64.2 MB / 0.686 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 cvode -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