Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001357, allocations: 112.8 kB / 17.68 MB, free: 5.473 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.00139/0.00139, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.272/1.272, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8583/0.8583, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5045, allocations: 80.67 MB / 0.5711 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002263/0.5068, allocations: 1.402 MB / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.5077, allocations: 0.5693 MB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.5077, allocations: 1.312 kB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.5079, allocations: 19.56 kB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.5082, allocations: 66.77 kB / 0.5731 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.5084, allocations: 72.83 kB / 0.5732 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.5085, allocations: 95.33 kB / 0.5733 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.5086, allocations: 6.359 kB / 0.5733 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.5087, allocations: 49.89 kB / 0.5734 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.5088, allocations: 46.58 kB / 0.5734 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5088, allocations: 7.75 kB / 0.5734 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.509, allocations: 77.44 kB / 0.5735 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5091, allocations: 60.98 kB / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.5091, allocations: 46.17 kB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.5093, allocations: 148.3 kB / 0.5737 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5093, allocations: 4.969 kB / 0.5737 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5093, allocations: 3.938 kB / 0.5737 GB, free: 41.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.5093, allocations: 0 / 0.5737 GB, free: 41.57 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.0004372/0.5098, allocations: 478 kB / 0.5742 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5098, allocations: 13.67 kB / 0.5742 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.5099, allocations: 16.38 kB / 0.5742 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.5103, allocations: 307.6 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.5103, allocations: 1.75 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.5103, allocations: 6.75 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.5104, allocations: 60.14 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5104, allocations: 0 / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5105, allocations: 1.531 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5105, allocations: 1.281 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.5105, allocations: 27.28 kB / 0.5746 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.5107, allocations: 200.5 kB / 0.5748 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.5107, allocations: 46.94 kB / 0.5748 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.5108, allocations: 29.89 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.5108, allocations: 1.438 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.5109, allocations: 109.5 kB / 0.575 GB, free: 40.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.5109, allocations: 0 / 0.575 GB, free: 40.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002824/0.5112, allocations: 166.8 kB / 0.5751 GB, free: 40.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.5113, allocations: 79.92 kB / 0.5752 GB, free: 40.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5114, allocations: 227.3 kB / 0.5754 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5115, allocations: 31.89 kB / 0.5755 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.5115, allocations: 120 kB / 0.5756 GB, free: 39.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.5115, allocations: 19.67 kB / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.5116, allocations: 23.81 kB / 0.5756 GB, free: 39.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.5116, allocations: 332.5 kB / 0.5759 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.5117, allocations: 17.34 kB / 0.5759 GB, free: 39.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.5117, allocations: 18.17 kB / 0.576 GB, free: 39.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.5118, allocations: 109 kB / 0.5761 GB, free: 39.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5118, allocations: 4 kB / 0.5761 GB, free: 39.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001551/0.512, allocations: 149.9 kB / 0.5762 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.512, allocations: 32.92 kB / 0.5762 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.512, allocations: 0 / 0.5762 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.512, allocations: 4.719 kB / 0.5763 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.5121, allocations: 12.3 kB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5121, allocations: 96 / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.5122, allocations: 11.88 kB / 0.5763 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.5122, allocations: 6 kB / 0.5763 GB, free: 39.2 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 9.853e-05/0.5123, allocations: 173 kB / 0.5764 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.5123, allocations: 29.14 kB / 0.5765 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.5124, allocations: 22.02 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5124, allocations: 1.438 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5124, allocations: 0 / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5124, allocations: 0 / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.5125, allocations: 219.6 kB / 0.5767 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5125, allocations: 0 / 0.5767 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.5125, allocations: 6.844 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.5125, allocations: 0 / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5125, allocations: 4.312 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5126, allocations: 4 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5126, allocations: 0 / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.5128, allocations: 205.4 kB / 0.5769 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.5128, allocations: 102 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.5129, allocations: 6.719 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.5129, allocations: 2.594 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.5129, allocations: 2.5 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.513, allocations: 7.219 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001047/0.5131, allocations: 179.2 kB / 0.5772 GB, free: 38.37 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5131, allocations: 0 / 0.5772 GB, free: 38.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002311/0.5133, allocations: 34.5 kB / 0.5772 GB, free: 38.36 MB / 462.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.0001468/0.5135, allocations: 122.9 kB / 0.5774 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.5137, allocations: 150.9 kB / 0.5775 GB, free: 38.15 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5137, allocations: 3.938 kB / 0.5775 GB, free: 38.14 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.5137, allocations: 106.3 kB / 0.5776 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.5139, allocations: 24.52 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.5144, allocations: 291.5 kB / 0.5779 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.5145, allocations: 0.7242 MB / 0.5786 GB, free: 37.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.5146, allocations: 30.94 kB / 0.5786 GB, free: 37.1 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.5146, allocations: 14.09 kB / 0.5787 GB, free: 37.09 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5146, allocations: 0 / 0.5787 GB, free: 37.09 MB / 462.3 MB Notification: Performance of Templates: time 0.003697/0.5183, allocations: 1.37 MB / 0.58 GB, free: 36.4 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches