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.001526/0.001527, allocations: 108.9 kB / 16.64 MB, free: 6.816 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.00168/0.001681, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.429/1.429, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2067/0.2067, allocations: 43.52 MB / 314.3 MB, free: 0.6992 MB / 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.001546/0.001546, allocations: 63.66 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004604/0.1267, allocations: 2.009 MB / 442.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1284, allocations: 0.7603 MB / 443.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1287, allocations: 0 / 443.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.1293, allocations: 235.4 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.13, allocations: 179.5 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.1319, allocations: 0.5757 MB / 444.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005396/0.1324, allocations: 295.3 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.1327, allocations: 76.7 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.133, allocations: 135.4 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1333, allocations: 203.4 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.1334, allocations: 12 kB / 445.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.1336, allocations: 75.84 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1338, allocations: 95.67 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.134, allocations: 115 kB / 445.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.1344, allocations: 227.6 kB / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1344, allocations: 0 / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1344, allocations: 0 / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1345, allocations: 0 / 445.6 MB, free: 2.387 MB / 318.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.0009084/0.1354, allocations: 0.6295 MB / 446.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1354, allocations: 15.89 kB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1355, allocations: 40.38 kB / 446.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1359, allocations: 318.2 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.136, allocations: 12.36 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.136, allocations: 8.375 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1364, allocations: 130.6 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.1364, allocations: 0 / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.1364, allocations: 0 / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1365, allocations: 4 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.1367, allocations: 99.92 kB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.1376, allocations: 496.3 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1378, allocations: 118.5 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.138, allocations: 32.84 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.138, allocations: 11.98 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.138, allocations: 30.56 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.138, allocations: 0 / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001315/0.1394, allocations: 436.5 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1394, allocations: 59.34 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.1403, allocations: 0.525 MB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1403, allocations: 29.7 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1405, allocations: 196.3 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.1406, allocations: 59.17 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.1407, allocations: 33.72 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1409, allocations: 350.8 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1411, allocations: 63.95 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1413, allocations: 70.77 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.1417, allocations: 156.7 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1417, allocations: 3.938 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005566/0.1423, allocations: 225.1 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1423, allocations: 11.12 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1424, allocations: 3.938 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1424, allocations: 4 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1426, allocations: 35.97 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1426, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1427, allocations: 7.906 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1428, allocations: 8 kB / 449.8 MB, free: 14 MB / 334.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.0002341/0.143, allocations: 189.5 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1431, allocations: 39.47 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.1438, allocations: 273.3 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1439, allocations: 0 / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1439, allocations: 4 kB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1439, allocations: 0 / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.1451, allocations: 0.666 MB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1452, allocations: 4 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1453, allocations: 31.92 kB / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1453, allocations: 4 kB / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1454, allocations: 0 / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1454, allocations: 0 / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1454, allocations: 3.938 kB / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.146, allocations: 337.9 kB / 451.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.1461, allocations: 100.7 kB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.1462, allocations: 4 kB / 451.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1464, allocations: 4 kB / 451.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.1465, allocations: 23.81 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1465, allocations: 7.984 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006/0.1471, allocations: 395.1 kB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.1471, allocations: 0 / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.1477, allocations: 59.92 kB / 451.9 MB, free: 11.78 MB / 334.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.00263/0.1503, allocations: 0.6887 MB / 452.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.1509, allocations: 171.8 kB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1509, allocations: 0 / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.1512, allocations: 95.88 kB / 452.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.152, allocations: 79.41 kB / 452.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.1537, allocations: 0.7939 MB / 453.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.1543, allocations: 0.8065 MB / 454.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1544, allocations: 35.42 kB / 454.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1544, allocations: 0 / 454.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of Templates: time 0.008999/0.1634, allocations: 4.528 MB / 459.1 MB, free: 4.59 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches