Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 89.86 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1989/0.1989, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.827e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.5207, allocations: 88.06 MB / 0.5807 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.521, allocations: 68.81 kB / 0.5807 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.538, allocations: 7.967 MB / 0.5885 GB, free: 428 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5381, allocations: 0 / 0.5885 GB, free: 428 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.5381, allocations: 4 kB / 0.5885 GB, free: 424 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005119/0.5386, allocations: 0.5365 MB / 0.589 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5387, allocations: 15.98 kB / 0.5891 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.5388, allocations: 39.44 kB / 0.5891 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.5392, allocations: 331.3 kB / 0.5894 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5392, allocations: 7.922 kB / 0.5894 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.5393, allocations: 4 kB / 0.5894 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.995e-05/0.5393, allocations: 15.98 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.5394, allocations: 41.7 kB / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5394, allocations: 0 / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.5395, allocations: 0 / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5395, allocations: 0 / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.54, allocations: 425.2 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.5401, allocations: 26.58 kB / 0.5899 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.5401, allocations: 8.922 kB / 0.5899 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5402, allocations: 3.984 kB / 0.5899 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.5402, allocations: 30.56 kB / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.5402, allocations: 0 / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.5404, allocations: 81.23 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.5404, allocations: 51.41 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.5415, allocations: 0.7589 MB / 0.5908 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5416, allocations: 25.7 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.5417, allocations: 216.1 kB / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5418, allocations: 7.906 kB / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5418, allocations: 0 / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.542, allocations: 362.7 kB / 0.5914 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.542, allocations: 12.03 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.542, allocations: 4 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.542, allocations: 8 kB / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.542, allocations: 0 / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.5422, allocations: 81.22 kB / 0.5915 GB, free: 13.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5422, allocations: 5.406 kB / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5422, allocations: 0 / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5422, allocations: 0 / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.5423, allocations: 4.094 kB / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5423, allocations: 4 kB / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.5424, allocations: 11.92 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5424, allocations: 4 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.5425, allocations: 114.2 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.5426, allocations: 43.44 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.5427, allocations: 92.92 kB / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5427, allocations: 7.922 kB / 0.5918 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5428, allocations: 4.031 kB / 0.5918 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5428, allocations: 0 / 0.5918 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.5431, allocations: 302 kB / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5431, allocations: 3.984 kB / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.5431, allocations: 4 kB / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5431, allocations: 0 / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.5432, allocations: 4 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5432, allocations: 0 / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5432, allocations: 0 / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.5434, allocations: 186.9 kB / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5436, allocations: 160.6 kB / 0.5924 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.5436, allocations: 0 / 0.5924 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.5437, allocations: 4 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5437, allocations: 4 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.5438, allocations: 3.984 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006655/0.5444, allocations: 0.6043 MB / 0.593 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5444, allocations: 0 / 0.593 GB, free: 11.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.5447, allocations: 56.02 kB / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007814/0.5455, allocations: 300.4 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.5456, allocations: 15.98 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5457, allocations: 4 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.5457, allocations: 11.94 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5459, allocations: 19.48 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.547, allocations: 0.6873 MB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.5475, allocations: 0.8302 MB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.217e-05/0.5476, allocations: 43.98 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.5477, allocations: 23.42 kB / 0.5949 GB, free: 9.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5477, allocations: 3.938 kB / 0.595 GB, free: 9.539 MB / 410.7 MB Notification: Performance of Templates: time 0.005262/0.553, allocations: 1.941 MB / 0.5968 GB, free: 7.59 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches