Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 172.8 kB / 8.739 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.651/1.651, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.0008674/0.0008675, allocations: 99.53 kB / 281.6 MB, free: 5.316 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.2014/0.2014, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.125e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5538, allocations: 87.56 MB / 0.5802 GB, free: 8.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5541, allocations: 63.97 kB / 0.5802 GB, free: 8.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01148/0.5656, allocations: 4.417 MB / 0.5846 GB, free: 4.453 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5656, allocations: 0 / 0.5846 GB, free: 4.453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.5656, allocations: 0 / 0.5846 GB, free: 4.453 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003604/0.566, allocations: 369 kB / 0.5849 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5661, allocations: 19.92 kB / 0.5849 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.5661, allocations: 7.906 kB / 0.5849 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.5664, allocations: 198.9 kB / 0.5851 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5664, allocations: 0 / 0.5851 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.5664, allocations: 4 kB / 0.5851 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.086e-05/0.5665, allocations: 27.88 kB / 0.5852 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.5666, allocations: 59.41 kB / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5666, allocations: 0 / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5667, allocations: 0 / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5667, allocations: 8 kB / 0.5852 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.567, allocations: 261.3 kB / 0.5855 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.5671, allocations: 50.5 kB / 0.5855 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.5672, allocations: 16.98 kB / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.5672, allocations: 0 / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5672, allocations: 38.56 kB / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.5672, allocations: 0.75 kB / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004433/0.5677, allocations: 129.4 kB / 0.5857 GB, free: 3.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5677, allocations: 77.11 kB / 0.5858 GB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5679, allocations: 126.9 kB / 0.5859 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5679, allocations: 25.7 kB / 0.5859 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.5679, allocations: 96.12 kB / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.568, allocations: 27.56 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.568, allocations: 0 / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5681, allocations: 326.8 kB / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.5681, allocations: 16 kB / 0.5864 GB, free: 2.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.5682, allocations: 25.78 kB / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.5682, allocations: 23.94 kB / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5682, allocations: 0 / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001143/0.5683, allocations: 77.53 kB / 0.5865 GB, free: 2.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5684, allocations: 9.281 kB / 0.5865 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5684, allocations: 0 / 0.5865 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5684, allocations: 0 / 0.5865 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5685, allocations: 23.92 kB / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5685, allocations: 0 / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.5686, allocations: 4 kB / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5686, allocations: 8 kB / 0.5865 GB, free: 2.227 MB / 394.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 (8): * Single equations (assignments): 8 * 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 7.356e-05/0.5687, allocations: 112.9 kB / 0.5866 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.5687, allocations: 7.906 kB / 0.5866 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.5689, allocations: 94.22 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5689, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5689, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5689, allocations: 4 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5693, allocations: 331.4 kB / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5693, allocations: 0 / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.5694, allocations: 27.92 kB / 0.5871 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5694, allocations: 3.984 kB / 0.5871 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5694, allocations: 0 / 0.5871 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5694, allocations: 4 kB / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5694, allocations: 0 / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.5696, allocations: 175.5 kB / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5697, allocations: 89 kB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5697, allocations: 4 kB / 0.5873 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.5698, allocations: 4 kB / 0.5873 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.5698, allocations: 7.984 kB / 0.5873 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5698, allocations: 8 kB / 0.5874 GB, free: 1.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.5699, allocations: 105.1 kB / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5699, allocations: 0 / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.5702, allocations: 31.94 kB / 0.5875 GB, free: 1.148 MB / 394.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 (8): * Single equations (assignments): 8 * 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.000876/0.5711, allocations: 385.7 kB / 0.5879 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.5712, allocations: 43.98 kB / 0.5879 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5712, allocations: 4 kB / 0.5879 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.5713, allocations: 27.92 kB / 0.5879 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.5715, allocations: 11.95 kB / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.5718, allocations: 116.2 kB / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.5721, allocations: 0.6924 MB / 0.5887 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.433e-05/0.5722, allocations: 20.95 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.5722, allocations: 15.44 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5722, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003975/0.5762, allocations: 1.325 MB / 0.5901 GB, free: 14.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches