Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9787/0.9787, allocations: 120.6 MB / 426.5 MB, free: 5.816 MB / 334.2 MB " [Timeout remaining time 179] 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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.83 kB / 0.5966 GB, free: 17.33 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 84.63 MB / 0.6792 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002639/0.167, allocations: 1.427 MB / 0.6806 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1681, allocations: 0.5825 MB / 0.6812 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.1682, allocations: 3.938 kB / 0.6812 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.1783, allocations: 13.69 MB / 0.6945 GB, free: 12.74 MB / 0.5296 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.1886, allocations: 13.72 MB / 0.7079 GB, free: 14.99 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.189, allocations: 87.77 kB / 0.708 GB, free: 14.91 MB / 0.5452 GB Notification: Performance of NFFlatten.flatten: time 0.02966/0.2187, allocations: 34 MB / 0.7412 GB, free: 12.86 MB / 0.5764 GB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.2187, allocations: 3.938 kB / 0.7412 GB, free: 12.86 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5598/0.7785, allocations: 16.88 MB / 0.7577 GB, free: 20.95 MB / 0.5767 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04755/0.8261, allocations: 36.17 MB / 0.793 GB, free: 16.41 MB / 0.5767 GB Notification: Performance of NFPackage.collectConstants: time 0.008717/0.8348, allocations: 1.957 MB / 0.7949 GB, free: 16.41 MB / 0.5767 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00838/0.8432, allocations: 2.031 MB / 0.7969 GB, free: 16.39 MB / 0.5767 GB Notification: Performance of NFScalarize.scalarize: time 0.09416/0.9373, allocations: 81.8 MB / 0.8768 GB, free: 3.457 MB / 0.6392 GB Notification: Performance of NFVerifyModel.verify: time 0.08497/1.022, allocations: 44.94 MB / 0.9207 GB, free: 6.066 MB / 0.6861 GB Notification: Performance of NFConvertDAE.convert: time 0.1244/1.147, allocations: 99.69 MB / 1.018 GB, free: 1.703 MB / 0.7798 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.147, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7798 GB Notification: Performance of FrontEnd: time 2.414e-06/1.147, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7798 GB Notification: Performance of Transformations before backend: time 0.003266/1.15, allocations: 3.938 kB / 1.018 GB, free: 1.699 MB / 0.7798 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.8391/1.989, allocations: 160.7 MB / 1.175 GB, free: 136.8 MB / 0.8272 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.989, allocations: 8.031 kB / 1.175 GB, free: 136.8 MB / 0.8272 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/2.014, allocations: 18.56 MB / 1.193 GB, free: 118.1 MB / 0.8272 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.666/2.68, allocations: 208.9 MB / 1.397 GB, free: 4.387 MB / 0.9209 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/2.68, allocations: 1.875 kB / 1.397 GB, free: 4.387 MB / 0.9209 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/2.681, allocations: 0.4926 MB / 1.398 GB, free: 3.895 MB / 0.9209 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008287/2.69, allocations: 5.908 MB / 1.403 GB, free: 13.98 MB / 0.9366 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/2.69, allocations: 6 kB / 1.403 GB, free: 13.97 MB / 0.9366 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/2.691, allocations: 0.4907 MB / 1.404 GB, free: 13.48 MB / 0.9366 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/2.691, allocations: 0 / 1.404 GB, free: 13.48 MB / 0.9366 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/2.696, allocations: 3.441 MB / 1.407 GB, free: 10.04 MB / 0.9366 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.422/3.118, allocations: 54.94 MB / 1.461 GB, free: 270.1 MB / 0.9522 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/3.125, allocations: 1.984 MB / 1.463 GB, free: 270.1 MB / 0.9522 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006175/3.131, allocations: 1.974 MB / 1.465 GB, free: 270 MB / 0.9522 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/3.131, allocations: 3.078 kB / 1.465 GB, free: 270 MB / 0.9522 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009101/3.14, allocations: 4.975 MB / 1.47 GB, free: 270 MB / 0.9522 GB Notification: Performance of pre-optimization done (n=8): time 3.396e-06/3.14, allocations: 0 / 1.47 GB, free: 270 MB / 0.9522 GB Notification: Performance of matching and sorting (n=8): time 0.04865/3.189, allocations: 33.84 MB / 1.503 GB, free: 269.9 MB / 0.9522 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/3.189, allocations: 83.11 kB / 1.503 GB, free: 269.8 MB / 0.9522 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2659/3.455, allocations: 198 MB / 1.696 GB, free: 104.2 MB / 0.9522 GB Notification: Performance of collectPreVariables (initialization): time 0.002571/3.457, allocations: 0.5173 MB / 1.697 GB, free: 103.6 MB / 0.9522 GB Notification: Performance of collectInitialEqns (initialization): time 0.07932/3.537, allocations: 97.76 MB / 1.792 GB, free: 5.836 MB / 0.9522 GB Notification: Performance of collectInitialBindings (initialization): time 0.002812/3.54, allocations: 0.5121 MB / 1.793 GB, free: 5.336 MB / 0.9522 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008403/3.548, allocations: 3.442 MB / 1.796 GB, free: 1.891 MB / 0.9522 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/3.548, allocations: 306 kB / 1.796 GB, free: 1.586 MB / 0.9522 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3642/3.912, allocations: 1.973 MB / 1.798 GB, free: 201.8 MB / 0.9522 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008905/3.921, allocations: 1.966 MB / 1.8 GB, free: 201.8 MB / 0.9522 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/3.938, allocations: 4.008 MB / 1.804 GB, free: 201.7 MB / 0.9522 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/3.938, allocations: 1.094 kB / 1.804 GB, free: 201.7 MB / 0.9522 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.06817/4.006, allocations: 31.87 MB / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/4.006, allocations: 40.88 kB / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/4.006, allocations: 0 / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/4.006, allocations: 0 / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/4.006, allocations: 7.781 kB / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/4.006, allocations: 0 / 1.835 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03305/4.039, allocations: 0.4984 MB / 1.836 GB, free: 201.6 MB / 0.9522 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01604/4.055, allocations: 6.837 MB / 1.842 GB, free: 201.6 MB / 0.9522 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.05717/4.112, allocations: 38.24 MB / 1.88 GB, free: 198.9 MB / 0.9522 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02702/4.139, allocations: 19.05 MB / 1.898 GB, free: 198.9 MB / 0.9522 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0391/4.178, allocations: 20.44 MB / 1.918 GB, free: 185.2 MB / 0.9522 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/4.178, allocations: 0 / 1.918 GB, free: 185.2 MB / 0.9522 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.178, allocations: 10.59 kB / 1.918 GB, free: 185.1 MB / 0.9522 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/4.178, allocations: 0 / 1.918 GB, free: 185.1 MB / 0.9522 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1146/4.293, allocations: 59.83 MB / 1.977 GB, free: 140.8 MB / 0.9522 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/4.293, allocations: 0 / 1.977 GB, free: 140.8 MB / 0.9522 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/4.293, allocations: 4 kB / 1.977 GB, free: 140.8 MB / 0.9522 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/4.293, allocations: 0 / 1.977 GB, free: 140.8 MB / 0.9522 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003811/4.297, allocations: 1.475 MB / 1.978 GB, free: 139.4 MB / 0.9522 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/4.297, allocations: 0 / 1.978 GB, free: 139.4 MB / 0.9522 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/4.297, allocations: 7.922 kB / 1.978 GB, free: 139.4 MB / 0.9522 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05908/4.356, allocations: 33.09 MB / 2.011 GB, free: 106.2 MB / 0.9522 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03149/4.387, allocations: 16.2 MB / 2.026 GB, free: 89.82 MB / 0.9522 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01856/4.406, allocations: 0.4922 MB / 2.027 GB, free: 89.33 MB / 0.9522 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02336/4.429, allocations: 500 kB / 2.027 GB, free: 88.84 MB / 0.9522 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/4.429, allocations: 9.938 kB / 2.027 GB, free: 88.83 MB / 0.9522 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01007/4.439, allocations: 6.842 MB / 2.034 GB, free: 82.97 MB / 0.9522 GB Notification: Performance of sorting global known variables: time 0.2449/4.684, allocations: 137.9 MB / 2.169 GB, free: 5.691 MB / 0.9834 GB Notification: Performance of sort global known variables: time 2.3e-07/4.684, allocations: 1.875 kB / 2.169 GB, free: 5.691 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.02139/4.706, allocations: 4.914 MB / 2.173 GB, free: 0.7812 MB / 0.9834 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.002957/4.709, allocations: 0.6102 MB / 2.174 GB, free: 176 kB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.331/5.04, allocations: 4.496 MB / 2.178 GB, free: 344.7 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.04, allocations: 0 / 2.178 GB, free: 344.7 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.00504/5.045, allocations: 2.525 MB / 2.181 GB, free: 344.6 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06084/5.105, allocations: 13.49 MB / 2.194 GB, free: 336.6 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3531/5.459, allocations: 298.5 MB / 2.486 GB, free: 109 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08606/5.545, allocations: 68.46 MB / 2.552 GB, free: 40.41 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.4746/6.019, allocations: 37.28 MB / 2.589 GB, free: 242.5 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02077/6.04, allocations: 7.827 MB / 2.597 GB, free: 242.5 MB / 0.9834 GB Notification: Performance of SimCode: time 2.224e-06/6.04, allocations: 0 / 2.597 GB, free: 242.5 MB / 0.9834 GB Notification: Performance of Templates: time 1.943/7.983, allocations: 0.681 GB / 3.278 GB, free: 94.34 MB / 1.046 GB " [Timeout remaining time 292] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 38.09967119246721]