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.00115/0.00115, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.00117/0.00117, allocations: 186 kB / 17.55 MB, free: 5.934 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.551/1.551, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.73/1.73, allocations: 119.3 MB / 410.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001286, allocations: 55.91 kB / 0.4904 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9043/0.9056, allocations: 80.68 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00304/0.9087, allocations: 1.47 MB / 0.5707 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.9098, allocations: 0.5775 MB / 0.5712 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.9099, allocations: 1 kB / 0.5712 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.9104, allocations: 448.5 kB / 0.5717 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.911, allocations: 486.5 kB / 0.5721 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.9113, allocations: 70.03 kB / 0.5722 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000935/0.9122, allocations: 1.126 MB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.9123, allocations: 2.656 kB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.9129, allocations: 0.5666 MB / 0.5738 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.9139, allocations: 1.032 MB / 0.5748 GB, free: 39.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.9141, allocations: 66.28 kB / 0.5749 GB, free: 39.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.9143, allocations: 135 kB / 0.575 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.9165, allocations: 2.504 MB / 0.5775 GB, free: 38.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009568/0.9174, allocations: 1.42 MB / 0.5789 GB, free: 37.15 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.9204, allocations: 3.106 MB / 0.5819 GB, free: 35.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9204, allocations: 0 / 0.5819 GB, free: 35.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.593e-06/0.9204, allocations: 0 / 0.5819 GB, free: 35.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001146/0.9206, allocations: 0 / 0.5819 GB, free: 35.18 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.009602/0.9302, allocations: 5.176 MB / 0.587 GB, free: 31.24 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.9303, allocations: 8.344 kB / 0.587 GB, free: 31.24 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.9318, allocations: 0.5535 MB / 0.5875 GB, free: 30.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.9432, allocations: 6.531 MB / 0.5939 GB, free: 24.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.9432, allocations: 384 / 0.5939 GB, free: 24.4 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.9433, allocations: 16.38 kB / 0.5939 GB, free: 24.38 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.9436, allocations: 241.8 kB / 0.5941 GB, free: 24.14 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.9437, allocations: 3.938 kB / 0.5941 GB, free: 24.14 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.9437, allocations: 24 kB / 0.5942 GB, free: 24.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.9437, allocations: 0 / 0.5942 GB, free: 24.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.9439, allocations: 128 kB / 0.5943 GB, free: 23.99 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.9468, allocations: 1.862 MB / 0.5961 GB, free: 22.08 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.947, allocations: 94.58 kB / 0.5962 GB, free: 21.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.9471, allocations: 96.89 kB / 0.5963 GB, free: 21.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.9472, allocations: 3.984 kB / 0.5963 GB, free: 21.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.9476, allocations: 260.8 kB / 0.5965 GB, free: 21.6 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.9476, allocations: 0 / 0.5965 GB, free: 21.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001302/0.9489, allocations: 1.164 MB / 0.5977 GB, free: 20.42 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.9489, allocations: 81.11 kB / 0.5977 GB, free: 20.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/0.956, allocations: 6.279 MB / 0.6039 GB, free: 14.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.9562, allocations: 41.7 kB / 0.6039 GB, free: 14.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.9579, allocations: 2.524 MB / 0.6064 GB, free: 11.51 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.958, allocations: 35.75 kB / 0.6064 GB, free: 11.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.9582, allocations: 137.6 kB / 0.6065 GB, free: 11.34 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.9583, allocations: 310 kB / 0.6068 GB, free: 11.03 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.9584, allocations: 83.98 kB / 0.6069 GB, free: 10.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.9585, allocations: 79.94 kB / 0.607 GB, free: 10.87 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.9588, allocations: 228.2 kB / 0.6072 GB, free: 10.63 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9588, allocations: 0 / 0.6072 GB, free: 10.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001284/0.9601, allocations: 1.093 MB / 0.6083 GB, free: 9.516 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.9601, allocations: 37.69 kB / 0.6083 GB, free: 9.473 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9601, allocations: 0 / 0.6083 GB, free: 9.473 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.9602, allocations: 0 / 0.6083 GB, free: 9.473 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.9603, allocations: 8 kB / 0.6083 GB, free: 9.465 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.9603, allocations: 0 / 0.6083 GB, free: 9.465 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.9607, allocations: 20 kB / 0.6084 GB, free: 9.445 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.9609, allocations: 220 kB / 0.6086 GB, free: 9.23 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.001808/0.9627, allocations: 1.342 MB / 0.6099 GB, free: 7.871 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.9632, allocations: 0.5746 MB / 0.6104 GB, free: 7.289 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.9637, allocations: 0.6402 MB / 0.6111 GB, free: 6.641 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9637, allocations: 3.984 kB / 0.6111 GB, free: 6.637 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9637, allocations: 0 / 0.6111 GB, free: 6.637 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9638, allocations: 8 kB / 0.6111 GB, free: 6.629 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.9651, allocations: 2.018 MB / 0.613 GB, free: 4.562 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9651, allocations: 0 / 0.613 GB, free: 4.562 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.9652, allocations: 4.031 kB / 0.613 GB, free: 4.559 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.9652, allocations: 7.938 kB / 0.6131 GB, free: 4.551 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.9652, allocations: 52 kB / 0.6131 GB, free: 4.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.9653, allocations: 0 / 0.6131 GB, free: 4.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9653, allocations: 0 / 0.6131 GB, free: 4.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.9662, allocations: 1.176 MB / 0.6142 GB, free: 3.293 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.9667, allocations: 0.5679 MB / 0.6148 GB, free: 2.699 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.9669, allocations: 16 kB / 0.6148 GB, free: 2.684 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.9672, allocations: 23.94 kB / 0.6148 GB, free: 2.66 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.9673, allocations: 0 / 0.6148 GB, free: 2.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.9674, allocations: 224 kB / 0.6151 GB, free: 2.441 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005726/0.9731, allocations: 4.332 MB / 0.6193 GB, free: 14.14 MB / 478.3 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9731, allocations: 0 / 0.6193 GB, free: 14.14 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001043/0.9742, allocations: 188 kB / 0.6195 GB, free: 13.96 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.0003138/0.9745, allocations: 143.1 kB / 0.6196 GB, free: 13.81 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.9751, allocations: 283.6 kB / 0.6199 GB, free: 13.52 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9751, allocations: 0 / 0.6199 GB, free: 13.52 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.9754, allocations: 187.4 kB / 0.6201 GB, free: 13.33 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.9768, allocations: 437.2 kB / 0.6205 GB, free: 12.9 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.9908, allocations: 9.488 MB / 0.6297 GB, free: 3.383 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.9934, allocations: 2.732 MB / 0.6324 GB, free: 0.625 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002915/0.9963, allocations: 1.184 MB / 0.6336 GB, free: 15.43 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.9966, allocations: 259.4 kB / 0.6338 GB, free: 15.18 MB / 494.3 MB Notification: Performance of SimCode: time 1.042e-06/0.9966, allocations: 0 / 0.6338 GB, free: 15.18 MB / 494.3 MB Notification: Performance of Templates: time 0.0504/1.047, allocations: 20.68 MB / 0.654 GB, free: 10.38 MB / 0.4983 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/jenkins/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