Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009298/0.0009299, allocations: 169.7 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.343/1.343, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009486/0.0009489, allocations: 95.48 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.1946/0.1946, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.829e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.5411, allocations: 88.06 MB / 0.5807 GB, free: 8.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5414, allocations: 75.95 kB / 0.5807 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.5592, allocations: 7.961 MB / 0.5885 GB, free: 440 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5592, allocations: 0 / 0.5885 GB, free: 440 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.5593, allocations: 8 kB / 0.5885 GB, free: 432 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.0007713/0.5601, allocations: 0.5365 MB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5601, allocations: 11.98 kB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.5603, allocations: 39.44 kB / 0.5891 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.5609, allocations: 335.3 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.5609, allocations: 4 kB / 0.5894 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.5609, allocations: 0 / 0.5894 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.968e-05/0.561, allocations: 12 kB / 0.5894 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.5611, allocations: 41.69 kB / 0.5895 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5612, allocations: 0 / 0.5895 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5612, allocations: 0 / 0.5895 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5612, allocations: 0 / 0.5895 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.562, allocations: 429.2 kB / 0.5899 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.5621, allocations: 22.58 kB / 0.5899 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5621, allocations: 15.88 kB / 0.5899 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.5622, allocations: 0 / 0.5899 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5622, allocations: 34.56 kB / 0.5899 GB, free: 14.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5622, allocations: 0 / 0.5899 GB, free: 14.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.5625, allocations: 81.22 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.5625, allocations: 55.34 kB / 0.5901 GB, free: 14.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.5638, allocations: 0.755 MB / 0.5908 GB, free: 13.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.5638, allocations: 25.7 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.564, allocations: 216.9 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.564, allocations: 3.906 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.564, allocations: 0 / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5642, allocations: 358.8 kB / 0.5914 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.5642, allocations: 12.03 kB / 0.5914 GB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.5642, allocations: 4 kB / 0.5914 GB, free: 13.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.5642, allocations: 11.98 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5643, allocations: 0 / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001183/0.5644, allocations: 77.23 kB / 0.5915 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5644, allocations: 7.938 kB / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5644, allocations: 3.984 kB / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5644, allocations: 0 / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.5645, allocations: 8.094 kB / 0.5915 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5645, allocations: 4 kB / 0.5915 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.5646, allocations: 8 kB / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.5646, allocations: 0 / 0.5915 GB, free: 13.14 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 7.538e-05/0.5647, allocations: 112.8 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.5648, allocations: 43.44 kB / 0.5917 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.565, allocations: 96.91 kB / 0.5918 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.565, allocations: 7.938 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.565, allocations: 4.031 kB / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.565, allocations: 0 / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.5654, allocations: 302 kB / 0.5921 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5654, allocations: 0 / 0.5921 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.5654, allocations: 8 kB / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5654, allocations: 0 / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5654, allocations: 3.984 kB / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5654, allocations: 0 / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5655, allocations: 0 / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.5657, allocations: 182.9 kB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5659, allocations: 164.5 kB / 0.5924 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.5659, allocations: 7.984 kB / 0.5924 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.566, allocations: 4 kB / 0.5924 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.5661, allocations: 0 / 0.5924 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.5661, allocations: 0 / 0.5924 GB, free: 12.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007275/0.5668, allocations: 0.6082 MB / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5668, allocations: 0 / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.5671, allocations: 56.03 kB / 0.5931 GB, free: 11.47 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.0007474/0.5679, allocations: 292.5 kB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.568, allocations: 16 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.568, allocations: 3.938 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.568, allocations: 8 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5683, allocations: 25.48 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5694, allocations: 0.6872 MB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.5698, allocations: 0.8302 MB / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.5699, allocations: 43.97 kB / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.57, allocations: 19.44 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.57, allocations: 3.938 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of Templates: time 0.005619/0.5756, allocations: 1.942 MB / 0.5968 GB, free: 7.613 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches