Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001168/0.001168, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001344/0.001344, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.515/1.515, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.36/1.36, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 59.91 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.731, allocations: 80.69 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003549/0.7346, allocations: 1.39 MB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.7359, allocations: 0.5698 MB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.736, allocations: 1.375 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.7363, allocations: 14.8 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.7367, allocations: 68.56 kB / 0.5717 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.7371, allocations: 76.66 kB / 0.5718 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.7373, allocations: 90.08 kB / 0.5719 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.7374, allocations: 7.453 kB / 0.5719 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.7376, allocations: 46.09 kB / 0.5719 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.7378, allocations: 51.48 kB / 0.572 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.7379, allocations: 8.062 kB / 0.572 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.7381, allocations: 77.08 kB / 0.5721 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.7382, allocations: 57.25 kB / 0.5721 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.7383, allocations: 46.02 kB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.7387, allocations: 155.3 kB / 0.5723 GB, free: 41.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.7387, allocations: 4 kB / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7387, allocations: 1.625 kB / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.7387, allocations: 0 / 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.0008323/0.7395, allocations: 472.8 kB / 0.5728 GB, free: 40.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.628e-05/0.7396, allocations: 13.92 kB / 0.5728 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.7397, allocations: 16.34 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.7403, allocations: 311.1 kB / 0.5731 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.7403, allocations: 1.75 kB / 0.5731 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.7403, allocations: 3.031 kB / 0.5731 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.7405, allocations: 59.67 kB / 0.5732 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.7405, allocations: 0 / 0.5732 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.7406, allocations: 1.875 kB / 0.5732 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7406, allocations: 0 / 0.5732 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.7407, allocations: 32.73 kB / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.741, allocations: 200.4 kB / 0.5734 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.7411, allocations: 38.8 kB / 0.5734 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.7412, allocations: 33.5 kB / 0.5735 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.7412, allocations: 9.422 kB / 0.5735 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.7415, allocations: 101.2 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7415, allocations: 5.125 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0004338/0.7419, allocations: 166.6 kB / 0.5737 GB, free: 40.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.742, allocations: 78.42 kB / 0.5738 GB, free: 39.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.7423, allocations: 228.4 kB / 0.574 GB, free: 39.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.7424, allocations: 30.83 kB / 0.574 GB, free: 39.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.7425, allocations: 129.4 kB / 0.5742 GB, free: 39.65 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.7425, allocations: 18.84 kB / 0.5742 GB, free: 39.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.7426, allocations: 24.03 kB / 0.5742 GB, free: 39.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7427, allocations: 328.6 kB / 0.5745 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.7428, allocations: 16.91 kB / 0.5745 GB, free: 39.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.7428, allocations: 21.61 kB / 0.5746 GB, free: 39.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.743, allocations: 109.8 kB / 0.5747 GB, free: 39.17 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.743, allocations: 0 / 0.5747 GB, free: 39.17 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002537/0.7432, allocations: 154.5 kB / 0.5748 GB, free: 39.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.7433, allocations: 36.27 kB / 0.5748 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7433, allocations: 3.984 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.7433, allocations: 1.375 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.7434, allocations: 3.656 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7434, allocations: 0 / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.7435, allocations: 3.906 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.7435, allocations: 6.188 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.0001826/0.7437, allocations: 169.6 kB / 0.575 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.7438, allocations: 37.42 kB / 0.5751 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.7438, allocations: 21.64 kB / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7438, allocations: 96 / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7439, allocations: 5.469 kB / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7439, allocations: 0 / 0.5751 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.7441, allocations: 206.4 kB / 0.5753 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7441, allocations: 3.938 kB / 0.5753 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.7441, allocations: 7.094 kB / 0.5753 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.7441, allocations: 1.719 kB / 0.5753 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.7442, allocations: 7.109 kB / 0.5753 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7442, allocations: 4 kB / 0.5753 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7442, allocations: 0 / 0.5753 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.7445, allocations: 202.5 kB / 0.5755 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.7446, allocations: 104.1 kB / 0.5756 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.7447, allocations: 3.406 kB / 0.5756 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.7447, allocations: 3.5 kB / 0.5756 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7448, allocations: 5.25 kB / 0.5756 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.7448, allocations: 14.86 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002224/0.745, allocations: 176.1 kB / 0.5758 GB, free: 38.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7451, allocations: 0 / 0.5758 GB, free: 38.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002895/0.7453, allocations: 30.28 kB / 0.5758 GB, free: 38.19 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.0002441/0.7456, allocations: 126.5 kB / 0.5759 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.7459, allocations: 149.7 kB / 0.5761 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7459, allocations: 1.156 kB / 0.5761 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.746, allocations: 110.8 kB / 0.5762 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.7463, allocations: 23.39 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.0006902/0.747, allocations: 299.3 kB / 0.5765 GB, free: 37.65 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.7474, allocations: 0.7249 MB / 0.5772 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.481e-05/0.7475, allocations: 22.61 kB / 0.5772 GB, free: 36.92 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.7475, allocations: 13.97 kB / 0.5772 GB, free: 36.91 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.7475, allocations: 4 kB / 0.5772 GB, free: 36.91 MB / 462.3 MB Notification: Performance of Templates: time 0.005136/0.7527, allocations: 1.361 MB / 0.5786 GB, free: 36.23 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches