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) 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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.00128/0.00128, allocations: 192 kB / 18.63 MB, free: 4.508 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.293/1.293, 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.8724/0.8724, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4826, allocations: 80.68 MB / 0.5712 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002297/0.4849, allocations: 1.405 MB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.4857, allocations: 0.5736 MB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.4858, allocations: 1.375 kB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.008732/0.4945, allocations: 13.68 MB / 0.5865 GB, free: 33.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005439/0.5001, allocations: 13.72 MB / 0.5999 GB, free: 20.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.5005, allocations: 83.73 kB / 0.5999 GB, free: 20 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.021/0.5216, allocations: 34.01 MB / 0.6331 GB, free: 1.949 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.5217, allocations: 4 kB / 0.6331 GB, free: 1.945 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02048/0.5421, allocations: 16.88 MB / 0.6496 GB, free: 1.031 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03602/0.5782, allocations: 32.25 MB / 0.6811 GB, free: 0.7305 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.00808/0.5863, allocations: 1.957 MB / 0.683 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006664/0.593, allocations: 2.039 MB / 0.685 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.5848/1.178, allocations: 79.6 MB / 0.7628 GB, free: 76.14 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.05973/1.238, allocations: 44.94 MB / 0.8067 GB, free: 41.01 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.09213/1.33, allocations: 98.71 MB / 0.9031 GB, free: 3.801 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.33, allocations: 0 / 0.9031 GB, free: 3.801 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.948e-06/1.33, allocations: 3.844 kB / 0.9031 GB, free: 3.801 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.006524/1.336, allocations: 0 / 0.9031 GB, free: 3.801 MB / 0.6079 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.8834/2.22, allocations: 153.9 MB / 1.053 GB, free: 160.9 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/2.22, allocations: 13.5 kB / 1.053 GB, free: 160.9 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/2.249, allocations: 17.59 MB / 1.071 GB, free: 151.8 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7591/3.008, allocations: 206 MB / 1.272 GB, free: 14.19 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/3.008, allocations: 384 / 1.272 GB, free: 14.19 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004543/3.013, allocations: 0.4926 MB / 1.272 GB, free: 13.7 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/3.034, allocations: 5.908 MB / 1.278 GB, free: 7.781 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/3.034, allocations: 4 kB / 1.278 GB, free: 7.777 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003619/3.037, allocations: 0.4921 MB / 1.278 GB, free: 7.285 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/3.037, allocations: 0 / 1.278 GB, free: 7.285 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/3.051, allocations: 3.435 MB / 1.282 GB, free: 3.852 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/3.178, allocations: 54.94 MB / 1.335 GB, free: 12.8 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/3.188, allocations: 1.998 MB / 1.337 GB, free: 10.8 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/3.199, allocations: 1.985 MB / 1.339 GB, free: 8.812 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/3.199, allocations: 0 / 1.339 GB, free: 8.812 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01658/3.215, allocations: 4.982 MB / 1.344 GB, free: 3.809 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 5.811e-06/3.215, allocations: 0 / 1.344 GB, free: 3.809 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.09282/3.308, allocations: 32.86 MB / 1.376 GB, free: 2.699 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/3.308, allocations: 88.98 kB / 1.376 GB, free: 2.598 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6883/3.997, allocations: 198 MB / 1.57 GB, free: 176.4 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.004134/4.001, allocations: 0.5159 MB / 1.57 GB, free: 175.9 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1011/4.102, allocations: 97.76 MB / 1.666 GB, free: 78.12 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.003765/4.106, allocations: 0.5076 MB / 1.666 GB, free: 77.62 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01099/4.117, allocations: 3.439 MB / 1.67 GB, free: 74.17 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/4.117, allocations: 306 kB / 1.67 GB, free: 73.87 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008565/4.125, allocations: 1.976 MB / 1.672 GB, free: 71.89 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008616/4.134, allocations: 1.965 MB / 1.674 GB, free: 69.93 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/4.15, allocations: 4.008 MB / 1.678 GB, free: 65.91 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/4.15, allocations: 1.781 kB / 1.678 GB, free: 65.91 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.07072/4.221, allocations: 30.89 MB / 1.708 GB, free: 44.78 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/4.221, allocations: 39.95 kB / 1.708 GB, free: 44.74 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/4.221, allocations: 0 / 1.708 GB, free: 44.74 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/4.221, allocations: 0 / 1.708 GB, free: 44.74 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/4.221, allocations: 4 kB / 1.708 GB, free: 44.73 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/4.221, allocations: 0.5312 kB / 1.708 GB, free: 44.73 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02808/4.249, allocations: 0.5008 MB / 1.708 GB, free: 44.23 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01264/4.262, allocations: 6.84 MB / 1.715 GB, free: 37.39 MB / 0.874 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.3678/4.63, allocations: 38.23 MB / 1.752 GB, free: 182.9 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02504/4.655, allocations: 18.08 MB / 1.77 GB, free: 182.9 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04264/4.698, allocations: 20.43 MB / 1.79 GB, free: 181 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/4.698, allocations: 0 / 1.79 GB, free: 181 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/4.698, allocations: 2.078 kB / 1.79 GB, free: 181 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/4.698, allocations: 5.5 kB / 1.79 GB, free: 181 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1183/4.816, allocations: 59.83 MB / 1.848 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/4.816, allocations: 5.594 kB / 1.848 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/4.816, allocations: 3.406 kB / 1.848 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/4.816, allocations: 0 / 1.848 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004135/4.82, allocations: 1.471 MB / 1.85 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/4.82, allocations: 3.828 kB / 1.85 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/4.82, allocations: 3.938 kB / 1.85 GB, free: 177.3 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04911/4.869, allocations: 32.11 MB / 1.881 GB, free: 176 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04807/4.917, allocations: 15.22 MB / 1.896 GB, free: 165.9 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02198/4.939, allocations: 0.4966 MB / 1.897 GB, free: 165.9 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02459/4.964, allocations: 0.4913 MB / 1.897 GB, free: 165.9 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/4.964, allocations: 8.469 kB / 1.897 GB, free: 165.9 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01302/4.977, allocations: 6.843 MB / 1.904 GB, free: 165.9 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.3003/5.277, allocations: 137.9 MB / 2.038 GB, free: 63.32 MB / 0.874 GB Notification: Performance of sort global known variables: time 6.31e-07/5.278, allocations: 0 / 2.038 GB, free: 63.32 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.026/5.304, allocations: 4.916 MB / 2.043 GB, free: 58.41 MB / 0.874 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.003662/5.307, allocations: 0.6134 MB / 2.044 GB, free: 57.8 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.02055/5.328, allocations: 4.534 MB / 2.048 GB, free: 53.29 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/5.328, allocations: 0 / 2.048 GB, free: 53.29 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.01236/5.34, allocations: 2.546 MB / 2.051 GB, free: 50.76 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0848/5.425, allocations: 13.49 MB / 2.064 GB, free: 45.08 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.754/6.179, allocations: 293.6 MB / 2.351 GB, free: 137.8 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1168/6.296, allocations: 68.47 MB / 2.418 GB, free: 69.24 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.09107/6.387, allocations: 37.27 MB / 2.454 GB, free: 31.91 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01668/6.404, allocations: 7.82 MB / 2.462 GB, free: 24.09 MB / 0.874 GB Notification: Performance of SimCode: time 1.042e-06/6.404, allocations: 0 / 2.462 GB, free: 24.09 MB / 0.874 GB Notification: Performance of Templates: time 2.25/8.654, allocations: 0.6734 GB / 3.135 GB, free: 18.09 MB / 0.9053 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches