Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001504/0.001504, allocations: 113.3 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.001628/0.001628, 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.266/1.266, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8845/0.8845, allocations: 119.3 MB / 411.8 MB, free: 9.551 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 72.12 kB / 0.4924 GB, free: 13.06 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4847, allocations: 80.69 MB / 0.5712 GB, free: 43.57 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002344/0.487, allocations: 1.404 MB / 0.5725 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.4879, allocations: 0.5732 MB / 0.5731 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.488, allocations: 5.375 kB / 0.5731 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.49, allocations: 3.423 MB / 0.5764 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.4924, allocations: 3.475 MB / 0.5798 GB, free: 38.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.4927, allocations: 76.84 kB / 0.5799 GB, free: 38.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.499, allocations: 8.563 MB / 0.5883 GB, free: 32.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.499, allocations: 4 kB / 0.5883 GB, free: 32.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005615/0.5046, allocations: 4.247 MB / 0.5924 GB, free: 27.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006302/0.511, allocations: 8.085 MB / 0.6003 GB, free: 19.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0009475/0.5119, allocations: 0.4922 MB / 0.6008 GB, free: 19.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.5127, allocations: 0.5663 MB / 0.6013 GB, free: 18.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01547/0.5282, allocations: 19.91 MB / 0.6208 GB, free: 14.67 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0162/0.5445, allocations: 11.25 MB / 0.6318 GB, free: 3.316 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02399/0.5685, allocations: 24.74 MB / 0.6559 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.5685, allocations: 0 / 0.6559 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.158e-06/0.5686, allocations: 0 / 0.6559 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.000846/0.5694, allocations: 3.938 kB / 0.6559 GB, free: 10.44 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.05705/0.6265, allocations: 38.74 MB / 0.6938 GB, free: 3.289 MB / 0.5296 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.6265, allocations: 16.03 kB / 0.6938 GB, free: 3.273 MB / 0.5296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005971/0.6325, allocations: 4.403 MB / 0.6981 GB, free: 14.81 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.116/0.7485, allocations: 51.57 MB / 0.7485 GB, free: 10.89 MB / 0.5921 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.7486, allocations: 384 / 0.7485 GB, free: 10.89 MB / 0.5921 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.7489, allocations: 128.4 kB / 0.7486 GB, free: 10.76 MB / 0.5921 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.7507, allocations: 1.516 MB / 0.7501 GB, free: 9.238 MB / 0.5921 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7507, allocations: 0 / 0.7501 GB, free: 9.238 MB / 0.5921 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.7509, allocations: 131.9 kB / 0.7502 GB, free: 9.109 MB / 0.5921 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7509, allocations: 0 / 0.7502 GB, free: 9.109 MB / 0.5921 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.752, allocations: 0.8827 MB / 0.751 GB, free: 8.227 MB / 0.5921 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4766/1.229, allocations: 13.84 MB / 0.7646 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/1.231, allocations: 0.5287 MB / 0.7651 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/1.232, allocations: 0.5177 MB / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/1.232, allocations: 0 / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/1.233, allocations: 1.319 MB / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/1.233, allocations: 3.438 kB / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01279/1.246, allocations: 8.328 MB / 0.775 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.246, allocations: 78.86 kB / 0.7751 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06916/1.315, allocations: 49.58 MB / 0.8235 GB, free: 103.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.316, allocations: 153.7 kB / 0.8236 GB, free: 103.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.0173/1.333, allocations: 22.55 MB / 0.8457 GB, free: 80.92 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009153/1.334, allocations: 144.5 kB / 0.8458 GB, free: 80.79 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/1.335, allocations: 0.8801 MB / 0.8467 GB, free: 79.91 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/1.335, allocations: 310 kB / 0.847 GB, free: 79.6 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/1.335, allocations: 0.5039 MB / 0.8474 GB, free: 79.1 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/1.336, allocations: 0.5077 MB / 0.8479 GB, free: 78.59 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.337, allocations: 1.074 MB / 0.849 GB, free: 77.5 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.337, allocations: 0 / 0.849 GB, free: 77.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008485/1.346, allocations: 7.821 MB / 0.8566 GB, free: 72.12 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/1.346, allocations: 37.69 kB / 0.8567 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/1.346, allocations: 3 kB / 0.8567 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.346, allocations: 3.844 kB / 0.8567 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/1.346, allocations: 4 kB / 0.8567 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.346, allocations: 0 / 0.8567 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/1.353, allocations: 137.1 kB / 0.8568 GB, free: 71.94 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.355, allocations: 1.715 MB / 0.8585 GB, free: 70.23 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.01355/1.368, allocations: 9.678 MB / 0.8679 GB, free: 60.53 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007121/1.375, allocations: 4.52 MB / 0.8723 GB, free: 55.95 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.386, allocations: 5.111 MB / 0.8773 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.386, allocations: 6.625 kB / 0.8773 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.386, allocations: 0 / 0.8773 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.386, allocations: 3.938 kB / 0.8773 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/1.416, allocations: 15.07 MB / 0.8921 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.416, allocations: 3.984 kB / 0.8921 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/1.416, allocations: 7 kB / 0.8921 GB, free: 35.67 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.416, allocations: 0 / 0.8921 GB, free: 35.67 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009824/1.417, allocations: 380 kB / 0.8924 GB, free: 35.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.417, allocations: 0 / 0.8924 GB, free: 35.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.417, allocations: 0 / 0.8924 GB, free: 35.3 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008506/1.426, allocations: 8.16 MB / 0.9004 GB, free: 27.06 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009147/1.435, allocations: 3.876 MB / 0.9042 GB, free: 23.11 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003766/1.439, allocations: 128 kB / 0.9043 GB, free: 22.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/1.443, allocations: 128 kB / 0.9044 GB, free: 22.86 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/1.443, allocations: 7.922 kB / 0.9044 GB, free: 22.85 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/1.444, allocations: 1.716 MB / 0.9061 GB, free: 21.14 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05269/1.497, allocations: 34.49 MB / 0.9398 GB, free: 2.945 MB / 0.6079 GB Notification: Performance of sort global known variables: time 8.32e-07/1.497, allocations: 3 kB / 0.9398 GB, free: 2.945 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005377/1.502, allocations: 1.259 MB / 0.941 GB, free: 1.691 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.000573/1.503, allocations: 246.5 kB / 0.9413 GB, free: 1.445 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.504, allocations: 1.234 MB / 0.9425 GB, free: 204 kB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.504, allocations: 0 / 0.9425 GB, free: 204 kB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/1.505, allocations: 0.7143 MB / 0.9432 GB, free: 15.47 MB / 0.6236 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/1.519, allocations: 3.387 MB / 0.9465 GB, free: 12.09 MB / 0.6236 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1053/1.625, allocations: 70.57 MB / 1.015 GB, free: 5.957 MB / 0.6861 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2763/1.901, allocations: 17.33 MB / 1.032 GB, free: 210.8 MB / 0.6861 GB Notification: Performance of simCode: alias equations: time 0.02323/1.924, allocations: 9.429 MB / 1.042 GB, free: 206.1 MB / 0.6861 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/1.929, allocations: 1.965 MB / 1.043 GB, free: 206.1 MB / 0.6861 GB Notification: Performance of SimCode: time 9.92e-07/1.929, allocations: 0 / 1.043 GB, free: 206.1 MB / 0.6861 GB Notification: Performance of Templates: time 0.3523/2.281, allocations: 167.3 MB / 1.207 GB, free: 64.29 MB / 0.6861 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches