Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 105.8 kB / 17.98 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 193.3 kB / 18.9 MB, free: 4.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.17 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.22 kB / 408.5 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002753/0.1045, allocations: 1.673 MB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.1052, allocations: 419.2 kB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.1052, allocations: 0 / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.1057, allocations: 447.2 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.1061, allocations: 251.5 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1064, allocations: 122.5 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1066, allocations: 155.7 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.1067, allocations: 24.14 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.1068, allocations: 103.7 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.107, allocations: 219.6 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.107, allocations: 4 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.1071, allocations: 31.98 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1072, allocations: 87.62 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1073, allocations: 95.06 kB / 473 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1075, allocations: 195.7 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1075, allocations: 0 / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1075, allocations: 0 / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1075, allocations: 3.984 kB / 473.2 MB, free: 10.94 MB / 350.1 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.0006127/0.1081, allocations: 0.6183 MB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1082, allocations: 12.03 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.1082, allocations: 44.38 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1085, allocations: 292.2 kB / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1085, allocations: 8.375 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1085, allocations: 384 / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1086, allocations: 53.61 kB / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1087, allocations: 0 / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1087, allocations: 8 kB / 474.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1087, allocations: 0 / 474.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.1088, allocations: 23.97 kB / 474.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.1092, allocations: 392.6 kB / 474.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1094, allocations: 38.56 kB / 474.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.1095, allocations: 16.86 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1095, allocations: 0 / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1096, allocations: 34.66 kB / 474.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1096, allocations: 0 / 474.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007214/0.1103, allocations: 223.9 kB / 474.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1104, allocations: 55.41 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.1111, allocations: 0.8535 MB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1111, allocations: 29.7 kB / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1113, allocations: 224.1 kB / 476 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1113, allocations: 19.64 kB / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1114, allocations: 21.66 kB / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1115, allocations: 354.8 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.1116, allocations: 23.98 kB / 476.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.1116, allocations: 27.97 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1118, allocations: 48.84 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1118, allocations: 0 / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.112, allocations: 105.2 kB / 476.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.112, allocations: 7.984 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.112, allocations: 4 kB / 476.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.112, allocations: 0 / 476.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.1121, allocations: 11.94 kB / 476.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1121, allocations: 0 / 476.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.1121, allocations: 15.92 kB / 476.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1122, allocations: 0 / 476.7 MB, free: 7.184 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.1123, allocations: 210.3 kB / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.1124, allocations: 43.44 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1127, allocations: 133 kB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1127, allocations: 4 kB / 477.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1127, allocations: 0 / 477.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1127, allocations: 7.938 kB / 477.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1132, allocations: 454.5 kB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1132, allocations: 4.312 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.1133, allocations: 11.98 kB / 477.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1133, allocations: 4.281 kB / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1133, allocations: 3.938 kB / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1133, allocations: 0 / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1133, allocations: 8 kB / 477.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1135, allocations: 206.9 kB / 477.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.1136, allocations: 116.6 kB / 477.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1136, allocations: 3.938 kB / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.1137, allocations: 4 kB / 477.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1138, allocations: 4 kB / 477.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1138, allocations: 11.98 kB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005664/0.1144, allocations: 0.6433 MB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 0 / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1146, allocations: 24 kB / 478.5 MB, free: 5.203 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008985/0.1155, allocations: 400.7 kB / 478.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1157, allocations: 55.91 kB / 479 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1157, allocations: 4 kB / 479 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.1158, allocations: 23.98 kB / 479 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1162, allocations: 25.95 kB / 479 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1172, allocations: 0.8943 MB / 479.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1176, allocations: 0.8143 MB / 480.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1176, allocations: 15.44 kB / 480.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1176, allocations: 4 kB / 480.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Templates: time 0.006144/0.1238, allocations: 3.665 MB / 484.4 MB, free: 15.4 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches