Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 100.9 kB / 16.4 MB, free: 5.996 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.001322/0.001322, allocations: 193.5 kB / 17.34 MB, free: 5.586 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.622/1.622, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2226/0.2226, allocations: 43.51 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.001769/0.001769, allocations: 73.44 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004697/0.1439, allocations: 1.973 MB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1459, allocations: 0.7564 MB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1462, allocations: 7.938 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.1468, allocations: 267.2 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.1475, allocations: 183.3 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1494, allocations: 0.5926 MB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.1501, allocations: 303.3 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.1504, allocations: 80.67 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.1507, allocations: 135.4 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.1511, allocations: 199.3 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1511, allocations: 12 kB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.1513, allocations: 71.95 kB / 0.4923 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1515, allocations: 107.6 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1517, allocations: 107.1 kB / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.1522, allocations: 306.8 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1522, allocations: 4 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1523, allocations: 0 / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1523, allocations: 3.938 kB / 0.4928 GB, free: 6.691 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009834/0.1533, allocations: 0.622 MB / 0.4934 GB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1533, allocations: 11.89 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1535, allocations: 40.38 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.1539, allocations: 322.2 kB / 0.4938 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1539, allocations: 8.375 kB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.1539, allocations: 12.38 kB / 0.4938 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.1542, allocations: 125.7 kB / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1543, allocations: 0 / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1543, allocations: 11.94 kB / 0.494 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1543, allocations: 0 / 0.494 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.1545, allocations: 91.92 kB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.1553, allocations: 496.4 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1556, allocations: 114.5 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.1557, allocations: 36.84 kB / 0.4947 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1557, allocations: 7.984 kB / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1557, allocations: 30.56 kB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1557, allocations: 4 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.1568, allocations: 446.3 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1569, allocations: 51.41 kB / 0.4952 GB, free: 4.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.1575, allocations: 0.525 MB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1575, allocations: 29.7 kB / 0.4957 GB, free: 3.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1577, allocations: 200.3 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.1578, allocations: 59.2 kB / 0.496 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.1579, allocations: 33.7 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.158, allocations: 350.8 kB / 0.4963 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1582, allocations: 59.97 kB / 0.4964 GB, free: 2.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1583, allocations: 63.95 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1586, allocations: 164.7 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1586, allocations: 7.938 kB / 0.4966 GB, free: 2.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003928/0.159, allocations: 222.7 kB / 0.4968 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.159, allocations: 8 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1591, allocations: 0 / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1591, allocations: 0 / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1593, allocations: 35.97 kB / 0.4969 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1593, allocations: 0 / 0.4969 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.1594, allocations: 11.91 kB / 0.4969 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1594, allocations: 4 kB / 0.4969 GB, free: 2.324 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 (17): * Single equations (assignments): 17 * 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.0001968/0.1596, allocations: 193.5 kB / 0.4971 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.1597, allocations: 35.53 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.1603, allocations: 275.6 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1603, allocations: 4 kB / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1603, allocations: 0 / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1603, allocations: 0 / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1614, allocations: 0.6699 MB / 0.498 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1614, allocations: 3.984 kB / 0.498 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1615, allocations: 31.92 kB / 0.4981 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.1615, allocations: 4 kB / 0.4981 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1616, allocations: 7.984 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1616, allocations: 4 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1616, allocations: 3.938 kB / 0.4981 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.1621, allocations: 330.7 kB / 0.4984 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.1622, allocations: 100.7 kB / 0.4985 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1622, allocations: 4 kB / 0.4985 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.1623, allocations: 11.98 kB / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.1624, allocations: 11.92 kB / 0.4985 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1624, allocations: 4 kB / 0.4985 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.1629, allocations: 403 kB / 0.4989 GB, free: 164 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 4 kB / 0.4989 GB, free: 160 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1632, allocations: 51.89 kB / 0.499 GB, free: 108 kB / 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 (17): * Single equations (assignments): 17 * 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.001598/0.1648, allocations: 0.6759 MB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.1652, allocations: 167.7 kB / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1652, allocations: 3.938 kB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1654, allocations: 95.89 kB / 0.4999 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.166, allocations: 77.3 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1673, allocations: 0.6861 MB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.1679, allocations: 0.8221 MB / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.168, allocations: 49.91 kB / 0.5015 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1681, allocations: 27.44 kB / 0.5015 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1681, allocations: 0 / 0.5015 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.008075/0.1762, allocations: 3.281 MB / 0.5047 GB, free: 10.2 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches