Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 111 kB / 16.41 MB, free: 6.496 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.001334/0.001334, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.686/1.686, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2526/0.2526, allocations: 43.53 MB / 314.1 MB, free: 464 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.001329/0.001329, allocations: 63.89 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003865/0.1449, allocations: 1.616 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000797/0.1457, allocations: 339.5 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.1458, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.146, allocations: 55.81 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1462, allocations: 51.77 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1467, allocations: 155.6 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1468, allocations: 71.83 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.1469, allocations: 27.95 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.1469, allocations: 23.92 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.1471, allocations: 43.83 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1471, allocations: 4 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1472, allocations: 35.92 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.1472, allocations: 23.92 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1473, allocations: 27.81 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1475, allocations: 91.58 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1475, allocations: 0 / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1475, allocations: 4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1475, allocations: 0 / 0.4904 GB, free: 9.238 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.0004489/0.1479, allocations: 394.9 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.148, allocations: 15.89 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.148, allocations: 16.78 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1482, allocations: 195.7 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.1482, allocations: 384 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1483, allocations: 12.33 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1485, allocations: 65.78 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1485, allocations: 0 / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1485, allocations: 0 / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.1485, allocations: 4 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1487, allocations: 35.91 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1492, allocations: 308.8 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1493, allocations: 42.55 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.1494, allocations: 36.92 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1495, allocations: 0 / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1495, allocations: 38.56 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.1495, allocations: 0 / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000895/0.1504, allocations: 229.2 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1505, allocations: 55.42 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1506, allocations: 173.8 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1507, allocations: 25.7 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1508, allocations: 104.1 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1508, allocations: 31.69 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1509, allocations: 17.72 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.151, allocations: 322.8 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1512, allocations: 35.97 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1514, allocations: 43.95 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1517, allocations: 84.8 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1517, allocations: 0 / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003825/0.1521, allocations: 121.6 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1521, allocations: 7.938 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1521, allocations: 3.984 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1521, allocations: 0 / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1523, allocations: 19.98 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1523, allocations: 3.938 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.1524, allocations: 7.984 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1524, allocations: 8 kB / 0.4927 GB, free: 6.605 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.000111/0.1525, allocations: 129.7 kB / 0.4929 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.1526, allocations: 7.953 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.153, allocations: 146.2 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.153, allocations: 4 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1531, allocations: 3.938 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1531, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.1538, allocations: 410.5 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1538, allocations: 0 / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1539, allocations: 15.98 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.1539, allocations: 15.86 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1539, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1539, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.154, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.1544, allocations: 219.9 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1545, allocations: 89 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1545, allocations: 4 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1546, allocations: 7.984 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1547, allocations: 4 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1547, allocations: 8 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1548, allocations: 128 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1548, allocations: 4 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.1552, allocations: 16 kB / 0.4939 GB, free: 5.309 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.001195/0.1564, allocations: 404.5 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00037/0.1568, allocations: 95.91 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1568, allocations: 0 / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.157, allocations: 55.89 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1574, allocations: 23.95 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1579, allocations: 233.7 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1583, allocations: 0.7041 MB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.1584, allocations: 15.98 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1584, allocations: 19.42 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1584, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.004568/0.163, allocations: 1.292 MB / 0.4967 GB, free: 2.465 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches