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.001114/0.001114, allocations: 111.6 kB / 16.92 MB, free: 6.117 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.001015/0.001015, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.29/1.29, allocations: 222.9 MB / 241.5 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5893, allocations: 80.69 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002557/0.5919, allocations: 1.378 MB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.5928, allocations: 0.5689 MB / 0.5716 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.5929, allocations: 8.938 kB / 0.5716 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.5931, allocations: 19.56 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.5934, allocations: 64.02 kB / 0.5717 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.5937, allocations: 76.42 kB / 0.5718 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.5938, allocations: 90.92 kB / 0.5719 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.5939, allocations: 2.938 kB / 0.5719 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.594, allocations: 57.81 kB / 0.5719 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.5942, allocations: 47.28 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.5942, allocations: 5.281 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.5943, allocations: 80.55 kB / 0.5721 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5945, allocations: 57.47 kB / 0.5721 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.5945, allocations: 49.61 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5948, allocations: 147.8 kB / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5948, allocations: 0 / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5948, allocations: 3.984 kB / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.5948, allocations: 1.531 kB / 0.5723 GB, free: 41.39 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.000496/0.5953, allocations: 474.3 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5953, allocations: 11.86 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.5954, allocations: 16.06 kB / 0.5728 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.5958, allocations: 316.5 kB / 0.5731 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5958, allocations: 384 / 0.5731 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5958, allocations: 6.969 kB / 0.5731 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5959, allocations: 55.8 kB / 0.5732 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.596, allocations: 0 / 0.5732 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.596, allocations: 2.375 kB / 0.5732 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.596, allocations: 0 / 0.5732 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.857e-05/0.5961, allocations: 20.56 kB / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.5962, allocations: 205 kB / 0.5734 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.5963, allocations: 46.12 kB / 0.5734 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.5964, allocations: 34.42 kB / 0.5735 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.5964, allocations: 3.938 kB / 0.5735 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.5966, allocations: 102.1 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.5966, allocations: 1.406 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003213/0.5969, allocations: 174 kB / 0.5737 GB, free: 40.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5969, allocations: 87.45 kB / 0.5738 GB, free: 39.94 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.5972, allocations: 227.6 kB / 0.574 GB, free: 39.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5972, allocations: 30.98 kB / 0.574 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.5973, allocations: 116.6 kB / 0.5742 GB, free: 39.64 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.5973, allocations: 23.42 kB / 0.5742 GB, free: 39.62 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.5973, allocations: 23.88 kB / 0.5742 GB, free: 39.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.5974, allocations: 327.8 kB / 0.5745 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.5975, allocations: 18.31 kB / 0.5745 GB, free: 39.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.5975, allocations: 25.61 kB / 0.5746 GB, free: 39.26 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.47e-05/0.5976, allocations: 105.3 kB / 0.5747 GB, free: 39.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5976, allocations: 0 / 0.5747 GB, free: 39.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001782/0.5978, allocations: 154.1 kB / 0.5748 GB, free: 39.06 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.5978, allocations: 36.3 kB / 0.5748 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5978, allocations: 0 / 0.5748 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5979, allocations: 1.469 kB / 0.5748 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.5979, allocations: 8.203 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5979, allocations: 0 / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.598, allocations: 2.984 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.598, allocations: 11.59 kB / 0.5749 GB, free: 39.02 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.0001139/0.5981, allocations: 172.8 kB / 0.575 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.5982, allocations: 28.44 kB / 0.5751 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.5982, allocations: 21.64 kB / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5982, allocations: 1.375 kB / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5982, allocations: 0 / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5982, allocations: 0 / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.5984, allocations: 215.1 kB / 0.5753 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5984, allocations: 3.938 kB / 0.5753 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.5984, allocations: 11.81 kB / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5984, allocations: 0 / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5984, allocations: 3.719 kB / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5985, allocations: 0 / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5985, allocations: 1.125 kB / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5987, allocations: 196.7 kB / 0.5755 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.5988, allocations: 108.9 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.5988, allocations: 3.688 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.5989, allocations: 6.406 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.5989, allocations: 2.031 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5989, allocations: 15.53 kB / 0.5756 GB, free: 38.29 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001325/0.5991, allocations: 176.2 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5991, allocations: 0 / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002368/0.5993, allocations: 29.47 kB / 0.5758 GB, free: 38.18 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.0001554/0.5995, allocations: 130.1 kB / 0.5759 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5997, allocations: 142.1 kB / 0.5761 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5997, allocations: 5.156 kB / 0.5761 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5998, allocations: 114.4 kB / 0.5762 GB, free: 37.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.6, allocations: 15.95 kB / 0.5762 GB, free: 37.86 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.6005, allocations: 299.6 kB / 0.5765 GB, free: 37.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.6007, allocations: 0.7279 MB / 0.5772 GB, free: 36.92 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.6007, allocations: 27.33 kB / 0.5772 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.6008, allocations: 14.22 kB / 0.5772 GB, free: 36.9 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.6008, allocations: 0 / 0.5772 GB, free: 36.9 MB / 462.3 MB Notification: Performance of Templates: time 0.004271/0.605, allocations: 1.355 MB / 0.5786 GB, free: 36.22 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches