Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001525/0.001525, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001484/0.001485, allocations: 189.5 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.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2316/0.2316, allocations: 43.53 MB / 314.1 MB, free: 440 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.002877/0.002877, allocations: 69.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.125, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003664/0.1287, allocations: 1.558 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.1294, allocations: 343.3 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.1295, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1297, allocations: 23.86 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1299, allocations: 43.78 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1302, allocations: 71.83 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1303, allocations: 67.77 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1304, allocations: 20.17 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.1305, allocations: 19.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.1306, allocations: 27.84 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1306, allocations: 4 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1307, allocations: 55.97 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1308, allocations: 11.98 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.1309, allocations: 19.81 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1311, allocations: 107.5 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1311, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1311, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1311, allocations: 4 kB / 0.4897 GB, free: 9.883 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.0005324/0.1317, allocations: 383 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1317, allocations: 15.89 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.1318, allocations: 30.75 kB / 0.4901 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1318, allocations: 16.88 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1321, allocations: 192.2 kB / 0.4903 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1321, allocations: 4.312 kB / 0.4903 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1321, allocations: 12.12 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1323, allocations: 67.39 kB / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1323, allocations: 0 / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1323, allocations: 4 kB / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1324, allocations: 4 kB / 0.4904 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1325, allocations: 31.97 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1329, allocations: 304.8 kB / 0.4907 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1331, allocations: 54.55 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.1331, allocations: 24.97 kB / 0.4908 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1332, allocations: 0 / 0.4908 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1332, allocations: 34.56 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1332, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006362/0.1339, allocations: 173.4 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.134, allocations: 77.11 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1341, allocations: 145.5 kB / 0.4912 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1341, allocations: 25.7 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.1342, allocations: 92.14 kB / 0.4913 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1342, allocations: 27.8 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.1343, allocations: 21.72 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1344, allocations: 326.7 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1345, allocations: 23.98 kB / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.1346, allocations: 41.7 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1348, allocations: 64.81 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1348, allocations: 32 / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002111/0.135, allocations: 89.62 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.135, allocations: 8 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.135, allocations: 384 / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1351, allocations: 0 / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1352, allocations: 19.92 kB / 0.4919 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.1352, allocations: 4 kB / 0.4919 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1352, allocations: 15.86 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1353, allocations: 4 kB / 0.492 GB, free: 7.344 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 (7): * Single equations (assignments): 7 * 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 9.157e-05/0.1354, allocations: 121.8 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1354, allocations: 7.953 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1357, allocations: 106.3 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1357, allocations: 0 / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1357, allocations: 0 / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1357, allocations: 3.938 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1362, allocations: 378.5 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1362, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.1363, allocations: 15.98 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1363, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1363, allocations: 11.94 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1363, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1363, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1366, allocations: 195.4 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1366, allocations: 85.06 kB / 0.4928 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1367, allocations: 7.938 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1367, allocations: 7.984 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1368, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1368, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.1369, allocations: 115.2 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1369, allocations: 0 / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1372, allocations: 23.94 kB / 0.493 GB, free: 6.172 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 (7): * Single equations (assignments): 7 * 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.002022/0.1392, allocations: 1.065 MB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1395, allocations: 67.89 kB / 0.4941 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1395, allocations: 0 / 0.4941 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.1396, allocations: 31.92 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1399, allocations: 19.89 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1416, allocations: 1.453 MB / 0.4956 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1419, allocations: 0.6962 MB / 0.4962 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.508e-05/0.142, allocations: 15.98 kB / 0.4963 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.1421, allocations: 27.42 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1421, allocations: 0 / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1667, allocations: 2.944 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.916, allocations: 11.88 kB / 0.4992 GB, free: 15.69 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches