Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 180.5 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.221/1.221, allocations: 221.3 MB / 236 MB, free: 2.973 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.0007861/0.000786, allocations: 95.78 kB / 287 MB, free: 248 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.1783/0.1783, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.091e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.507, allocations: 88.93 MB / 0.5886 GB, free: 388 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5073, allocations: 75.95 kB / 0.5886 GB, free: 312 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.5191, allocations: 4.813 MB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5191, allocations: 0 / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5192, allocations: 0 / 0.5933 GB, free: 11.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003957/0.5196, allocations: 406.2 kB / 0.5937 GB, free: 11.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5196, allocations: 16.02 kB / 0.5937 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.5197, allocations: 15.81 kB / 0.5937 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5199, allocations: 199.6 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.5199, allocations: 7.953 kB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.52, allocations: 0 / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5201, allocations: 69.39 kB / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5201, allocations: 0 / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5201, allocations: 0 / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5201, allocations: 4 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.5202, allocations: 27.98 kB / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.5207, allocations: 340.6 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5209, allocations: 46.56 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.5209, allocations: 20.98 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5209, allocations: 4 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.521, allocations: 38.55 kB / 0.5945 GB, free: 10.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.521, allocations: 0 / 0.5945 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006061/0.5216, allocations: 245 kB / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5216, allocations: 63.39 kB / 0.5948 GB, free: 9.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5218, allocations: 187 kB / 0.5949 GB, free: 9.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.5218, allocations: 37.69 kB / 0.595 GB, free: 9.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.5219, allocations: 96.14 kB / 0.5951 GB, free: 9.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.5219, allocations: 39.45 kB / 0.5951 GB, free: 9.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.522, allocations: 0 / 0.5951 GB, free: 9.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.5221, allocations: 322.8 kB / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.5221, allocations: 39.98 kB / 0.5955 GB, free: 9.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.5222, allocations: 43.92 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.5222, allocations: 42.5 kB / 0.5955 GB, free: 9.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.5223, allocations: 0 / 0.5955 GB, free: 9.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000167/0.5224, allocations: 129.5 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5224, allocations: 4 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.5225, allocations: 4 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5225, allocations: 0 / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5226, allocations: 31.92 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5226, allocations: 3.953 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.5227, allocations: 19.92 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.5227, allocations: 8 kB / 0.5957 GB, free: 8.824 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 (11): * Single equations (assignments): 11 * 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.089e-05/0.5228, allocations: 105 kB / 0.5958 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.5228, allocations: 7.906 kB / 0.5958 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5231, allocations: 163 kB / 0.596 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5231, allocations: 4 kB / 0.596 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5231, allocations: 4 kB / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5231, allocations: 7.938 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.5237, allocations: 484 kB / 0.5965 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5237, allocations: 4 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.5238, allocations: 28.05 kB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5238, allocations: 7.984 kB / 0.5965 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5238, allocations: 11.95 kB / 0.5965 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5238, allocations: 0 / 0.5965 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5238, allocations: 0 / 0.5965 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.5241, allocations: 268.9 kB / 0.5968 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.5241, allocations: 92.92 kB / 0.5969 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5242, allocations: 8 kB / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.5243, allocations: 11.98 kB / 0.5969 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.5243, allocations: 8.359 kB / 0.5969 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.5243, allocations: 4 kB / 0.5969 GB, free: 7.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.5245, allocations: 163.2 kB / 0.597 GB, free: 7.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5245, allocations: 4 kB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.5247, allocations: 35.94 kB / 0.5971 GB, free: 7.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000895/0.5256, allocations: 432.1 kB / 0.5975 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5258, allocations: 87.92 kB / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5258, allocations: 0 / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.5259, allocations: 55.86 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.5261, allocations: 19.94 kB / 0.5977 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.5265, allocations: 235.4 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5268, allocations: 0.7279 MB / 0.5986 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.726e-05/0.5269, allocations: 32.52 kB / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.527, allocations: 19.42 kB / 0.5986 GB, free: 5.766 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.527, allocations: 4 kB / 0.5986 GB, free: 5.762 MB / 410.7 MB Notification: Performance of Templates: time 0.003938/0.5309, allocations: 1.619 MB / 0.6002 GB, free: 4.148 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches