Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, 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.293/1.293, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008695/0.0008698, allocations: 91.55 kB / 287 MB, free: 252 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.1698/0.1698, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.642e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4904, allocations: 88.65 MB / 0.5883 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.4908, allocations: 75.95 kB / 0.5884 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.5059, allocations: 4.441 MB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.506, allocations: 0 / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.506, allocations: 7.984 kB / 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.0004475/0.5065, allocations: 378.3 kB / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5065, allocations: 12.03 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.5066, allocations: 11.84 kB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.5068, allocations: 187.9 kB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5068, allocations: 3.953 kB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.5068, allocations: 12 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.507, allocations: 67.39 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.507, allocations: 3.938 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.507, allocations: 0 / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.507, allocations: 4 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.5071, allocations: 12 kB / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.5074, allocations: 296.8 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.5075, allocations: 30.58 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.5076, allocations: 16.8 kB / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5076, allocations: 8.078 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5076, allocations: 30.56 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5076, allocations: 0 / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004478/0.5081, allocations: 137.3 kB / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5081, allocations: 77.11 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5083, allocations: 138.2 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5083, allocations: 33.7 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.5083, allocations: 88.12 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5084, allocations: 23.78 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5084, allocations: 4 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.5085, allocations: 322.8 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.5085, allocations: 12 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.5086, allocations: 33.78 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.5086, allocations: 15.98 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5086, allocations: 0 / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001168/0.5087, allocations: 77.53 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5088, allocations: 4 kB / 0.5946 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5088, allocations: 4.031 kB / 0.5946 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.5088, allocations: 4 kB / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5089, allocations: 23.98 kB / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5089, allocations: 0 / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.509, allocations: 20.06 kB / 0.5947 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.509, allocations: 3.953 kB / 0.5947 GB, free: 9.879 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 5.671e-05/0.5091, allocations: 109 kB / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.5091, allocations: 15.89 kB / 0.5948 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.5093, allocations: 90.22 kB / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5093, allocations: 0 / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5093, allocations: 0 / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5093, allocations: 0 / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.5097, allocations: 358.5 kB / 0.5952 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5097, allocations: 3.938 kB / 0.5952 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.5098, allocations: 27.92 kB / 0.5953 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5098, allocations: 0 / 0.5953 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.5098, allocations: 4 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5098, allocations: 0 / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.5098, allocations: 0 / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.51, allocations: 175.8 kB / 0.5954 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.51, allocations: 93 kB / 0.5955 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.51, allocations: 0 / 0.5955 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.5101, allocations: 23.92 kB / 0.5956 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.5102, allocations: 7.984 kB / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.5102, allocations: 0 / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.5103, allocations: 113.6 kB / 0.5957 GB, free: 8.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5103, allocations: 0 / 0.5957 GB, free: 8.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.5105, allocations: 24 kB / 0.5957 GB, free: 8.754 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.0008569/0.5114, allocations: 418.2 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.5115, allocations: 40 kB / 0.5961 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5115, allocations: 0 / 0.5961 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.5116, allocations: 27.94 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.5118, allocations: 15.92 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.5121, allocations: 129.7 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.5124, allocations: 0.6965 MB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.5124, allocations: 20.23 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.5125, allocations: 15.44 kB / 0.597 GB, free: 7.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5125, allocations: 0 / 0.597 GB, free: 7.465 MB / 410.7 MB Notification: Performance of Templates: time 0.003849/0.5163, allocations: 1.442 MB / 0.5984 GB, free: 6.031 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches