Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001468/0.001468, allocations: 101.5 kB / 16.4 MB, free: 6.406 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.001363/0.001363, allocations: 193.3 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.593/1.593, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.2271/0.2271, allocations: 43.53 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.002326/0.002327, allocations: 74.02 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1258, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003389/0.1292, allocations: 1.557 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007231/0.13, allocations: 315.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.1301, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.1305, allocations: 127.7 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.1307, allocations: 83.77 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.131, allocations: 79.72 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1312, allocations: 79.86 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1313, allocations: 11.98 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.1314, allocations: 51.75 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1315, allocations: 75.84 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1316, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.1317, allocations: 39.88 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.1317, allocations: 19.92 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.1318, allocations: 43.72 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.132, allocations: 95.53 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.132, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.132, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.132, allocations: 0 / 0.4899 GB, free: 9.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005702/0.1326, allocations: 422.6 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1326, allocations: 11.89 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1327, allocations: 42.67 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1327, allocations: 12.84 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.133, allocations: 212 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.133, allocations: 384 / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.133, allocations: 12.36 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1331, allocations: 45.62 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1332, allocations: 7.984 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1332, allocations: 0 / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1332, allocations: 0 / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.1333, allocations: 19.98 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1337, allocations: 292.8 kB / 0.4909 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1339, allocations: 46.56 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1339, allocations: 12.94 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.134, allocations: 0 / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.134, allocations: 34.56 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.134, allocations: 4 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005478/0.1346, allocations: 149.3 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1346, allocations: 59.41 kB / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1349, allocations: 266.2 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1349, allocations: 25.7 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.135, allocations: 112.1 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.135, allocations: 19.89 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1351, allocations: 17.72 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1352, allocations: 330.8 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1353, allocations: 19.92 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.1354, allocations: 20.17 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1355, allocations: 44.84 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1355, allocations: 4 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1357, allocations: 85.58 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1357, allocations: 7.984 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1358, allocations: 3.938 kB / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1358, allocations: 4 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1358, allocations: 11.94 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1359, allocations: 3.984 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.1359, allocations: 11.92 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1359, allocations: 3.938 kB / 0.4922 GB, free: 7.133 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.0001134/0.1361, allocations: 141.8 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1361, allocations: 15.91 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1363, allocations: 90.66 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1364, allocations: 4 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1364, allocations: 0 / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1364, allocations: 0 / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.1368, allocations: 362.4 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1369, allocations: 3.984 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.1369, allocations: 8.188 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1369, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1369, allocations: 8 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.137, allocations: 3.938 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.137, allocations: 0 / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1372, allocations: 187.4 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1373, allocations: 89.02 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1373, allocations: 0 / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1374, allocations: 15.92 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1374, allocations: 4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1374, allocations: 0 / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.1376, allocations: 199.2 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1376, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1379, allocations: 23.92 kB / 0.4933 GB, free: 5.891 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.001904/0.1398, allocations: 1.013 MB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.14, allocations: 47.97 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.14, allocations: 0 / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.1401, allocations: 23.98 kB / 0.4943 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1404, allocations: 23.86 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1424, allocations: 1.7 MB / 0.496 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1427, allocations: 0.7119 MB / 0.4967 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.1428, allocations: 8 kB / 0.4967 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.1428, allocations: 35.42 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1429, allocations: 0 / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1665, allocations: 3.013 MB / 0.4997 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.939, allocations: 4.391 kB / 0.4997 GB, free: 15.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches