Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001312, allocations: 116.5 kB / 17.7 MB, free: 5.434 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.00124/0.00124, allocations: 191 kB / 18.63 MB, free: 4.5 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.279/1.279, 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.8784/0.8784, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.88 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4427, allocations: 80.68 MB / 0.5712 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.00244/0.4452, allocations: 1.58 MB / 0.5727 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4463, allocations: 0.8813 MB / 0.5736 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.4464, allocations: 4.844 kB / 0.5736 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.4482, allocations: 3.46 MB / 0.5769 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.4496, allocations: 1.803 MB / 0.5787 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.4499, allocations: 109.3 kB / 0.5788 GB, free: 38.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.4531, allocations: 4.347 MB / 0.5831 GB, free: 36.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.4532, allocations: 12.17 kB / 0.5831 GB, free: 36.69 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.4565, allocations: 2.164 MB / 0.5852 GB, free: 35.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.4599, allocations: 4.06 MB / 0.5891 GB, free: 31.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.4604, allocations: 255.9 kB / 0.5894 GB, free: 30.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.4609, allocations: 280 kB / 0.5897 GB, free: 30.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006936/0.4678, allocations: 9.97 MB / 0.5994 GB, free: 20.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005268/0.4731, allocations: 5.643 MB / 0.6049 GB, free: 14.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.4806, allocations: 12.42 MB / 0.617 GB, free: 2.391 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4806, allocations: 4 kB / 0.617 GB, free: 2.387 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4806, allocations: 0 / 0.617 GB, free: 2.387 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002841/0.4809, allocations: 0 / 0.617 GB, free: 2.387 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0247/0.5056, allocations: 19.58 MB / 0.6362 GB, free: 14.58 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5057, allocations: 11.89 kB / 0.6362 GB, free: 14.57 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.5084, allocations: 2.206 MB / 0.6383 GB, free: 12.34 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0476/0.556, allocations: 25.84 MB / 0.6636 GB, free: 2.305 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.5561, allocations: 4.375 kB / 0.6636 GB, free: 2.301 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.5561, allocations: 16.11 kB / 0.6636 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5563, allocations: 45.62 kB / 0.6636 GB, free: 2.234 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5563, allocations: 0 / 0.6636 GB, free: 2.234 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5563, allocations: 4 kB / 0.6636 GB, free: 2.23 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5563, allocations: 0 / 0.6636 GB, free: 2.23 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.5564, allocations: 19.98 kB / 0.6636 GB, free: 2.211 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.5666, allocations: 6.946 MB / 0.6704 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5669, allocations: 58.62 kB / 0.6705 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.5669, allocations: 24.78 kB / 0.6705 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.567, allocations: 3.938 kB / 0.6705 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.5671, allocations: 63.39 kB / 0.6706 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.5671, allocations: 0 / 0.6706 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.003585/0.5707, allocations: 2.347 MB / 0.6729 GB, free: 8.66 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5708, allocations: 55.41 kB / 0.6729 GB, free: 8.594 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03552/0.6063, allocations: 25.35 MB / 0.6977 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.6064, allocations: 29.7 kB / 0.6977 GB, free: 15.41 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01141/0.6178, allocations: 11.35 MB / 0.7088 GB, free: 4.055 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.6179, allocations: 11.84 kB / 0.7088 GB, free: 4.043 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.6179, allocations: 29.64 kB / 0.7088 GB, free: 4.008 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6181, allocations: 306 kB / 0.7091 GB, free: 3.703 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.6182, allocations: 12 kB / 0.7091 GB, free: 3.691 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.6182, allocations: 33.7 kB / 0.7092 GB, free: 3.652 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6183, allocations: 45.7 kB / 0.7092 GB, free: 3.602 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6184, allocations: 0 / 0.7092 GB, free: 3.602 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003612/0.622, allocations: 2.343 MB / 0.7115 GB, free: 1.223 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.622, allocations: 4 kB / 0.7115 GB, free: 1.219 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.622, allocations: 0 / 0.7115 GB, free: 1.219 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6221, allocations: 8.031 kB / 0.7115 GB, free: 1.211 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.6221, allocations: 15.92 kB / 0.7115 GB, free: 1.195 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.6222, allocations: 0 / 0.7115 GB, free: 1.195 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.6247, allocations: 64 kB / 0.7116 GB, free: 1.133 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6247, allocations: 4 kB / 0.7116 GB, free: 1.129 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.006121/0.6308, allocations: 4.763 MB / 0.7162 GB, free: 12.35 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003134/0.634, allocations: 2.33 MB / 0.7185 GB, free: 9.992 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.6384, allocations: 2.565 MB / 0.721 GB, free: 7.426 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.6384, allocations: 4 kB / 0.721 GB, free: 7.422 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6384, allocations: 8 kB / 0.721 GB, free: 7.414 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6384, allocations: 0 / 0.721 GB, free: 7.414 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.6488, allocations: 7.622 MB / 0.7285 GB, free: 15.74 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6489, allocations: 3.984 kB / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.6489, allocations: 4 kB / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.649, allocations: 3.984 kB / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.649, allocations: 0 / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.649, allocations: 0 / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.649, allocations: 0 / 0.7285 GB, free: 15.73 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.6524, allocations: 2.571 MB / 0.731 GB, free: 13.11 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/0.656, allocations: 1.796 MB / 0.7327 GB, free: 11.27 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/0.6576, allocations: 64 kB / 0.7328 GB, free: 11.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.6592, allocations: 67.98 kB / 0.7329 GB, free: 11.14 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6592, allocations: 4 kB / 0.7329 GB, free: 11.13 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.6593, allocations: 4 kB / 0.7329 GB, free: 11.13 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02645/0.6857, allocations: 17.51 MB / 0.75 GB, free: 9.77 MB / 0.592 GB Notification: Performance of sort global known variables: time 4.9e-07/0.6857, allocations: 0 / 0.75 GB, free: 9.77 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002657/0.6884, allocations: 0.625 MB / 0.7506 GB, free: 9.145 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009005/0.6893, allocations: 425.8 kB / 0.751 GB, free: 8.883 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.6895, allocations: 39.98 kB / 0.751 GB, free: 8.844 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6896, allocations: 3.938 kB / 0.751 GB, free: 8.84 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.6896, allocations: 16 kB / 0.7511 GB, free: 8.824 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/0.6949, allocations: 1.717 MB / 0.7527 GB, free: 7.105 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4336/1.129, allocations: 34.65 MB / 0.7866 GB, free: 151.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/1.139, allocations: 8.921 MB / 0.7953 GB, free: 145.9 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01164/1.151, allocations: 5.667 MB / 0.8008 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00352/1.154, allocations: 2.213 MB / 0.803 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of SimCode: time 1.132e-06/1.154, allocations: 4 kB / 0.803 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of Templates: time 0.1653/1.32, allocations: 60.93 MB / 0.8625 GB, free: 77.23 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches