Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 174.4 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.494/1.494, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008312/0.0008314, allocations: 88.17 kB / 281.6 MB, free: 5.27 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.1936/0.1936, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.447e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5882, allocations: 88.17 MB / 0.5808 GB, free: 8.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.5884, allocations: 67.97 kB / 0.5808 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.605, allocations: 7.942 MB / 0.5886 GB, free: 384 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.605, allocations: 0 / 0.5886 GB, free: 384 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.6051, allocations: 4 kB / 0.5886 GB, free: 380 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006083/0.6057, allocations: 0.5585 MB / 0.5891 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6057, allocations: 15.98 kB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.6058, allocations: 43.44 kB / 0.5892 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.6062, allocations: 331.2 kB / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6063, allocations: 0 / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.6063, allocations: 7.938 kB / 0.5895 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.119e-05/0.6064, allocations: 19.98 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.6065, allocations: 45.69 kB / 0.5896 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6065, allocations: 0 / 0.5896 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6065, allocations: 4 kB / 0.5896 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6066, allocations: 0 / 0.5896 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.6072, allocations: 429.3 kB / 0.59 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.101e-05/0.6073, allocations: 45.45 kB / 0.59 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.6073, allocations: 12.86 kB / 0.59 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6073, allocations: 8.078 kB / 0.5901 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6074, allocations: 34.56 kB / 0.5901 GB, free: 14.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6074, allocations: 0 / 0.5901 GB, free: 14.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005333/0.6079, allocations: 232 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.6079, allocations: 51.41 kB / 0.5904 GB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.609, allocations: 0.7629 MB / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.609, allocations: 29.7 kB / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.6091, allocations: 208.1 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.6092, allocations: 23.7 kB / 0.5914 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.6092, allocations: 0 / 0.5914 GB, free: 13.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6093, allocations: 363.6 kB / 0.5917 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.6093, allocations: 20 kB / 0.5917 GB, free: 12.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.6094, allocations: 15.98 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.6094, allocations: 23.98 kB / 0.5918 GB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6094, allocations: 0 / 0.5918 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001557/0.6096, allocations: 121.1 kB / 0.5919 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6096, allocations: 4 kB / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6096, allocations: 0 / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6097, allocations: 3.938 kB / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6098, allocations: 35.91 kB / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6098, allocations: 0 / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.6099, allocations: 15.94 kB / 0.5919 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.6099, allocations: 7.984 kB / 0.5919 GB, free: 12.74 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.394e-05/0.61, allocations: 104.9 kB / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.6101, allocations: 43.44 kB / 0.5921 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.6103, allocations: 145.5 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6103, allocations: 3.938 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6103, allocations: 0 / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6103, allocations: 4 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.611, allocations: 0.5735 MB / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.611, allocations: 0 / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.6111, allocations: 23.98 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6111, allocations: 3.984 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.6111, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6111, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6111, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.6113, allocations: 230.8 kB / 0.593 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.6115, allocations: 164.5 kB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.6116, allocations: 0 / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6117, allocations: 12 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6117, allocations: 3.984 kB / 0.5932 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6117, allocations: 4 kB / 0.5932 GB, free: 11.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005792/0.6123, allocations: 0.6082 MB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6123, allocations: 4 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.6126, allocations: 52 kB / 0.5939 GB, free: 10.69 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.0007798/0.6134, allocations: 341.4 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.6136, allocations: 55.91 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6136, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.6136, allocations: 35.98 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.614, allocations: 22.05 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6151, allocations: 0.7222 MB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.6156, allocations: 0.8379 MB / 0.5958 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.6158, allocations: 56.89 kB / 0.5959 GB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.6159, allocations: 23.44 kB / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6159, allocations: 0 / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of Templates: time 0.005678/0.6216, allocations: 2.22 MB / 0.5981 GB, free: 6.387 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches