Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001725/0.001725, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2205/0.2205, allocations: 43.51 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 65.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1304, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003196/0.1336, allocations: 1.611 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006168/0.1343, allocations: 323.5 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1344, allocations: 4 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1346, allocations: 63.78 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1349, allocations: 47.83 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1352, allocations: 115.7 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1354, allocations: 71.81 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1355, allocations: 20.12 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.1356, allocations: 35.89 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.1357, allocations: 39.84 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1357, allocations: 4 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.1358, allocations: 31.98 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.1359, allocations: 23.91 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.1359, allocations: 27.8 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1361, allocations: 91.66 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1361, allocations: 4 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1361, allocations: 4 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1361, allocations: 0 / 0.4903 GB, free: 9.25 MB / 382.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.0005049/0.1367, allocations: 399 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1367, allocations: 11.89 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1368, allocations: 8.844 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.137, allocations: 192.7 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.137, allocations: 8.125 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.137, allocations: 0 / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1372, allocations: 69.59 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1372, allocations: 3.984 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1372, allocations: 0 / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1372, allocations: 4 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1374, allocations: 31.97 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1378, allocations: 300.7 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1379, allocations: 46.5 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.138, allocations: 20.94 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.138, allocations: 4 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.138, allocations: 30.56 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1381, allocations: 0 / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007229/0.1388, allocations: 209.1 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1388, allocations: 55.34 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.139, allocations: 190.3 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.139, allocations: 25.7 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.1391, allocations: 100.1 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.1391, allocations: 27.7 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1392, allocations: 17.72 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1393, allocations: 322.8 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1394, allocations: 31.97 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-05/0.1395, allocations: 31.97 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1397, allocations: 76.88 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1397, allocations: 0 / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002624/0.14, allocations: 113.5 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.14, allocations: 8 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.14, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.14, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1402, allocations: 31.92 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1402, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.1402, allocations: 11.92 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1402, allocations: 4 kB / 0.4926 GB, free: 6.688 MB / 382.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 (7): * Single equations (assignments): 7 * 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.000103/0.1404, allocations: 129.8 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1404, allocations: 11.81 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.1407, allocations: 130.3 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1407, allocations: 3.938 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1407, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1407, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.1412, allocations: 390.5 kB / 0.4932 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1413, allocations: 0 / 0.4932 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.1413, allocations: 27.92 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1414, allocations: 0 / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1414, allocations: 0 / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1414, allocations: 0 / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1414, allocations: 480 / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1417, allocations: 215.4 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1417, allocations: 84.95 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1418, allocations: 4 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.1418, allocations: 11.98 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1419, allocations: 7.938 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1419, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.142, allocations: 143.2 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1423, allocations: 20 kB / 0.4937 GB, free: 5.422 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0008823/0.1432, allocations: 417.1 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.1435, allocations: 75.94 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1435, allocations: 0 / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1436, allocations: 43.91 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1439, allocations: 21.41 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.1444, allocations: 226.3 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1446, allocations: 0.7002 MB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.1447, allocations: 11.98 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.1447, allocations: 11.44 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1447, allocations: 0 / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of Templates: time 0.00389/0.1486, allocations: 1.272 MB / 0.4964 GB, free: 2.645 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches