Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 102.6 kB / 16.27 MB, free: 5.934 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.001814/0.001814, allocations: 190.9 kB / 17.2 MB, free: 5.578 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.568/1.568, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2232/0.2232, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001482/0.001482, allocations: 73.06 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.003233/0.1272, allocations: 1.939 MB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1283, allocations: 0.6705 MB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1285, allocations: 0 / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.1289, allocations: 255.3 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1292, allocations: 199.3 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.1301, allocations: 444.5 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1303, allocations: 275.3 kB / 444.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1305, allocations: 64.69 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1306, allocations: 131.6 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1308, allocations: 191.3 kB / 444.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.1309, allocations: 12 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.131, allocations: 67.97 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1311, allocations: 83.69 kB / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1312, allocations: 123 kB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1315, allocations: 299 kB / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1316, allocations: 3.938 kB / 445.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1316, allocations: 0 / 445.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1316, allocations: 0 / 445.3 MB, free: 2.066 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.0006445/0.1322, allocations: 0.6496 MB / 446 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1323, allocations: 11.89 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1323, allocations: 42.73 kB / 446 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.1324, allocations: 40.47 kB / 446.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1327, allocations: 322.1 kB / 446.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1327, allocations: 8.375 kB / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.1327, allocations: 12.38 kB / 446.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.133, allocations: 110.4 kB / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.133, allocations: 8 kB / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.133, allocations: 0 / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.133, allocations: 4 kB / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1332, allocations: 71.89 kB / 446.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.1337, allocations: 492.3 kB / 447.1 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1339, allocations: 94.47 kB / 447.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1339, allocations: 36.84 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.134, allocations: 7.984 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.134, allocations: 38.44 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.134, allocations: 0 / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000965/0.135, allocations: 381.2 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1351, allocations: 51.62 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.1358, allocations: 0.5447 MB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1359, allocations: 33.64 kB / 448.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.136, allocations: 204.4 kB / 448.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.1361, allocations: 59.08 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.1362, allocations: 41.66 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1364, allocations: 354.8 kB / 448.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1365, allocations: 43.98 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1366, allocations: 51.97 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1368, allocations: 127.5 kB / 449.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1368, allocations: 0 / 449.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003383/0.1372, allocations: 193.1 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1372, allocations: 8 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1372, allocations: 0 / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1372, allocations: 0 / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1374, allocations: 43.95 kB / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1374, allocations: 0 / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.1375, allocations: 4 kB / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1375, allocations: 4 kB / 449.4 MB, free: 13.8 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.0001839/0.1377, allocations: 197.5 kB / 449.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.1378, allocations: 39.44 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.1383, allocations: 236.4 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1383, allocations: 0 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1383, allocations: 0 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1383, allocations: 0 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.1391, allocations: 0.627 MB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.1391, allocations: 0 / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1392, allocations: 35.92 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.1392, allocations: 0 / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1393, allocations: 4 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.1393, allocations: 7.938 kB / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1393, allocations: 4 kB / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.1397, allocations: 298 kB / 450.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.1398, allocations: 120.5 kB / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1399, allocations: 4 kB / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.14, allocations: 11.94 kB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.14, allocations: 7.984 kB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.14, allocations: 15.98 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.1405, allocations: 407.1 kB / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1405, allocations: 0 / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1409, allocations: 47.98 kB / 451.4 MB, free: 11.67 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.00242/0.1433, allocations: 1.416 MB / 452.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1436, allocations: 143.8 kB / 453 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1436, allocations: 0 / 453 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1438, allocations: 76.12 kB / 453 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.1444, allocations: 79.34 kB / 453.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.1486, allocations: 3.062 MB / 456.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.1492, allocations: 0.8064 MB / 457 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.1494, allocations: 49.91 kB / 457 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.1496, allocations: 119.4 kB / 457.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1496, allocations: 0 / 457.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.1785, allocations: 7.11 MB / 464.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.6, allocations: 7.984 kB / 464.3 MB, free: 14.71 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches