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.0009735/0.0009738, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009572/0.0009572, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.393/1.393, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.089/1.089, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 8 kB / 0.4949 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7355, allocations: 82.83 MB / 0.5758 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001996/0.7376, allocations: 1.118 MB / 0.5769 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7388, allocations: 0.5773 MB / 0.5774 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.7389, allocations: 1.812 kB / 0.5774 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.7391, allocations: 11.3 kB / 0.5775 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.7395, allocations: 53.97 kB / 0.5775 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.7398, allocations: 65.17 kB / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.7399, allocations: 81.59 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.74, allocations: 2.562 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.7402, allocations: 41.44 kB / 0.5777 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.7403, allocations: 48.33 kB / 0.5777 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.7403, allocations: 3.875 kB / 0.5777 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.7405, allocations: 83.17 kB / 0.5778 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.7406, allocations: 56.91 kB / 0.5779 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.7407, allocations: 75.28 kB / 0.5779 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.7409, allocations: 145.6 kB / 0.5781 GB, free: 39.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.7409, allocations: 5.141 kB / 0.5781 GB, free: 39.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.405e-06/0.741, allocations: 0 / 0.5781 GB, free: 39.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.741, allocations: 0 / 0.5781 GB, free: 39.63 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.000525/0.7415, allocations: 453.6 kB / 0.5785 GB, free: 39.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7416, allocations: 8.5 kB / 0.5785 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.7416, allocations: 21.28 kB / 0.5785 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.742, allocations: 315.6 kB / 0.5788 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.7421, allocations: 384 / 0.5788 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7421, allocations: 4.375 kB / 0.5789 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.7423, allocations: 59.16 kB / 0.5789 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.7423, allocations: 3.984 kB / 0.5789 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7423, allocations: 6.031 kB / 0.5789 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.7423, allocations: 0 / 0.5789 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.7424, allocations: 20.48 kB / 0.5789 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.7427, allocations: 195.8 kB / 0.5791 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.7428, allocations: 47.94 kB / 0.5792 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.7429, allocations: 29.17 kB / 0.5792 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.7429, allocations: 3.938 kB / 0.5792 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.7431, allocations: 99.14 kB / 0.5793 GB, free: 38.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.7431, allocations: 3.938 kB / 0.5793 GB, free: 38.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003389/0.7435, allocations: 162.3 kB / 0.5795 GB, free: 38.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.7435, allocations: 88.66 kB / 0.5795 GB, free: 38.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.7437, allocations: 231.8 kB / 0.5798 GB, free: 38.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.7438, allocations: 27.08 kB / 0.5798 GB, free: 38.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.7438, allocations: 120.3 kB / 0.5799 GB, free: 37.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.7439, allocations: 27.92 kB / 0.5799 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.7439, allocations: 20.45 kB / 0.5799 GB, free: 37.86 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.744, allocations: 324.3 kB / 0.5803 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.744, allocations: 21.61 kB / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.7441, allocations: 17.62 kB / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.7442, allocations: 110.4 kB / 0.5804 GB, free: 37.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7442, allocations: 0 / 0.5804 GB, free: 37.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001775/0.7444, allocations: 148.8 kB / 0.5805 GB, free: 37.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.7444, allocations: 40.56 kB / 0.5806 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.7444, allocations: 5.359 kB / 0.5806 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7445, allocations: 0 / 0.5806 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.7445, allocations: 4.125 kB / 0.5806 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7446, allocations: 1.375 kB / 0.5806 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.7446, allocations: 6.656 kB / 0.5806 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.7447, allocations: 10.88 kB / 0.5806 GB, free: 37.27 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.0001672/0.7448, allocations: 178.9 kB / 0.5808 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.7449, allocations: 21.38 kB / 0.5808 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.7449, allocations: 17.66 kB / 0.5808 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7449, allocations: 1.375 kB / 0.5808 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.745, allocations: 0 / 0.5808 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.745, allocations: 3.984 kB / 0.5808 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.7452, allocations: 207.9 kB / 0.581 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7452, allocations: 0 / 0.581 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.7452, allocations: 14.62 kB / 0.581 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7452, allocations: 3.938 kB / 0.581 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.7452, allocations: 8.125 kB / 0.581 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.7452, allocations: 0 / 0.581 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7453, allocations: 1.375 kB / 0.581 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.7455, allocations: 188.7 kB / 0.5812 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.7456, allocations: 104.8 kB / 0.5813 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.7456, allocations: 3.781 kB / 0.5813 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.7457, allocations: 6.438 kB / 0.5813 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.7457, allocations: 6.734 kB / 0.5813 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.7458, allocations: 10.19 kB / 0.5814 GB, free: 36.57 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001665/0.7459, allocations: 175.8 kB / 0.5815 GB, free: 36.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7459, allocations: 0 / 0.5815 GB, free: 36.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002858/0.7462, allocations: 35.22 kB / 0.5816 GB, free: 36.45 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.000232/0.7465, allocations: 129 kB / 0.5817 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.7467, allocations: 151.8 kB / 0.5818 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7467, allocations: 0 / 0.5818 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.7469, allocations: 110 kB / 0.5819 GB, free: 36.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.7471, allocations: 21.38 kB / 0.5819 GB, free: 36.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.7477, allocations: 322.5 kB / 0.5823 GB, free: 35.88 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.7479, allocations: 0.7278 MB / 0.583 GB, free: 35.16 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.748, allocations: 27.11 kB / 0.583 GB, free: 35.15 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.748, allocations: 12.94 kB / 0.583 GB, free: 35.14 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.748, allocations: 5.312 kB / 0.583 GB, free: 35.14 MB / 462.3 MB Notification: Performance of Templates: time 0.00474/0.7528, allocations: 1.285 MB / 0.5843 GB, free: 34.49 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches