Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001892/0.001891, allocations: 116.9 kB / 17.07 MB, free: 5.992 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.002151/0.002151, allocations: 196 kB / 18 MB, free: 5.074 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.561/1.561, allocations: 222.9 MB / 241.7 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.107/1.107, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 66.58 kB / 0.5709 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 80.7 MB / 0.6497 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002716/0.1719, allocations: 1.398 MB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.173, allocations: 0.573 MB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.1731, allocations: 0 / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.1855, allocations: 13.68 MB / 0.665 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.1983, allocations: 13.72 MB / 0.6784 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.1988, allocations: 79.67 kB / 0.6785 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.03352/0.2324, allocations: 34.02 MB / 0.7117 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.2325, allocations: 4 kB / 0.7117 GB, free: 13.44 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02955/0.262, allocations: 16.88 MB / 0.7282 GB, free: 12.53 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05107/0.3131, allocations: 32.25 MB / 0.7597 GB, free: 12.23 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.009617/0.3228, allocations: 1.957 MB / 0.7616 GB, free: 10.28 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009272/0.3321, allocations: 2.035 MB / 0.7636 GB, free: 8.242 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.7866/1.119, allocations: 79.6 MB / 0.8413 GB, free: 40.53 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.06848/1.187, allocations: 44.94 MB / 0.8852 GB, free: 15.34 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1488/1.336, allocations: 99.7 MB / 0.9826 GB, free: 10.98 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/1.336, allocations: 0 / 0.9826 GB, free: 10.98 MB / 0.7173 GB Notification: Performance of FrontEnd: time 2.615e-06/1.336, allocations: 0 / 0.9826 GB, free: 10.98 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.004988/1.341, allocations: 0 / 0.9826 GB, free: 10.98 MB / 0.7173 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 1.11/2.451, allocations: 160.7 MB / 1.14 GB, free: 118.8 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.451, allocations: 12.03 kB / 1.14 GB, free: 118.8 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03773/2.489, allocations: 18.56 MB / 1.158 GB, free: 100.1 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8741/3.363, allocations: 208.9 MB / 1.362 GB, free: 11.32 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/3.363, allocations: 4.375 kB / 1.362 GB, free: 11.32 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004599/3.367, allocations: 0.4886 MB / 1.362 GB, free: 10.83 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/3.392, allocations: 5.917 MB / 1.368 GB, free: 4.902 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/3.392, allocations: 0 / 1.368 GB, free: 4.902 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003878/3.396, allocations: 0.4902 MB / 1.368 GB, free: 4.414 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/3.396, allocations: 3.062 kB / 1.368 GB, free: 4.414 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/3.413, allocations: 3.436 MB / 1.372 GB, free: 0.9805 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1392/3.552, allocations: 54.93 MB / 1.425 GB, free: 9.934 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/3.564, allocations: 2 MB / 1.427 GB, free: 7.93 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/3.575, allocations: 1.981 MB / 1.429 GB, free: 5.945 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/3.575, allocations: 0 / 1.429 GB, free: 5.945 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01673/3.592, allocations: 4.982 MB / 1.434 GB, free: 0.9414 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 3.797e-06/3.592, allocations: 0 / 1.434 GB, free: 0.9414 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.6272/4.219, allocations: 33.83 MB / 1.467 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/4.219, allocations: 83.56 kB / 1.467 GB, free: 316.5 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3786/4.598, allocations: 198 MB / 1.661 GB, free: 194.7 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.003351/4.601, allocations: 0.5134 MB / 1.661 GB, free: 194.2 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.08637/4.688, allocations: 97.77 MB / 1.757 GB, free: 96.38 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.003743/4.691, allocations: 0.5009 MB / 1.757 GB, free: 95.89 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009048/4.7, allocations: 3.441 MB / 1.761 GB, free: 92.44 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/4.7, allocations: 314 kB / 1.761 GB, free: 92.13 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/4.704, allocations: 1.965 MB / 1.763 GB, free: 90.16 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/4.707, allocations: 1.973 MB / 1.765 GB, free: 88.19 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/4.713, allocations: 4.009 MB / 1.769 GB, free: 84.17 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/4.713, allocations: 0 / 1.769 GB, free: 84.17 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.04856/4.761, allocations: 31.87 MB / 1.8 GB, free: 63.04 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/4.761, allocations: 33.7 kB / 1.8 GB, free: 63 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/4.761, allocations: 3.984 kB / 1.8 GB, free: 63 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/4.761, allocations: 5.203 kB / 1.8 GB, free: 63 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/4.761, allocations: 4 kB / 1.8 GB, free: 62.99 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/4.762, allocations: 2 kB / 1.8 GB, free: 62.99 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02891/4.79, allocations: 0.4937 MB / 1.8 GB, free: 62.5 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01292/4.803, allocations: 6.84 MB / 1.807 GB, free: 55.66 MB / 0.9834 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.05682/4.86, allocations: 38.24 MB / 1.844 GB, free: 17.38 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03229/4.893, allocations: 19.05 MB / 1.863 GB, free: 336 kB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5709/5.463, allocations: 20.43 MB / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/5.464, allocations: 0 / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/5.464, allocations: 4.953 kB / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/5.464, allocations: 7.625 kB / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1663/5.63, allocations: 59.83 MB / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/5.63, allocations: 0 / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/5.63, allocations: 3.531 kB / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/5.63, allocations: 0.5156 kB / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00478/5.635, allocations: 1.467 MB / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/5.635, allocations: 5.891 kB / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.635, allocations: 0 / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08285/5.718, allocations: 33.08 MB / 1.975 GB, free: 284 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04685/5.765, allocations: 16.2 MB / 1.991 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02367/5.788, allocations: 0.4956 MB / 1.991 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03232/5.821, allocations: 0.4951 MB / 1.992 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/5.821, allocations: 8.719 kB / 1.992 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01273/5.834, allocations: 6.839 MB / 1.999 GB, free: 281.5 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3046/6.138, allocations: 137.9 MB / 2.133 GB, free: 144.9 MB / 0.9834 GB Notification: Performance of sort global known variables: time 9.02e-07/6.138, allocations: 0 / 2.133 GB, free: 144.9 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.02891/6.167, allocations: 4.916 MB / 2.138 GB, free: 140 MB / 0.9834 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.003177/6.17, allocations: 0.6095 MB / 2.139 GB, free: 139.4 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.01579/6.186, allocations: 4.535 MB / 2.143 GB, free: 134.8 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/6.186, allocations: 0.75 kB / 2.143 GB, free: 134.8 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.009665/6.196, allocations: 2.546 MB / 2.146 GB, free: 132.3 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1221/6.318, allocations: 13.49 MB / 2.159 GB, free: 118.8 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.034/7.352, allocations: 298.5 MB / 2.45 GB, free: 196.7 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1403/7.492, allocations: 68.47 MB / 2.517 GB, free: 133.8 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1015/7.594, allocations: 37.28 MB / 2.553 GB, free: 96.45 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01596/7.61, allocations: 7.82 MB / 2.561 GB, free: 88.63 MB / 0.9834 GB Notification: Performance of SimCode: time 3.226e-06/7.61, allocations: 0 / 2.561 GB, free: 88.63 MB / 0.9834 GB Notification: Performance of Templates: time 2.763/10.37, allocations: 0.6734 GB / 3.235 GB, free: 151.9 MB / 1.03 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches