Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001439/0.001439, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001451/0.001451, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.572/1.572, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.376/1.376, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 67.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.719, allocations: 80.69 MB / 0.5712 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.003022/0.7221, allocations: 1.567 MB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.7235, allocations: 0.8968 MB / 0.5736 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.7236, allocations: 1.156 kB / 0.5736 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.726, allocations: 3.46 MB / 0.5769 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.7278, allocations: 1.803 MB / 0.5787 GB, free: 38.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.7283, allocations: 100.8 kB / 0.5788 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004257/0.7325, allocations: 4.346 MB / 0.583 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.7326, allocations: 13.78 kB / 0.5831 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.7366, allocations: 2.156 MB / 0.5852 GB, free: 35.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.7407, allocations: 4.068 MB / 0.5891 GB, free: 31.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0006461/0.7414, allocations: 252 kB / 0.5894 GB, free: 30.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.7419, allocations: 284 kB / 0.5897 GB, free: 30.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007399/0.7493, allocations: 9.974 MB / 0.5994 GB, free: 20.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006661/0.756, allocations: 5.636 MB / 0.6049 GB, free: 14.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009204/0.7653, allocations: 12.42 MB / 0.617 GB, free: 2.371 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.7653, allocations: 0 / 0.617 GB, free: 2.371 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7653, allocations: 0 / 0.617 GB, free: 2.371 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005014/0.7658, allocations: 0 / 0.617 GB, free: 2.371 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.02737/0.7932, allocations: 19.57 MB / 0.6361 GB, free: 14.57 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7933, allocations: 11.89 kB / 0.6361 GB, free: 14.56 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.7962, allocations: 2.218 MB / 0.6383 GB, free: 12.31 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06207/0.8583, allocations: 25.84 MB / 0.6636 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.8584, allocations: 384 / 0.6636 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.8584, allocations: 8.125 kB / 0.6636 GB, free: 2.27 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.8586, allocations: 49.61 kB / 0.6636 GB, free: 2.215 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8586, allocations: 0 / 0.6636 GB, free: 2.215 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.8587, allocations: 8 kB / 0.6636 GB, free: 2.207 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8587, allocations: 4 kB / 0.6636 GB, free: 2.203 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.8588, allocations: 11.98 kB / 0.6636 GB, free: 2.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.8756, allocations: 6.95 MB / 0.6704 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.876, allocations: 58.55 kB / 0.6705 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.876, allocations: 20.8 kB / 0.6705 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.8761, allocations: 3.984 kB / 0.6705 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.8763, allocations: 67.39 kB / 0.6706 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 3.677e-06/0.8763, allocations: 0 / 0.6706 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.00615/0.8825, allocations: 2.351 MB / 0.6729 GB, free: 8.633 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.8826, allocations: 51.41 kB / 0.6729 GB, free: 8.57 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05882/0.9414, allocations: 25.36 MB / 0.6977 GB, free: 15.42 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.9415, allocations: 25.7 kB / 0.6977 GB, free: 15.39 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01744/0.959, allocations: 11.35 MB / 0.7088 GB, free: 4.035 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.9591, allocations: 11.84 kB / 0.7088 GB, free: 4.023 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.9593, allocations: 25.72 kB / 0.7088 GB, free: 3.992 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9594, allocations: 310 kB / 0.7091 GB, free: 3.684 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.9595, allocations: 12 kB / 0.7091 GB, free: 3.672 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.9596, allocations: 25.7 kB / 0.7091 GB, free: 3.641 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.9597, allocations: 45.7 kB / 0.7092 GB, free: 3.59 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9598, allocations: 3.938 kB / 0.7092 GB, free: 3.586 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005823/0.9656, allocations: 2.347 MB / 0.7115 GB, free: 1.203 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.9656, allocations: 7.938 kB / 0.7115 GB, free: 1.195 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9657, allocations: 0 / 0.7115 GB, free: 1.195 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9657, allocations: 0 / 0.7115 GB, free: 1.195 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.9658, allocations: 23.92 kB / 0.7115 GB, free: 1.172 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.9658, allocations: 0 / 0.7115 GB, free: 1.172 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.9707, allocations: 64 kB / 0.7116 GB, free: 1.109 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.9708, allocations: 4 kB / 0.7116 GB, free: 1.105 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.009989/0.9807, allocations: 4.759 MB / 0.7162 GB, free: 12.33 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005586/0.9863, allocations: 2.33 MB / 0.7185 GB, free: 9.973 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/0.994, allocations: 2.561 MB / 0.721 GB, free: 7.41 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.9941, allocations: 4 kB / 0.721 GB, free: 7.406 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9941, allocations: 4 kB / 0.721 GB, free: 7.402 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.9941, allocations: 3.984 kB / 0.721 GB, free: 7.398 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.015, allocations: 7.622 MB / 0.7285 GB, free: 15.72 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.015, allocations: 0 / 0.7285 GB, free: 15.72 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/1.015, allocations: 4 kB / 0.7285 GB, free: 15.72 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/1.015, allocations: 0 / 0.7285 GB, free: 15.72 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.015, allocations: 3.984 kB / 0.7285 GB, free: 15.71 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.015, allocations: 7.938 kB / 0.7285 GB, free: 15.71 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.015, allocations: 0 / 0.7285 GB, free: 15.71 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006365/1.022, allocations: 2.571 MB / 0.731 GB, free: 13.09 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006792/1.029, allocations: 1.796 MB / 0.7327 GB, free: 11.25 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003172/1.032, allocations: 64 kB / 0.7328 GB, free: 11.18 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.035, allocations: 67.98 kB / 0.7329 GB, free: 11.12 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/1.035, allocations: 4 kB / 0.7329 GB, free: 11.11 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/1.035, allocations: 4 kB / 0.7329 GB, free: 11.11 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03714/1.072, allocations: 17.52 MB / 0.75 GB, free: 9.746 MB / 0.592 GB Notification: Performance of sort global known variables: time 8.12e-07/1.072, allocations: 0 / 0.75 GB, free: 9.746 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.004531/1.077, allocations: 0.625 MB / 0.7506 GB, free: 9.121 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.001336/1.078, allocations: 413.1 kB / 0.751 GB, free: 8.871 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0003016/1.079, allocations: 43.91 kB / 0.751 GB, free: 8.828 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.079, allocations: 0 / 0.751 GB, free: 8.828 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/1.079, allocations: 24.06 kB / 0.751 GB, free: 8.805 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/1.09, allocations: 1.726 MB / 0.7527 GB, free: 7.082 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7432/1.833, 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.01895/1.852, allocations: 8.921 MB / 0.7953 GB, free: 145.8 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01569/1.868, allocations: 5.668 MB / 0.8008 GB, free: 140.3 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00567/1.873, allocations: 2.213 MB / 0.803 GB, free: 138.1 MB / 0.5923 GB Notification: Performance of SimCode: time 1.793e-06/1.873, allocations: 0 / 0.803 GB, free: 138.1 MB / 0.5923 GB Notification: Performance of Templates: time 0.2203/2.094, allocations: 60.93 MB / 0.8625 GB, free: 77.21 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches