Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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.001542/0.001543, allocations: 109 kB / 16.41 MB, free: 6.5 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.001467/0.001468, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.569/1.569, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2342/0.2342, allocations: 43.52 MB / 314.1 MB, free: 456 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.00198/0.00198, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1308, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003284/0.1342, allocations: 1.647 MB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000701/0.1349, allocations: 355.4 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.135, allocations: 0 / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1352, allocations: 31.84 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1354, allocations: 35.78 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.1358, allocations: 127.6 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1359, allocations: 75.83 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1361, allocations: 12.23 kB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1361, allocations: 39.77 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.1362, allocations: 35.84 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1363, allocations: 4 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1364, allocations: 63.97 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1365, allocations: 15.92 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.1365, allocations: 31.8 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1368, allocations: 123.4 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1368, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1368, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1368, allocations: 0 / 0.4899 GB, free: 9.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007001/0.1375, allocations: 426.8 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1376, allocations: 15.89 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.1376, allocations: 34.75 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1376, allocations: 8.891 kB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1379, allocations: 203.6 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1379, allocations: 4.375 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1379, allocations: 8.359 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1382, allocations: 99.23 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1383, allocations: 4 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1383, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1383, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.1386, allocations: 71.91 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.139, allocations: 300.8 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.1393, allocations: 74.47 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1395, allocations: 44.94 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1395, allocations: 4 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1396, allocations: 30.56 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1396, allocations: 4 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001637/0.1412, allocations: 369.2 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.1413, allocations: 77.11 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1415, allocations: 153.7 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1415, allocations: 33.7 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.1416, allocations: 100.1 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1416, allocations: 23.75 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.1417, allocations: 29.7 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1418, allocations: 318.8 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.1421, allocations: 67.92 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.1424, allocations: 89.64 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.143, allocations: 144.9 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.143, allocations: 0 / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006388/0.1437, allocations: 185.5 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1437, allocations: 4 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1437, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1437, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1439, allocations: 43.83 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.144, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1441, allocations: 31.91 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1441, allocations: 4 kB / 0.4928 GB, free: 6.473 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 (8): * Single equations (assignments): 8 * 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.0001127/0.1443, allocations: 121.8 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1443, allocations: 15.91 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.145, allocations: 194.6 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.145, allocations: 0 / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.145, allocations: 4 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.145, allocations: 7.938 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.146, allocations: 470.3 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.146, allocations: 4 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1462, allocations: 31.95 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1462, allocations: 4 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1462, allocations: 7.938 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1462, allocations: 0 / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1463, allocations: 0 / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.1469, allocations: 287.3 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.147, allocations: 85.06 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.147, allocations: 7.938 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1472, allocations: 27.95 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1473, allocations: 7.984 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1473, allocations: 4 kB / 0.494 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1474, allocations: 118.7 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1474, allocations: 0 / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1477, allocations: 31.92 kB / 0.4942 GB, free: 4.965 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 (8): * Single equations (assignments): 8 * 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.002541/0.1503, allocations: 1.17 MB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.151, allocations: 151.8 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.151, allocations: 0 / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.1513, allocations: 83.86 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1518, allocations: 23.92 kB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.155, allocations: 1.763 MB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1554, allocations: 0.6963 MB / 0.498 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1556, allocations: 16.72 kB / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1557, allocations: 35.36 kB / 0.498 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1557, allocations: 0 / 0.498 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.182, allocations: 3.658 MB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.064, allocations: 8.062 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches