Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.001093/0.001094, allocations: 102.4 kB / 16.4 MB, free: 6.465 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.001132/0.001132, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2228/0.2228, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.001825/0.001825, allocations: 73.47 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1296, allocations: 57.8 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003008/0.1327, allocations: 1.599 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005925/0.1333, allocations: 319.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1334, allocations: 4 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1339, allocations: 455.1 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1343, allocations: 243.5 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1346, allocations: 119.7 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1348, allocations: 155.7 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.1349, allocations: 12.19 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1351, allocations: 115.7 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1353, allocations: 207.6 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1353, allocations: 4 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1354, allocations: 35.97 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-05/0.1356, allocations: 75.69 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.1356, allocations: 103 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.136, allocations: 266.6 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.136, allocations: 0 / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.136, allocations: 0 / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.136, allocations: 3.984 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008201/0.1368, allocations: 0.6452 MB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1369, allocations: 11.89 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.1369, allocations: 34.75 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.137, allocations: 44.64 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1373, allocations: 304.6 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1374, allocations: 8.359 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1374, allocations: 12.06 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1376, allocations: 53.62 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1376, allocations: 0 / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1376, allocations: 4 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1376, allocations: 0 / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1377, allocations: 23.98 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1382, allocations: 388.6 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1384, allocations: 46.5 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1385, allocations: 16.94 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1385, allocations: 4 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1385, allocations: 34.56 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1386, allocations: 0 / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006809/0.1392, allocations: 232.7 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1393, allocations: 51.41 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.1402, allocations: 0.8691 MB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1402, allocations: 29.7 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1403, allocations: 216.1 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1404, allocations: 15.84 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.1404, allocations: 25.64 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1406, allocations: 358.8 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.1407, allocations: 19.98 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.1407, allocations: 23.98 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1409, allocations: 48.77 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1409, allocations: 4 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002548/0.1412, allocations: 113.4 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1412, allocations: 4 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1412, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1412, allocations: 4 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.1413, allocations: 15.98 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1413, allocations: 3.938 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1414, allocations: 7.984 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1414, allocations: 0 / 0.4946 GB, free: 4.676 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001934/0.1416, allocations: 213.7 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.1416, allocations: 47.67 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1419, allocations: 133 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1419, allocations: 11.94 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1419, allocations: 3.938 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.142, allocations: 0 / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1425, allocations: 462.8 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1425, allocations: 0 / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.1426, allocations: 11.98 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1426, allocations: 3.938 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1426, allocations: 8 kB / 0.4954 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1426, allocations: 4 kB / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1426, allocations: 0 / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1429, allocations: 211.2 kB / 0.4956 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.143, allocations: 108.8 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.143, allocations: 3.938 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.1431, allocations: 8.266 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1431, allocations: 15.94 kB / 0.4957 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1431, allocations: 0 / 0.4957 GB, free: 3.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006582/0.1438, allocations: 0.655 MB / 0.4964 GB, free: 2.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1438, allocations: 0 / 0.4964 GB, free: 2.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1441, allocations: 23.94 kB / 0.4964 GB, free: 2.672 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001323/0.1454, allocations: 1.055 MB / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1456, allocations: 47.91 kB / 0.4975 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1456, allocations: 0 / 0.4975 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.1457, allocations: 27.97 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1462, allocations: 25.91 kB / 0.4975 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.1502, allocations: 3.203 MB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.1506, allocations: 0.8182 MB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.1507, allocations: 11.97 kB / 0.5015 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1508, allocations: 107.4 kB / 0.5016 GB, free: 13.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.968e-06/0.1509, allocations: 0 / 0.5016 GB, free: 13.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1767, allocations: 5.973 MB / 0.5074 GB, free: 7.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/8.814, allocations: 3.906 kB / 0.5074 GB, free: 7.281 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches