Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.2 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008365/0.0008365, allocations: 88.05 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1747/0.1747, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.092e-05, allocations: 224 / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4556, allocations: 88.52 MB / 0.5881 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4558, allocations: 75.89 kB / 0.5882 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.4663, allocations: 4.043 MB / 0.5922 GB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.127e-06/0.4663, allocations: 0 / 0.5922 GB, free: 12.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4663, allocations: 10.89 kB / 0.5922 GB, free: 12.68 MB / 410.7 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.0005116/0.4669, allocations: 398.3 kB / 0.5926 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4669, allocations: 12.03 kB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.467, allocations: 11.91 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4672, allocations: 196.9 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4673, allocations: 11.98 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.4673, allocations: 0 / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4674, allocations: 67.34 kB / 0.5928 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4675, allocations: 0 / 0.5928 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4675, allocations: 7.984 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4675, allocations: 0 / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.4676, allocations: 28 kB / 0.5929 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.468, allocations: 308.7 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4682, allocations: 42.58 kB / 0.5932 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.4682, allocations: 20.98 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.4683, allocations: 4 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.4683, allocations: 42.55 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4683, allocations: 0 / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007713/0.4691, allocations: 225.1 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4692, allocations: 85.05 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4693, allocations: 144.5 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4694, allocations: 29.53 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.4694, allocations: 104.3 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.4695, allocations: 27.56 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.4695, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4696, allocations: 322.8 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.4696, allocations: 20 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.4697, allocations: 41.72 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.4698, allocations: 23.98 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4698, allocations: 0 / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001495/0.4699, allocations: 101.8 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.47, allocations: 4 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.47, allocations: 4.188 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.47, allocations: 96 / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.4702, allocations: 59.83 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4702, allocations: 3.984 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.4704, allocations: 47.91 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4704, allocations: 0 / 0.5945 GB, free: 10.11 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 (10): * Single equations (assignments): 10 * 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.071e-05/0.4705, allocations: 105 kB / 0.5946 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4705, allocations: 15.81 kB / 0.5946 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.4708, allocations: 114.2 kB / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4708, allocations: 0 / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4708, allocations: 0 / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4708, allocations: 0 / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.4712, allocations: 398.4 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4712, allocations: 0 / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4714, allocations: 51.89 kB / 0.5951 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4714, allocations: 4 kB / 0.5951 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4714, allocations: 4 kB / 0.5951 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4714, allocations: 3.953 kB / 0.5951 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4715, allocations: 0 / 0.5951 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4717, allocations: 199.3 kB / 0.5953 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4717, allocations: 85.02 kB / 0.5954 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4717, allocations: 4 kB / 0.5954 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4719, allocations: 39.89 kB / 0.5954 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.472, allocations: 19.94 kB / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.472, allocations: 4.281 kB / 0.5955 GB, free: 8.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.4721, allocations: 115.2 kB / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4721, allocations: 0 / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.4724, allocations: 47.86 kB / 0.5956 GB, free: 8.82 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 (9): * Single equations (assignments): 9 * 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.0009003/0.4733, allocations: 418.5 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.4735, allocations: 60 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4735, allocations: 4 kB / 0.5961 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.4736, allocations: 35.94 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.4738, allocations: 15.98 kB / 0.5961 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.4741, allocations: 141.6 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.4744, allocations: 0.7004 MB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.4745, allocations: 16.41 kB / 0.597 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.4746, allocations: 15.44 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4746, allocations: 4 kB / 0.597 GB, free: 7.484 MB / 410.7 MB Notification: Performance of Templates: time 0.004403/0.479, allocations: 1.88 MB / 0.5988 GB, free: 5.609 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches