Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001281/0.001281, allocations: 106.9 kB / 16.41 MB, free: 6.402 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.001369/0.001369, allocations: 192.4 kB / 17.34 MB, free: 5.691 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.57/1.57, 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.2456/0.2456, allocations: 43.52 MB / 314.1 MB, free: 448 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.001584/0.001584, allocations: 69.62 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1236, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003805/0.1274, allocations: 1.616 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000733/0.1282, allocations: 355.5 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1283, allocations: 4 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.1289, allocations: 451.1 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1293, allocations: 255.4 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1298, allocations: 151.7 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.1301, allocations: 167.6 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1302, allocations: 31.97 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1304, allocations: 107.8 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1307, allocations: 211.6 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.1307, allocations: 7.938 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1309, allocations: 28 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.131, allocations: 91.61 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.1311, allocations: 107 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1315, allocations: 262.6 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1315, allocations: 4 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1315, allocations: 0 / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1315, allocations: 0 / 0.4911 GB, free: 8.449 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.0008802/0.1324, allocations: 0.6568 MB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1324, allocations: 15.89 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.602e-05/0.1325, allocations: 38.69 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.1326, allocations: 44.66 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.133, allocations: 304.6 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.133, allocations: 4.312 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.133, allocations: 8.375 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1332, allocations: 65.59 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1332, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1332, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1333, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1334, allocations: 43.91 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1341, allocations: 404.7 kB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1342, allocations: 50.55 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.1343, allocations: 24.94 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1344, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1344, allocations: 30.56 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1344, allocations: 7.938 kB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009977/0.1354, allocations: 308.6 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1355, allocations: 55.42 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.1365, allocations: 0.8652 MB / 0.494 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1365, allocations: 29.7 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1367, allocations: 220 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1368, allocations: 23.78 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.1369, allocations: 21.72 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1371, allocations: 366.7 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1372, allocations: 31.97 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1373, allocations: 43.97 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1376, allocations: 84.8 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1376, allocations: 0 / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003652/0.1379, allocations: 161.3 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.138, allocations: 8 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.138, allocations: 0 / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.138, allocations: 0 / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1382, allocations: 19.98 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1382, allocations: 320 / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1383, allocations: 15.92 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1383, allocations: 0 / 0.4949 GB, free: 4.301 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 0.0002073/0.1385, allocations: 217.7 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.1386, allocations: 51.67 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.139, allocations: 185.3 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.139, allocations: 7.938 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.139, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1391, allocations: 4.219 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.1398, allocations: 0.5102 MB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1398, allocations: 0 / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.1399, allocations: 23.92 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1399, allocations: 0 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1399, allocations: 11.92 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1399, allocations: 0 / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1399, allocations: 0 / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1403, allocations: 251.2 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.1404, allocations: 116.8 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1404, allocations: 7.938 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.1405, allocations: 8 kB / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1406, allocations: 3.984 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1406, allocations: 4 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.1413, allocations: 0.655 MB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1413, allocations: 0 / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1415, allocations: 27.95 kB / 0.497 GB, free: 2.125 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.001618/0.1432, allocations: 1.108 MB / 0.498 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1435, allocations: 83.94 kB / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1435, allocations: 0 / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1437, allocations: 51.89 kB / 0.4982 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.1442, allocations: 21.97 kB / 0.4982 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.1488, allocations: 3.339 MB / 0.5014 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.1493, allocations: 0.8298 MB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.827e-05/0.1494, allocations: 28.62 kB / 0.5023 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1495, allocations: 115.4 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1496, allocations: 96 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.1768, allocations: 6.177 MB / 0.5084 GB, free: 6.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.508, allocations: 19.89 kB / 0.5084 GB, free: 6.234 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_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_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches