Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 103.6 kB / 16.51 MB, free: 6.699 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.001645/0.001646, allocations: 194 kB / 17.42 MB, free: 6.086 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9435/0.9435, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 0.4903 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5438, allocations: 80.67 MB / 0.569 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002465/0.5464, allocations: 1.479 MB / 0.5705 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.5474, allocations: 0.5858 MB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.5474, allocations: 3.938 kB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.5495, allocations: 3.428 MB / 0.5744 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.5519, allocations: 3.466 MB / 0.5778 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.5522, allocations: 60.06 kB / 0.5778 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006182/0.5583, allocations: 8.542 MB / 0.5862 GB, free: 32.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.5584, allocations: 7.984 kB / 0.5862 GB, free: 32.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.565, allocations: 4.247 MB / 0.5903 GB, free: 28.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00706/0.5721, allocations: 7.592 MB / 0.5978 GB, free: 20.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.5737, allocations: 0.4922 MB / 0.5982 GB, free: 19.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5748, allocations: 0.5585 MB / 0.5988 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01502/0.5898, allocations: 19.9 MB / 0.6182 GB, free: 15.47 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01867/0.6085, allocations: 11.25 MB / 0.6292 GB, free: 4.105 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03434/0.6429, allocations: 23.76 MB / 0.6524 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.639e-06/0.643, allocations: 0 / 0.6524 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.334e-06/0.643, allocations: 0 / 0.6524 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00126/0.6443, allocations: 0 / 0.6524 GB, free: 12.21 MB / 0.4983 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.06112/0.7054, allocations: 38.76 MB / 0.6903 GB, free: 5.047 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7055, allocations: 12.03 kB / 0.6903 GB, free: 5.035 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.7119, allocations: 4.403 MB / 0.6946 GB, free: 0.5742 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1502/0.8621, allocations: 51.57 MB / 0.7449 GB, free: 12.66 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8622, allocations: 384 / 0.7449 GB, free: 12.66 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.8629, allocations: 128.4 kB / 0.7451 GB, free: 12.53 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.8649, allocations: 1.524 MB / 0.7465 GB, free: 11 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8649, allocations: 0 / 0.7465 GB, free: 11 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.8651, allocations: 124 kB / 0.7467 GB, free: 10.88 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8652, allocations: 0 / 0.7467 GB, free: 10.88 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.8664, allocations: 0.875 MB / 0.7475 GB, free: 10 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6314/1.498, allocations: 13.85 MB / 0.761 GB, free: 127.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/1.5, allocations: 0.5265 MB / 0.7616 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.501, allocations: 0.5177 MB / 0.7621 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.501, allocations: 0.5625 kB / 0.7621 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.503, allocations: 1.319 MB / 0.7633 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 3.596e-06/1.503, allocations: 3.531 kB / 0.7634 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01523/1.518, allocations: 8.319 MB / 0.7715 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.518, allocations: 79.55 kB / 0.7715 GB, free: 127.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09036/1.609, allocations: 49.58 MB / 0.82 GB, free: 93.41 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.61, allocations: 155.3 kB / 0.8201 GB, free: 93.26 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02183/1.632, allocations: 22.55 MB / 0.8421 GB, free: 70.7 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.633, allocations: 145.4 kB / 0.8423 GB, free: 70.57 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009028/1.634, allocations: 0.8877 MB / 0.8431 GB, free: 69.69 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/1.634, allocations: 310 kB / 0.8434 GB, free: 69.38 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/1.635, allocations: 0.5039 MB / 0.8439 GB, free: 68.88 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/1.635, allocations: 0.5034 MB / 0.8444 GB, free: 68.38 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.636, allocations: 1.083 MB / 0.8455 GB, free: 67.28 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.636, allocations: 0 / 0.8455 GB, free: 67.28 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01002/1.646, allocations: 7.815 MB / 0.8531 GB, free: 61.9 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/1.647, allocations: 41.69 kB / 0.8531 GB, free: 61.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.647, allocations: 3 kB / 0.8532 GB, free: 61.85 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.647, allocations: 0 / 0.8532 GB, free: 61.85 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.647, allocations: 4 kB / 0.8532 GB, free: 61.85 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.647, allocations: 0 / 0.8532 GB, free: 61.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009194/1.656, allocations: 135.8 kB / 0.8533 GB, free: 61.72 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003194/1.659, allocations: 1.711 MB / 0.855 GB, free: 60.01 MB / 0.5923 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.01689/1.676, allocations: 9.67 MB / 0.8644 GB, free: 50.32 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008867/1.685, allocations: 4.523 MB / 0.8688 GB, free: 45.73 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.697, allocations: 5.115 MB / 0.8738 GB, free: 40.6 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.697, allocations: 7.984 kB / 0.8738 GB, free: 40.59 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.697, allocations: 0 / 0.8738 GB, free: 40.59 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.697, allocations: 3.938 kB / 0.8738 GB, free: 40.59 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03911/1.736, allocations: 15.07 MB / 0.8885 GB, free: 25.46 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.736, allocations: 0.9375 kB / 0.8885 GB, free: 25.46 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/1.736, allocations: 7 kB / 0.8885 GB, free: 25.45 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.736, allocations: 1.078 kB / 0.8885 GB, free: 25.45 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001321/1.738, allocations: 380 kB / 0.8889 GB, free: 25.08 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/1.738, allocations: 3.938 kB / 0.8889 GB, free: 25.08 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.738, allocations: 0 / 0.8889 GB, free: 25.08 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.753, allocations: 8.153 MB / 0.8969 GB, free: 16.84 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009462/1.762, allocations: 3.875 MB / 0.9007 GB, free: 12.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005506/1.768, allocations: 133.8 kB / 0.9008 GB, free: 12.77 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008102/1.776, allocations: 135.9 kB / 0.9009 GB, free: 12.63 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/1.776, allocations: 3.938 kB / 0.9009 GB, free: 12.63 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002404/1.779, allocations: 1.715 MB / 0.9026 GB, free: 10.91 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07192/1.851, allocations: 34.49 MB / 0.9363 GB, free: 8.723 MB / 0.6235 GB Notification: Performance of sort global known variables: time 4.61e-07/1.851, allocations: 0 / 0.9363 GB, free: 8.723 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.007911/1.858, allocations: 1.257 MB / 0.9375 GB, free: 7.473 MB / 0.6235 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.00118/1.86, allocations: 254.9 kB / 0.9377 GB, free: 7.223 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.003794/1.864, allocations: 1.232 MB / 0.9389 GB, free: 5.98 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.864, allocations: 0 / 0.9389 GB, free: 5.98 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.865, allocations: 0.7182 MB / 0.9397 GB, free: 5.25 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02467/1.889, allocations: 3.384 MB / 0.943 GB, free: 1.867 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1331/2.023, allocations: 79.37 MB / 1.02 GB, free: 2.926 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3856/2.408, allocations: 17.33 MB / 1.037 GB, free: 206.6 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.03147/2.44, allocations: 9.323 MB / 1.046 GB, free: 202.5 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005617/2.445, allocations: 1.961 MB / 1.048 GB, free: 202.5 MB / 0.7017 GB Notification: Performance of SimCode: time 9.62e-07/2.445, allocations: 0 / 1.048 GB, free: 202.5 MB / 0.7017 GB Notification: Performance of Templates: time 0.5/2.945, allocations: 164.5 MB / 1.209 GB, free: 60.24 MB / 0.7017 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches