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.001172/0.001172, allocations: 106.6 kB / 17.06 MB, free: 6.004 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.001109/0.001109, allocations: 191.8 kB / 18 MB, free: 5.09 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.465/1.465, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.26/1.26, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 66.19 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1968, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002952/0.1998, allocations: 1.41 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.201, allocations: 0.569 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.2011, allocations: 4 kB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.212, allocations: 13.68 MB / 0.665 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008999/0.2211, allocations: 13.72 MB / 0.6784 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2217, allocations: 87.69 kB / 0.6785 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02819/0.2499, allocations: 34 MB / 0.7117 GB, free: 13.48 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.2501, allocations: 4 kB / 0.7117 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02401/0.2741, allocations: 16.88 MB / 0.7282 GB, free: 12.56 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04437/0.3185, allocations: 32.25 MB / 0.7597 GB, free: 12.26 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.3291, allocations: 1.957 MB / 0.7616 GB, free: 10.3 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.3406, allocations: 2.027 MB / 0.7636 GB, free: 8.277 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.7938/1.134, allocations: 79.6 MB / 0.8413 GB, free: 40.54 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.0679/1.202, allocations: 44.95 MB / 0.8852 GB, free: 15.38 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1457/1.348, allocations: 99.7 MB / 0.9826 GB, free: 11.01 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/1.348, allocations: 4 kB / 0.9826 GB, free: 11.01 MB / 0.7173 GB Notification: Performance of FrontEnd: time 1.763e-06/1.348, allocations: 0 / 0.9826 GB, free: 11.01 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.004117/1.352, allocations: 0 / 0.9826 GB, free: 11.01 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.125/2.478, allocations: 160.7 MB / 1.14 GB, free: 118.9 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/2.478, allocations: 8.031 kB / 1.14 GB, free: 118.8 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04422/2.522, allocations: 18.56 MB / 1.158 GB, free: 100.1 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8964/3.419, allocations: 208.9 MB / 1.362 GB, free: 11.35 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/3.419, allocations: 384 / 1.362 GB, free: 11.35 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/3.421, allocations: 0.4926 MB / 1.362 GB, free: 10.86 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006387/3.427, allocations: 5.915 MB / 1.368 GB, free: 4.941 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/3.427, allocations: 2.625 kB / 1.368 GB, free: 4.941 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008778/3.428, allocations: 0.4901 MB / 1.368 GB, free: 4.453 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/3.428, allocations: 3.062 kB / 1.368 GB, free: 4.453 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/3.432, allocations: 3.437 MB / 1.372 GB, free: 1.016 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1452/3.577, allocations: 54.94 MB / 1.425 GB, free: 9.973 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/3.589, allocations: 1.995 MB / 1.427 GB, free: 7.973 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01048/3.6, allocations: 1.981 MB / 1.429 GB, free: 5.988 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/3.6, allocations: 1.031 kB / 1.429 GB, free: 5.988 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01647/3.616, allocations: 4.978 MB / 1.434 GB, free: 0.9883 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 4.769e-06/3.616, allocations: 0 / 1.434 GB, free: 0.9883 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.6955/4.312, allocations: 33.83 MB / 1.467 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/4.312, allocations: 81.14 kB / 1.467 GB, free: 316.5 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4495/4.761, allocations: 198 MB / 1.661 GB, free: 194.8 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.004382/4.766, allocations: 0.5134 MB / 1.661 GB, free: 194.2 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.1029/4.869, allocations: 97.77 MB / 1.757 GB, free: 96.43 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.003872/4.873, allocations: 0.5102 MB / 1.757 GB, free: 95.93 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0052/4.878, allocations: 3.439 MB / 1.761 GB, free: 92.49 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/4.878, allocations: 311.9 kB / 1.761 GB, free: 92.18 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/4.881, allocations: 1.972 MB / 1.763 GB, free: 90.21 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/4.883, allocations: 1.971 MB / 1.765 GB, free: 88.24 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/4.889, allocations: 4.005 MB / 1.769 GB, free: 84.22 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/4.889, allocations: 0 / 1.769 GB, free: 84.22 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.05766/4.946, allocations: 31.87 MB / 1.8 GB, free: 63.09 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/4.946, allocations: 43.31 kB / 1.8 GB, free: 63.05 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/4.947, allocations: 0 / 1.8 GB, free: 63.05 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/4.947, allocations: 1.203 kB / 1.8 GB, free: 63.05 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/4.947, allocations: 4 kB / 1.8 GB, free: 63.05 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/4.947, allocations: 2 kB / 1.8 GB, free: 63.05 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03863/4.985, allocations: 0.5015 MB / 1.8 GB, free: 62.55 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02009/5.005, allocations: 6.84 MB / 1.807 GB, free: 55.71 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.07006/5.076, allocations: 38.24 MB / 1.844 GB, free: 17.43 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04061/5.116, allocations: 19.05 MB / 1.863 GB, free: 420 kB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6755/5.792, allocations: 20.44 MB / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/5.792, allocations: 0 / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/5.792, allocations: 0 / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/5.792, allocations: 4.969 kB / 1.883 GB, free: 310.7 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1664/5.958, allocations: 59.83 MB / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/5.958, allocations: 0 / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/5.958, allocations: 2.375 kB / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/5.958, allocations: 0 / 1.941 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00537/5.964, allocations: 1.471 MB / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/5.964, allocations: 1.531 kB / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/5.964, allocations: 0 / 1.943 GB, free: 285.3 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09012/6.054, allocations: 33.09 MB / 1.975 GB, free: 284 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05871/6.113, allocations: 16.2 MB / 1.991 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04674/6.16, allocations: 0.4915 MB / 1.991 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04148/6.201, allocations: 0.4886 MB / 1.992 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/6.201, allocations: 8.594 kB / 1.992 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01473/6.216, allocations: 6.841 MB / 1.998 GB, free: 281.6 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3634/6.579, allocations: 137.9 MB / 2.133 GB, free: 144.9 MB / 0.9834 GB Notification: Performance of sort global known variables: time 1.904e-06/6.579, allocations: 0 / 2.133 GB, free: 144.9 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03872/6.618, allocations: 4.921 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.004158/6.622, allocations: 0.6037 MB / 2.139 GB, free: 139.4 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.02446/6.647, allocations: 4.533 MB / 2.143 GB, free: 134.9 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/6.647, allocations: 0.75 kB / 2.143 GB, free: 134.9 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/6.661, allocations: 2.551 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.167/6.828, 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.155/7.983, allocations: 298.5 MB / 2.45 GB, free: 196.3 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1495/8.133, allocations: 68.47 MB / 2.517 GB, free: 133.4 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1036/8.237, allocations: 37.28 MB / 2.553 GB, free: 96.07 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01931/8.256, allocations: 7.82 MB / 2.561 GB, free: 88.25 MB / 0.9834 GB Notification: Performance of SimCode: time 3.477e-06/8.256, allocations: 0 / 2.561 GB, free: 88.25 MB / 0.9834 GB Notification: Performance of Templates: time 2.809/11.07, allocations: 0.6734 GB / 3.235 GB, free: 171.9 MB / 1.046 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/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