Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 87.14 kB / 16.31 MB, free: 6.449 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.0009523/0.0009521, allocations: 182.8 kB / 17.21 MB, free: 6.32 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.476/1.476, allocations: 223.3 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.107/1.107, allocations: 120.5 MB / 412.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 8 kB / 0.4943 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6524, allocations: 82.84 MB / 0.5752 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.001474/0.6539, allocations: 1.122 MB / 0.5763 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008518/0.6547, allocations: 0.5231 MB / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.6548, allocations: 0 / 0.5768 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006831/0.6617, allocations: 7.583 MB / 0.5842 GB, free: 37.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.6654, allocations: 7.616 MB / 0.5916 GB, free: 29.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.6659, allocations: 55.27 kB / 0.5917 GB, free: 29.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008418/0.6743, allocations: 14.46 MB / 0.6058 GB, free: 15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.6744, allocations: 0 / 0.6058 GB, free: 15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.6857, allocations: 8.832 MB / 0.6144 GB, free: 6.152 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/0.7043, allocations: 16.26 MB / 0.6303 GB, free: 5.875 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004488/0.7089, allocations: 0.9766 MB / 0.6312 GB, free: 4.898 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.7115, allocations: 1.047 MB / 0.6323 GB, free: 3.852 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04256/0.754, allocations: 39.8 MB / 0.6711 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.7677, allocations: 7.846 MB / 0.6788 GB, free: 4.059 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.04945/0.8171, allocations: 35.95 MB / 0.7139 GB, free: 0 / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.8172, allocations: 0 / 0.7139 GB, free: 0 / 0.5452 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8172, allocations: 0 / 0.7139 GB, free: 0 / 0.5452 GB Notification: Performance of Transformations before backend: time 0.002201/0.8194, allocations: 0 / 0.7139 GB, free: 0 / 0.5452 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.8761/1.695, allocations: 68.82 MB / 0.7811 GB, free: 94.1 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 8.797e-05/1.696, allocations: 9.219 kB / 0.7811 GB, free: 94.1 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02701/1.723, allocations: 8.799 MB / 0.7897 GB, free: 88.17 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.332/2.055, allocations: 98.16 MB / 0.8856 GB, free: 6.48 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/2.055, allocations: 0 / 0.8856 GB, free: 6.48 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/2.057, allocations: 256.9 kB / 0.8858 GB, free: 6.23 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/2.061, allocations: 2.977 MB / 0.8887 GB, free: 3.246 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/2.061, allocations: 0 / 0.8887 GB, free: 3.246 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/2.062, allocations: 252 kB / 0.889 GB, free: 3 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/2.062, allocations: 3.531 kB / 0.889 GB, free: 3 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/2.065, allocations: 1.736 MB / 0.8907 GB, free: 1.266 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07174/2.136, allocations: 27.54 MB / 0.9176 GB, free: 5.645 MB / 0.6392 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005167/2.141, allocations: 1.016 MB / 0.9186 GB, free: 4.621 MB / 0.6392 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/2.145, allocations: 1.009 MB / 0.9195 GB, free: 3.609 MB / 0.6392 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/2.145, allocations: 4 kB / 0.9195 GB, free: 3.605 MB / 0.6392 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003016/2.148, allocations: 2.532 MB / 0.922 GB, free: 1.055 MB / 0.6392 GB Notification: Performance of pre-optimization done (n=8): time 6.151e-06/2.148, allocations: 0 / 0.922 GB, free: 1.055 MB / 0.6392 GB Notification: Performance of matching and sorting (n=8): time 0.03705/2.185, allocations: 16.5 MB / 0.9381 GB, free: 440 kB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/2.185, allocations: 88.88 kB / 0.9382 GB, free: 336 kB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2172/2.402, allocations: 98.83 MB / 1.035 GB, free: 14.37 MB / 0.7642 GB Notification: Performance of collectPreVariables (initialization): time 0.002205/2.405, allocations: 279.4 kB / 1.035 GB, free: 14.09 MB / 0.7642 GB Notification: Performance of collectInitialEqns (initialization): time 0.4988/2.903, allocations: 46.97 MB / 1.081 GB, free: 232.3 MB / 0.7642 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/2.906, allocations: 267.8 kB / 1.081 GB, free: 232.3 MB / 0.7642 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005315/2.906, allocations: 249.6 kB / 1.081 GB, free: 232.3 MB / 0.7642 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/2.906, allocations: 318.2 kB / 1.082 GB, free: 232 MB / 0.7642 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/2.908, allocations: 0.9911 MB / 1.083 GB, free: 232 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/2.909, allocations: 0.9919 MB / 1.084 GB, free: 232 MB / 0.7642 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/2.91, allocations: 1.024 MB / 1.085 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/2.91, allocations: 0 / 1.085 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02872/2.939, allocations: 15.5 MB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/2.939, allocations: 36.91 kB / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/2.939, allocations: 1.016 kB / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/2.939, allocations: 13.2 kB / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/2.939, allocations: 4.031 kB / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/2.939, allocations: 0 / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01618/2.956, allocations: 262.2 kB / 1.1 GB, free: 231.8 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008526/2.964, allocations: 3.421 MB / 1.103 GB, free: 231.3 MB / 0.7642 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0347/2.999, allocations: 19.18 MB / 1.122 GB, free: 229.2 MB / 0.7642 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01691/3.016, allocations: 9.053 MB / 1.131 GB, free: 224.2 MB / 0.7642 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02843/3.044, allocations: 10.22 MB / 1.141 GB, free: 221.3 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/3.044, allocations: 0 / 1.141 GB, free: 221.3 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/3.044, allocations: 0 / 1.141 GB, free: 221.3 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/3.044, allocations: 1.969 kB / 1.141 GB, free: 221.3 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0683/3.113, allocations: 30 MB / 1.17 GB, free: 192 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/3.113, allocations: 3.938 kB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/3.113, allocations: 3.984 kB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/3.113, allocations: 4 kB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003094/3.116, allocations: 0.7344 MB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/3.116, allocations: 2 kB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/3.116, allocations: 1.859 kB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/3.138, allocations: 16.15 MB / 1.187 GB, free: 174.9 MB / 0.7642 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01927/3.158, allocations: 7.651 MB / 1.194 GB, free: 167.1 MB / 0.7642 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009811/3.168, allocations: 260 kB / 1.194 GB, free: 166.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01432/3.182, allocations: 252 kB / 1.195 GB, free: 166.6 MB / 0.7642 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/3.182, allocations: 3.984 kB / 1.195 GB, free: 166.6 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006696/3.189, allocations: 3.422 MB / 1.198 GB, free: 163.2 MB / 0.7642 GB Notification: Performance of sorting global known variables: time 0.1244/3.313, allocations: 68.74 MB / 1.265 GB, free: 95.12 MB / 0.7642 GB Notification: Performance of sort global known variables: time 8.31e-07/3.313, allocations: 0 / 1.265 GB, free: 95.12 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.01527/3.328, allocations: 2.469 MB / 1.268 GB, free: 92.65 MB / 0.7642 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/3.331, allocations: 377.4 kB / 1.268 GB, free: 92.28 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.004528/3.336, allocations: 2.33 MB / 1.27 GB, free: 89.94 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/3.336, allocations: 3.609 kB / 1.27 GB, free: 89.94 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/3.338, allocations: 1.328 MB / 1.272 GB, free: 88.6 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03695/3.374, allocations: 6.752 MB / 1.278 GB, free: 81.84 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6771/4.052, allocations: 152.8 MB / 1.427 GB, free: 213.4 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09347/4.145, allocations: 34.38 MB / 1.461 GB, free: 197.7 MB / 0.7642 GB Notification: Performance of simCode: alias equations: time 0.06159/4.207, allocations: 18.65 MB / 1.479 GB, free: 180.3 MB / 0.7642 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008423/4.215, allocations: 3.914 MB / 1.483 GB, free: 176.4 MB / 0.7642 GB Notification: Performance of SimCode: time 1.483e-06/4.215, allocations: 0 / 1.483 GB, free: 176.4 MB / 0.7642 GB Notification: Performance of Templates: time 1.237/5.452, allocations: 334.8 MB / 1.81 GB, free: 122.4 MB / 0.7642 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches