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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.053/1.053, allocations: 120.6 MB / 435.3 MB, free: 0.8633 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,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=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.88 kB / 0.608 GB, free: 10.44 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 85.86 MB / 0.6918 GB, free: 4.367 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003012/0.1769, allocations: 1.441 MB / 0.6932 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1781, allocations: 0.6038 MB / 0.6938 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.1782, allocations: 0 / 0.6938 GB, free: 2.316 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1797, allocations: 1.723 MB / 0.6955 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1813, allocations: 1.774 MB / 0.6972 GB, free: 14.81 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.1817, allocations: 75.7 kB / 0.6973 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.1856, allocations: 4.303 MB / 0.7015 GB, free: 10.43 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1856, allocations: 7.938 kB / 0.7015 GB, free: 10.42 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.1886, allocations: 2.153 MB / 0.7036 GB, free: 8.266 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006587/0.1952, allocations: 4.543 MB / 0.7081 GB, free: 3.715 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.1963, allocations: 256 kB / 0.7083 GB, free: 3.465 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1974, allocations: 327.9 kB / 0.7086 GB, free: 3.145 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01317/0.2105, allocations: 10.37 MB / 0.7187 GB, free: 8.75 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.008419/0.219, allocations: 5.628 MB / 0.7242 GB, free: 3.066 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.2337, allocations: 12.53 MB / 0.7365 GB, free: 6.449 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2337, allocations: 0 / 0.7365 GB, free: 6.449 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2337, allocations: 4 kB / 0.7365 GB, free: 6.445 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0004455/0.2342, allocations: 0 / 0.7365 GB, free: 6.445 MB / 0.5608 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.02984/0.264, allocations: 20.34 MB / 0.7563 GB, free: 1.895 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2641, allocations: 8.031 kB / 0.7564 GB, free: 1.887 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6237/0.8877, allocations: 2.327 MB / 0.7586 GB, free: 56.75 MB / 0.5767 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05923/0.9469, allocations: 26.13 MB / 0.7841 GB, free: 46.95 MB / 0.5767 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.947, allocations: 2.75 kB / 0.7841 GB, free: 46.95 MB / 0.5767 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.9471, allocations: 66.27 kB / 0.7842 GB, free: 46.95 MB / 0.5767 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009706/0.9481, allocations: 0.7801 MB / 0.785 GB, free: 46.72 MB / 0.5767 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9481, allocations: 3.656 kB / 0.785 GB, free: 46.72 MB / 0.5767 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.9483, allocations: 69.94 kB / 0.785 GB, free: 46.71 MB / 0.5767 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.9483, allocations: 0 / 0.785 GB, free: 46.71 MB / 0.5767 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.949, allocations: 453.6 kB / 0.7855 GB, free: 46.71 MB / 0.5767 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.9627, allocations: 6.971 MB / 0.7923 GB, free: 41.44 MB / 0.5767 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.9637, allocations: 282.4 kB / 0.7926 GB, free: 41.16 MB / 0.5767 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.9641, allocations: 268.9 kB / 0.7928 GB, free: 40.89 MB / 0.5767 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.9642, allocations: 0 / 0.7928 GB, free: 40.89 MB / 0.5767 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006537/0.9648, allocations: 0.715 MB / 0.7935 GB, free: 40.16 MB / 0.5767 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.9648, allocations: 0 / 0.7935 GB, free: 40.16 MB / 0.5767 GB Notification: Performance of matching and sorting (n=8): time 0.007272/0.9721, allocations: 4.357 MB / 0.7978 GB, free: 35.77 MB / 0.5767 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.9722, allocations: 87.44 kB / 0.7978 GB, free: 35.67 MB / 0.5767 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04551/1.018, allocations: 24.83 MB / 0.8221 GB, free: 11.04 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.0009009/1.019, allocations: 89.7 kB / 0.8222 GB, free: 10.95 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.01073/1.029, allocations: 10.83 MB / 0.8328 GB, free: 120 kB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 0.000913/1.03, allocations: 83.78 kB / 0.8328 GB, free: 36 kB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/1.032, allocations: 461.4 kB / 0.8333 GB, free: 15.58 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.032, allocations: 315.8 kB / 0.8336 GB, free: 15.27 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009608/1.033, allocations: 264.8 kB / 0.8338 GB, free: 15.01 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/1.034, allocations: 268 kB / 0.8341 GB, free: 14.75 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.035, allocations: 0.59 MB / 0.8347 GB, free: 14.15 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.035, allocations: 0 / 0.8347 GB, free: 14.15 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008807/1.044, allocations: 4.094 MB / 0.8387 GB, free: 10.03 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/1.044, allocations: 33.64 kB / 0.8387 GB, free: 9.988 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.044, allocations: 7.875 kB / 0.8387 GB, free: 9.984 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.044, allocations: 3.562 kB / 0.8387 GB, free: 9.984 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/1.044, allocations: 5.25 kB / 0.8387 GB, free: 9.98 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.044, allocations: 0 / 0.8387 GB, free: 9.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.049, allocations: 67.98 kB / 0.8388 GB, free: 9.914 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.05, allocations: 0.8555 MB / 0.8396 GB, free: 9.059 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.009282/1.06, allocations: 4.905 MB / 0.8444 GB, free: 4.133 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005906/1.065, allocations: 2.397 MB / 0.8467 GB, free: 1.723 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/1.073, allocations: 2.565 MB / 0.8492 GB, free: 15.16 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.073, allocations: 1.969 kB / 0.8492 GB, free: 15.16 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.073, allocations: 0 / 0.8492 GB, free: 15.16 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.073, allocations: 0 / 0.8492 GB, free: 15.16 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/1.098, allocations: 7.592 MB / 0.8567 GB, free: 7.523 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.098, allocations: 2.25 kB / 0.8567 GB, free: 7.523 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/1.098, allocations: 4 kB / 0.8567 GB, free: 7.52 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.098, allocations: 3.938 kB / 0.8567 GB, free: 7.516 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/1.099, allocations: 192 kB / 0.8569 GB, free: 7.328 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.099, allocations: 0 / 0.8569 GB, free: 7.328 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.099, allocations: 0 / 0.8569 GB, free: 7.328 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.111, allocations: 4.294 MB / 0.861 GB, free: 3.004 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008301/1.12, allocations: 2.023 MB / 0.863 GB, free: 0.9648 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003573/1.123, allocations: 75.94 kB / 0.8631 GB, free: 0.8906 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003742/1.127, allocations: 65.75 kB / 0.8632 GB, free: 0.8281 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/1.127, allocations: 0 / 0.8632 GB, free: 0.8281 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001434/1.128, allocations: 0.8594 MB / 0.864 GB, free: 15.96 MB / 0.6235 GB Notification: Performance of sorting global known variables: time 0.03452/1.163, allocations: 17.24 MB / 0.8808 GB, free: 14.88 MB / 0.6392 GB Notification: Performance of sort global known variables: time 2.51e-07/1.163, allocations: 4 kB / 0.8808 GB, free: 14.88 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.005373/1.168, allocations: 0.6406 MB / 0.8815 GB, free: 14.24 MB / 0.6392 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.0009788/1.169, allocations: 189.2 kB / 0.8816 GB, free: 14.05 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.002714/1.172, allocations: 0.6539 MB / 0.8823 GB, free: 13.38 MB / 0.6392 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.172, allocations: 0 / 0.8823 GB, free: 13.38 MB / 0.6392 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.173, allocations: 395.4 kB / 0.8827 GB, free: 12.98 MB / 0.6392 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/1.189, allocations: 1.694 MB / 0.8843 GB, free: 11.29 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0696/1.259, allocations: 36.11 MB / 0.9196 GB, free: 7.332 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01776/1.276, allocations: 8.913 MB / 0.9283 GB, free: 14.38 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.278, allocations: 0.9838 MB / 0.9292 GB, free: 13.39 MB / 0.686 GB Notification: Performance of SimCode: time 1.403e-06/1.278, allocations: 3.828 kB / 0.9292 GB, free: 13.39 MB / 0.686 GB Notification: Performance of Templates: time 4.821/6.099, allocations: 1.619 GB / 2.548 GB, free: 101.3 MB / 0.8579 GB " [Timeout remaining time 294] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: 21.10271206800826]