Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001506/0.001506, allocations: 107 kB / 16.41 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.001547/0.001548, 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.537/1.537, 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.2387/0.2387, 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.002008/0.002008, allocations: 69.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1248, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002914/0.1277, allocations: 1.542 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006273/0.1284, allocations: 323.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1285, allocations: 4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1288, allocations: 87.73 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.129, allocations: 75.73 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1293, allocations: 79.78 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1294, allocations: 63.88 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1296, allocations: 27.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.1296, allocations: 35.84 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1297, allocations: 47.89 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1298, allocations: 4 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.1299, allocations: 31.92 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1299, allocations: 19.97 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.13, allocations: 27.75 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1302, allocations: 91.59 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1302, allocations: 3.938 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1302, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1302, allocations: 0 / 0.4898 GB, free: 9.816 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.0006125/0.1308, allocations: 414.8 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1309, allocations: 11.89 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1309, allocations: 34.75 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.131, allocations: 8.891 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1312, allocations: 208.8 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1312, allocations: 4.375 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1312, allocations: 384 / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1314, allocations: 49.62 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1314, allocations: 0 / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1314, allocations: 3.984 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1314, allocations: 4 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.1315, allocations: 23.92 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1319, allocations: 280.9 kB / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1322, allocations: 38.56 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.1322, allocations: 24.88 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1323, allocations: 4 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1323, allocations: 30.56 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1323, allocations: 0 / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005519/0.1329, allocations: 153.3 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1329, allocations: 51.41 kB / 0.4911 GB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1332, allocations: 224.3 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1332, allocations: 29.7 kB / 0.4913 GB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.1333, allocations: 108.1 kB / 0.4914 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1333, allocations: 11.91 kB / 0.4914 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1333, allocations: 17.72 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1335, allocations: 322.8 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.1336, allocations: 19.98 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.1336, allocations: 19.98 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1338, allocations: 44.83 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1338, allocations: 4 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.134, allocations: 89.77 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.134, allocations: 7.938 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.134, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.134, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.1341, allocations: 15.98 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1341, allocations: 8 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.1342, allocations: 3.938 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1342, allocations: 11.92 kB / 0.492 GB, free: 7.348 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.0001029/0.1343, allocations: 125.8 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1343, allocations: 7.953 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1346, allocations: 106.5 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1346, allocations: 0 / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1346, allocations: 8 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1346, allocations: 0 / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.135, allocations: 350.5 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.135, allocations: 3.984 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1351, allocations: 8 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1351, allocations: 3.938 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1351, allocations: 4.281 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1351, allocations: 3.938 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1351, allocations: 4 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1354, allocations: 175.5 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1354, allocations: 93 kB / 0.4928 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1355, allocations: 0 / 0.4928 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1355, allocations: 16.11 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1356, allocations: 4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1356, allocations: 8 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1358, allocations: 175.5 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1358, allocations: 3.938 kB / 0.493 GB, free: 6.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.136, allocations: 11.98 kB / 0.4931 GB, free: 6.148 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.001908/0.1379, allocations: 1.005 MB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1382, allocations: 43.97 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1382, allocations: 0 / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.1383, allocations: 32.05 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1387, allocations: 19.92 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1405, allocations: 1.584 MB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1409, allocations: 0.704 MB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.1409, allocations: 11.98 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.141, allocations: 31.42 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of SimCode: time 4.298e-06/0.141, allocations: 0 / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1662, allocations: 2.805 MB / 0.4991 GB, free: 15.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.907, allocations: 11.95 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_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_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches