Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 180.7 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.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.969 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.0007676/0.0007678, allocations: 91.8 kB / 287 MB, free: 260 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.2271/0.2271, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.247e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4791, allocations: 88.66 MB / 0.5883 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4794, allocations: 71.97 kB / 0.5884 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4904, allocations: 4.454 MB / 0.5927 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4904, allocations: 0 / 0.5927 GB, free: 12.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4904, allocations: 0 / 0.5927 GB, free: 12.16 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.0003994/0.4908, allocations: 378.3 kB / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4909, allocations: 12.03 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.4909, allocations: 7.906 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.4911, allocations: 190.9 kB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4912, allocations: 7.953 kB / 0.5933 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.4912, allocations: 0 / 0.5933 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4913, allocations: 63.39 kB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4913, allocations: 3.938 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4913, allocations: 8 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4913, allocations: 0 / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.4914, allocations: 20 kB / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.4917, allocations: 288.7 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.4918, allocations: 38.52 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.4919, allocations: 16.86 kB / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4919, allocations: 0 / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4919, allocations: 38.56 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.4919, allocations: 0 / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.4923, allocations: 145.4 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.4924, allocations: 81.11 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4925, allocations: 136 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4926, allocations: 29.7 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.4926, allocations: 92.14 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.4927, allocations: 19.7 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.4927, allocations: 4 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4928, allocations: 318.8 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.4928, allocations: 12 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.4929, allocations: 29.72 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.4929, allocations: 16.22 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4929, allocations: 4.031 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.4931, allocations: 77.53 kB / 0.5946 GB, free: 9.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4931, allocations: 8 kB / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4931, allocations: 0 / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4931, allocations: 0 / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4932, allocations: 23.98 kB / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4933, allocations: 0 / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.4933, allocations: 19.92 kB / 0.5947 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.4934, allocations: 11.95 kB / 0.5947 GB, free: 9.871 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 (7): * Single equations (assignments): 7 * 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 6.388e-05/0.4934, allocations: 101 kB / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.4935, allocations: 7.906 kB / 0.5948 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.4936, allocations: 98.16 kB / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4937, allocations: 4 kB / 0.5949 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4937, allocations: 3.984 kB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4937, allocations: 0 / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.494, allocations: 354.5 kB / 0.5953 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.494, allocations: 0 / 0.5953 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.4941, allocations: 27.92 kB / 0.5953 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4942, allocations: 0 / 0.5953 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4942, allocations: 4 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4942, allocations: 0 / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4942, allocations: 3.984 kB / 0.5953 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4943, allocations: 175.4 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.4944, allocations: 85.16 kB / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4944, allocations: 11.92 kB / 0.5955 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.4945, allocations: 8 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.4946, allocations: 15.97 kB / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4946, allocations: 0 / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.4947, allocations: 115.2 kB / 0.5957 GB, free: 8.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4947, allocations: 0 / 0.5957 GB, free: 8.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.4949, allocations: 28 kB / 0.5957 GB, free: 8.746 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 (7): * Single equations (assignments): 7 * 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.0008174/0.4957, allocations: 411 kB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.4958, allocations: 43.98 kB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.4959, allocations: 0 / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.4959, allocations: 27.94 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.4961, allocations: 12 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.4964, allocations: 129.7 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4966, allocations: 0.6926 MB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.4967, allocations: 15.94 kB / 0.597 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.4967, allocations: 19.42 kB / 0.597 GB, free: 7.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4968, allocations: 0 / 0.597 GB, free: 7.465 MB / 410.7 MB Notification: Performance of Templates: time 0.003385/0.5001, allocations: 1.446 MB / 0.5984 GB, free: 6.027 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches