Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001437, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001575/0.001574, allocations: 192 kB / 18.56 MB, free: 4.434 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.363/1.363, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2078/0.2078, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 68.61 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004221/0.1324, allocations: 1.954 MB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1341, allocations: 0.8533 MB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1343, allocations: 3.938 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.1349, allocations: 255.2 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.1354, allocations: 195.3 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1366, allocations: 488.2 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.137, allocations: 275.4 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1372, allocations: 68.55 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1374, allocations: 131.5 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1376, allocations: 195.3 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.1377, allocations: 8 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1379, allocations: 99.95 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1381, allocations: 91.67 kB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1382, allocations: 103.1 kB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.1386, allocations: 307.1 kB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1386, allocations: 0 / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1387, allocations: 4 kB / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1387, allocations: 0 / 474.2 MB, free: 9.352 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008722/0.1395, allocations: 0.6147 MB / 474.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1396, allocations: 12.03 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.1397, allocations: 36.47 kB / 474.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.14, allocations: 310.2 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1401, allocations: 8.375 kB / 475.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.1401, allocations: 12.38 kB / 475.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1404, allocations: 113.7 kB / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1404, allocations: 0 / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1404, allocations: 4 kB / 475.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1404, allocations: 0 / 475.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1406, allocations: 75.89 kB / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.1413, allocations: 480.3 kB / 475.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1415, allocations: 90.48 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.1415, allocations: 36.84 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1416, allocations: 0 / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1416, allocations: 34.56 kB / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1416, allocations: 0 / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001067/0.1427, allocations: 380.1 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1427, allocations: 55.39 kB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.1433, allocations: 0.5171 MB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1434, allocations: 29.7 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1435, allocations: 188.4 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.1436, allocations: 55.17 kB / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.1436, allocations: 37.7 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1438, allocations: 350.8 kB / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.144, allocations: 51.91 kB / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.972e-05/0.1441, allocations: 47.97 kB / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1443, allocations: 120.7 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1443, allocations: 7.938 kB / 477.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003342/0.1446, allocations: 195.5 kB / 478 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1447, allocations: 4 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1447, allocations: 0 / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.1447, allocations: 0 / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1449, allocations: 39.86 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1449, allocations: 0 / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.145, allocations: 15.92 kB / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.145, allocations: 4 kB / 478.1 MB, free: 5.258 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 (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.0001546/0.1451, allocations: 177.8 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1452, allocations: 35.53 kB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.1456, allocations: 233.3 kB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1457, allocations: 4 kB / 478.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1457, allocations: 3.938 kB / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1457, allocations: 0 / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.1464, allocations: 0.6177 MB / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1464, allocations: 0 / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1466, allocations: 31.98 kB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1466, allocations: 3.984 kB / 479.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1467, allocations: 8 kB / 479.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1467, allocations: 4 kB / 479.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1467, allocations: 7.875 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1472, allocations: 283 kB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1473, allocations: 108.6 kB / 479.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1473, allocations: 4 kB / 479.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.1474, allocations: 11.98 kB / 479.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.1475, allocations: 19.92 kB / 479.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1475, allocations: 4 kB / 479.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000527/0.148, allocations: 387.1 kB / 480 MB, free: 3.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1481, allocations: 0 / 480 MB, free: 3.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1484, allocations: 47.98 kB / 480.1 MB, free: 3.184 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 (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.001813/0.1502, allocations: 0.6942 MB / 480.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.1507, allocations: 138.7 kB / 480.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1507, allocations: 0 / 480.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1508, allocations: 83.8 kB / 481 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.1515, allocations: 67.78 kB / 481 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1526, allocations: 0.6665 MB / 481.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.153, allocations: 0.8022 MB / 482.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1531, allocations: 49.89 kB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.1532, allocations: 23.44 kB / 482.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1532, allocations: 0 / 482.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Templates: time 0.007258/0.1604, allocations: 3.143 MB / 485.7 MB, free: 13.81 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches