Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 93.42 kB / 17.35 MB, free: 6.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.0009609/0.0009615, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.453/1.453, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.206/0.206, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002495/0.1344, allocations: 1.333 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1358, allocations: 0.6644 MB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.1359, allocations: 0 / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1362, allocations: 35.89 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1364, allocations: 31.91 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.1364, allocations: 0 / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1366, allocations: 51.81 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1367, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.1367, allocations: 11.92 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.1368, allocations: 23.92 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1368, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.1369, allocations: 15.92 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.1369, allocations: 12 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.137, allocations: 53.5 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1371, allocations: 60.02 kB / 474.5 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1372, allocations: 0 / 474.5 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1372, allocations: 0 / 474.5 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1372, allocations: 4 kB / 474.5 MB, free: 11 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000398/0.1376, allocations: 357.6 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1376, allocations: 12.03 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.1377, allocations: 8.844 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1379, allocations: 172.2 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1379, allocations: 4.375 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1379, allocations: 4.375 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1381, allocations: 119.3 kB / 475.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1381, allocations: 4.188 kB / 475.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1382, allocations: 7.938 kB / 475.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.1382, allocations: 27.92 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.1383, allocations: 39.91 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.1391, allocations: 0.8945 MB / 476.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.1392, allocations: 169.1 kB / 476.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.1392, allocations: 80.14 kB / 476.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1393, allocations: 83.22 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.1393, allocations: 109.9 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.1393, allocations: 0 / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.876e-05/0.1394, allocations: 33.61 kB / 476.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1395, allocations: 126.7 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1397, allocations: 186.1 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1397, allocations: 29.64 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1398, allocations: 151.1 kB / 477.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.1399, allocations: 4 kB / 477.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1399, allocations: 25.7 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.14, allocations: 318.8 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.1401, allocations: 31.97 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1402, allocations: 153.1 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1405, allocations: 204.9 kB / 477.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1405, allocations: 0 / 477.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003434/0.1408, allocations: 205.5 kB / 478.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.1409, allocations: 8 kB / 478.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.238e-05/0.1409, allocations: 7.984 kB / 478.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.141, allocations: 8 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1411, allocations: 39.91 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1412, allocations: 4 kB / 478.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1413, allocations: 27.69 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1413, allocations: 12 kB / 478.2 MB, free: 6.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001403/0.1414, allocations: 218 kB / 478.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.1415, allocations: 116.8 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.1416, allocations: 120.8 kB / 478.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/0.1417, allocations: 184.2 kB / 478.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/0.1417, allocations: 176.3 kB / 479 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/0.1418, allocations: 176.3 kB / 479.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1421, allocations: 429.1 kB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/0.1421, allocations: 104.9 kB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1422, allocations: 108.9 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.725e-05/0.1422, allocations: 180.3 kB / 479.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.1423, allocations: 180.2 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-05/0.1423, allocations: 188.2 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.549e-05/0.1424, allocations: 180.3 kB / 480.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1425, allocations: 307.7 kB / 480.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.1426, allocations: 197.9 kB / 481 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.1427, allocations: 176.3 kB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1428, allocations: 109 kB / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.1429, allocations: 180.2 kB / 481.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.1429, allocations: 113 kB / 481.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.143, allocations: 131.2 kB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1433, allocations: 16 kB / 481.7 MB, free: 3.258 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 (0): * Single equations (assignments): 0 * 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.0005004/0.1438, allocations: 287.2 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.144, allocations: 71.78 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.144, allocations: 0 / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.144, allocations: 1.25 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1444, allocations: 0.5379 MB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.1447, allocations: 254.9 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.145, allocations: 0.7048 MB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1452, allocations: 45.02 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.1452, allocations: 19.44 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1452, allocations: 0 / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of Templates: time 0.002972/0.1482, allocations: 0.6467 MB / 484.2 MB, free: 0.6953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches