Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 92.2 kB / 17.31 MB, free: 6.535 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.0009226/0.0009227, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9123/0.9123, allocations: 120.5 MB / 413.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003246, allocations: 11.98 kB / 0.4956 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5702, allocations: 82.83 MB / 0.5764 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001453/0.5717, allocations: 1.132 MB / 0.5775 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.5727, allocations: 0.5802 MB / 0.5781 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.5728, allocations: 1.125 kB / 0.5781 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.5732, allocations: 448.8 kB / 0.5785 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.5738, allocations: 480.4 kB / 0.579 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.574, allocations: 64.48 kB / 0.5791 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009106/0.5749, allocations: 1.117 MB / 0.5801 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.575, allocations: 3.688 kB / 0.5802 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.5755, allocations: 0.5587 MB / 0.5807 GB, free: 39.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.5764, allocations: 0.9742 MB / 0.5816 GB, free: 38.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.5766, allocations: 68.69 kB / 0.5817 GB, free: 38.91 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.5768, allocations: 132.5 kB / 0.5818 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.5791, allocations: 2.493 MB / 0.5843 GB, free: 37.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009474/0.5801, allocations: 1.453 MB / 0.5857 GB, free: 36.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.5818, allocations: 2.301 MB / 0.5879 GB, free: 34.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.5818, allocations: 0 / 0.5879 GB, free: 34.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5819, allocations: 4 kB / 0.5879 GB, free: 34.49 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.5819, allocations: 4 kB / 0.5879 GB, free: 34.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003668/0.5856, allocations: 4.575 MB / 0.5924 GB, free: 29.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5856, allocations: 12.03 kB / 0.5924 GB, free: 29.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.586, allocations: 0.556 MB / 0.593 GB, free: 29.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007346/0.5934, allocations: 6.527 MB / 0.5993 GB, free: 22.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5934, allocations: 4.375 kB / 0.5993 GB, free: 22.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.5935, allocations: 16.38 kB / 0.5994 GB, free: 22.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.5938, allocations: 245.8 kB / 0.5996 GB, free: 22.38 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5938, allocations: 0 / 0.5996 GB, free: 22.38 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.5938, allocations: 16 kB / 0.5996 GB, free: 22.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5939, allocations: 0 / 0.5996 GB, free: 22.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.594, allocations: 128 kB / 0.5997 GB, free: 22.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.5958, allocations: 1.87 MB / 0.6016 GB, free: 20.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.5959, allocations: 102.6 kB / 0.6017 GB, free: 20.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.5961, allocations: 88.89 kB / 0.6017 GB, free: 20.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.5961, allocations: 8 kB / 0.6018 GB, free: 20.11 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.5964, allocations: 260.8 kB / 0.602 GB, free: 19.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.5964, allocations: 0 / 0.602 GB, free: 19.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001162/0.5976, allocations: 1.16 MB / 0.6031 GB, free: 18.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5976, allocations: 85.09 kB / 0.6032 GB, free: 18.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/0.603, allocations: 6.275 MB / 0.6093 GB, free: 12.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.603, allocations: 49.7 kB / 0.6094 GB, free: 12.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.6046, allocations: 2.52 MB / 0.6119 GB, free: 9.746 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.6047, allocations: 35.66 kB / 0.6119 GB, free: 9.711 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.6047, allocations: 33.7 kB / 0.6119 GB, free: 9.672 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.6048, allocations: 310 kB / 0.6122 GB, free: 9.363 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.6049, allocations: 79.98 kB / 0.6123 GB, free: 9.285 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.916e-05/0.605, allocations: 80 kB / 0.6124 GB, free: 9.207 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.6053, allocations: 236.2 kB / 0.6126 GB, free: 8.961 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6053, allocations: 0 / 0.6126 GB, free: 8.961 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009879/0.6063, allocations: 1.086 MB / 0.6137 GB, free: 7.855 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.6063, allocations: 42.78 kB / 0.6137 GB, free: 7.809 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6063, allocations: 0 / 0.6137 GB, free: 7.809 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6064, allocations: 0 / 0.6137 GB, free: 7.809 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.6064, allocations: 4 kB / 0.6137 GB, free: 7.805 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6065, allocations: 3.938 kB / 0.6137 GB, free: 7.801 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.6069, allocations: 20 kB / 0.6137 GB, free: 7.781 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.607, allocations: 224 kB / 0.6139 GB, free: 7.562 MB / 462.3 MB 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.001239/0.6083, allocations: 1.337 MB / 0.6152 GB, free: 6.211 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.6086, allocations: 0.5746 MB / 0.6158 GB, free: 5.629 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.6091, allocations: 0.648 MB / 0.6164 GB, free: 4.973 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.6091, allocations: 3.984 kB / 0.6164 GB, free: 4.969 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6091, allocations: 4 kB / 0.6164 GB, free: 4.965 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6091, allocations: 0 / 0.6164 GB, free: 4.965 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.6105, allocations: 2.018 MB / 0.6184 GB, free: 2.898 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6105, allocations: 0 / 0.6184 GB, free: 2.898 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.6105, allocations: 7.938 kB / 0.6184 GB, free: 2.891 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6105, allocations: 0 / 0.6184 GB, free: 2.891 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.6106, allocations: 48 kB / 0.6185 GB, free: 2.844 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6106, allocations: 0 / 0.6185 GB, free: 2.844 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6106, allocations: 0 / 0.6185 GB, free: 2.844 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.6114, allocations: 1.187 MB / 0.6196 GB, free: 1.625 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.6119, allocations: 0.5601 MB / 0.6202 GB, free: 1.039 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.6121, allocations: 20 kB / 0.6202 GB, free: 1.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.6124, allocations: 20 kB / 0.6202 GB, free: 1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.6125, allocations: 4 kB / 0.6202 GB, free: 0.9961 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.6126, allocations: 220 kB / 0.6204 GB, free: 0.7812 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00473/0.6173, allocations: 4.328 MB / 0.6246 GB, free: 12.49 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6174, allocations: 4 kB / 0.6247 GB, free: 12.49 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.000522/0.6179, allocations: 192 kB / 0.6248 GB, free: 12.3 MB / 478.3 MB 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.0002174/0.6181, allocations: 142.2 kB / 0.625 GB, free: 12.16 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.6185, allocations: 279.6 kB / 0.6252 GB, free: 11.87 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6186, allocations: 0 / 0.6252 GB, free: 11.87 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.6188, allocations: 191.3 kB / 0.6254 GB, free: 11.67 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6199, allocations: 441.1 kB / 0.6258 GB, free: 11.24 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.6318, allocations: 9.736 MB / 0.6353 GB, free: 1.465 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.6341, allocations: 2.721 MB / 0.638 GB, free: 14.71 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.6345, allocations: 259.4 kB / 0.6383 GB, free: 14.46 MB / 494.3 MB Notification: Performance of SimCode: time 9.22e-07/0.6345, allocations: 0 / 0.6383 GB, free: 14.46 MB / 494.3 MB Notification: Performance of Templates: time 0.7248/1.359, allocations: 139.3 MB / 0.7743 GB, free: 157.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches