Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001916/0.001916, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.387/1.387, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.2242/0.2242, allocations: 44.17 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.67 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1323, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.0039/0.1362, allocations: 1.921 MB / 471.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1379, allocations: 0.9043 MB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1381, allocations: 3.938 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.1386, allocations: 251.4 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1389, allocations: 171.5 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1404, allocations: 0.6081 MB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1408, allocations: 263.3 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1409, allocations: 52.59 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1411, allocations: 111.5 kB / 473.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1413, allocations: 187.4 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1414, allocations: 4 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1415, allocations: 43.98 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.1416, allocations: 91.66 kB / 473.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1417, allocations: 95.12 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.142, allocations: 187.7 kB / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.142, allocations: 0 / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.142, allocations: 3.938 kB / 474 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.142, allocations: 4 kB / 474 MB, free: 9.938 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007014/0.1427, allocations: 0.5952 MB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1428, allocations: 12.03 kB / 474.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.1428, allocations: 36.47 kB / 474.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1432, allocations: 302.3 kB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1432, allocations: 8.312 kB / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1432, allocations: 8.375 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1434, allocations: 101.7 kB / 475.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1435, allocations: 8 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1435, allocations: 7.938 kB / 475.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1435, allocations: 0 / 475.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1437, allocations: 67.95 kB / 475.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.1443, allocations: 448.4 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1445, allocations: 78.53 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.1445, allocations: 32.97 kB / 475.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1446, allocations: 0 / 475.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1446, allocations: 38.5 kB / 475.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.1446, allocations: 3.984 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003883/0.145, allocations: 145.3 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1451, allocations: 55.34 kB / 476 MB, free: 7.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.1456, allocations: 0.525 MB / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1456, allocations: 29.69 kB / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1458, allocations: 188.1 kB / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.1458, allocations: 23.7 kB / 476.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.1459, allocations: 13.72 kB / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.146, allocations: 350.8 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.1461, allocations: 27.98 kB / 477.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1462, allocations: 27.97 kB / 477.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1463, allocations: 68.77 kB / 477.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1464, allocations: 0 / 477.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002317/0.1466, allocations: 121.3 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1466, allocations: 4 kB / 477.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1466, allocations: 0 / 477.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1467, allocations: 4 kB / 477.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.1468, allocations: 11.94 kB / 477.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1468, allocations: 448 / 477.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.1468, allocations: 19.83 kB / 477.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1469, allocations: 0 / 477.4 MB, free: 6.395 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 (6): * Single equations (assignments): 6 * 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.0001691/0.147, allocations: 173.8 kB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1471, allocations: 35.53 kB / 477.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1474, allocations: 148.7 kB / 477.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1474, allocations: 3.938 kB / 477.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1474, allocations: 4 kB / 477.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1475, allocations: 4 kB / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.1478, allocations: 281.5 kB / 478 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1478, allocations: 0 / 478 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1478, allocations: 8 kB / 478 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1478, allocations: 0 / 478 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1479, allocations: 11.92 kB / 478 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1479, allocations: 3.938 kB / 478 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1479, allocations: 3.984 kB / 478 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1482, allocations: 227 kB / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.1483, allocations: 96.83 kB / 478.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1483, allocations: 0 / 478.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1484, allocations: 7.938 kB / 478.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1484, allocations: 7.984 kB / 478.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1484, allocations: 4 kB / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.1489, allocations: 391.1 kB / 478.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1489, allocations: 0 / 478.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1492, allocations: 39.83 kB / 478.8 MB, free: 4.875 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 (6): * Single equations (assignments): 6 * 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.001383/0.1505, allocations: 0.5907 MB / 479.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1508, allocations: 67.89 kB / 479.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1508, allocations: 0 / 479.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.1509, allocations: 31.98 kB / 479.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1514, allocations: 65.48 kB / 479.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1525, allocations: 0.6807 MB / 480.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1529, allocations: 0.7985 MB / 481 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.153, allocations: 27.42 kB / 481 MB, free: 2.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.153, allocations: 0 / 481 MB, free: 2.816 MB / 350.1 MB Notification: Performance of Templates: time 0.006909/0.1599, allocations: 3.721 MB / 484.8 MB, free: 15.1 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches