Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 113.3 kB / 16.41 MB, free: 6.426 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.002505/0.002505, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2182/0.2182, allocations: 43.53 MB / 314.1 MB, free: 448 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.001629/0.001629, allocations: 67.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.132, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003555/0.1356, allocations: 1.604 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.1364, allocations: 343.5 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1365, allocations: 4 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1369, allocations: 59.81 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1372, allocations: 51.75 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.1377, allocations: 163.6 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1379, allocations: 71.83 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1381, allocations: 27.94 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.1382, allocations: 23.92 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1383, allocations: 47.78 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1383, allocations: 3.984 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1385, allocations: 39.98 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.1385, allocations: 19.92 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.1386, allocations: 31.73 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1388, allocations: 91.77 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1389, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.571e-06/0.1389, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1389, allocations: 3.938 kB / 0.4904 GB, free: 9.195 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.0006242/0.1395, allocations: 399 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1396, allocations: 15.89 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1396, allocations: 8.844 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1398, allocations: 192.7 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1399, allocations: 4.375 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1399, allocations: 7.938 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1401, allocations: 61.66 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1401, allocations: 0 / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1401, allocations: 4 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1401, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1403, allocations: 43.89 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.1407, allocations: 312.7 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1409, allocations: 42.56 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.1409, allocations: 28.94 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.141, allocations: 4 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.141, allocations: 42.48 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.141, allocations: 3.938 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007991/0.1418, allocations: 221.2 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1419, allocations: 63.27 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.142, allocations: 178.3 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1421, allocations: 25.7 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1421, allocations: 100.1 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1422, allocations: 27.72 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1423, allocations: 21.7 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1424, allocations: 322.8 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1425, allocations: 43.89 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.1426, allocations: 44.03 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1429, allocations: 84.8 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1429, allocations: 4 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002707/0.1432, allocations: 125.5 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1432, allocations: 4 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1432, allocations: 0 / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1432, allocations: 4 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1433, allocations: 19.98 kB / 0.4928 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1434, allocations: 3.938 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.1434, allocations: 15.98 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1434, allocations: 0 / 0.4928 GB, free: 6.543 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.000107/0.1435, allocations: 125.8 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.1436, allocations: 15.8 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1439, allocations: 138.3 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.144, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.144, allocations: 15.92 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.144, allocations: 0 / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.1445, allocations: 402.5 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1445, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.1446, allocations: 23.92 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1446, allocations: 3.938 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1447, allocations: 4 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1447, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1447, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.145, allocations: 220 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.145, allocations: 88.95 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.145, allocations: 0 / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.1451, allocations: 15.98 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1452, allocations: 11.97 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.1452, allocations: 4 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1453, allocations: 131.2 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1453, allocations: 3.938 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1456, allocations: 23.94 kB / 0.4939 GB, free: 5.23 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.0009228/0.1465, allocations: 404.4 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1468, allocations: 91.91 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1468, allocations: 4 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.147, allocations: 51.91 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1473, allocations: 13.41 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.1479, allocations: 242.3 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1483, allocations: 0.708 MB / 0.4954 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.846e-05/0.1484, allocations: 15.98 kB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1484, allocations: 15.42 kB / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1484, allocations: 3.938 kB / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of Templates: time 0.003852/0.1523, allocations: 1.295 MB / 0.4967 GB, free: 2.391 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches