Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.001358/0.001358, allocations: 101.1 kB / 16.4 MB, free: 6.469 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.001312/0.001312, allocations: 192.2 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.651/1.651, 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.2386/0.2386, allocations: 43.53 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.00203/0.00203, allocations: 73.59 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003052/0.1241, allocations: 1.565 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006396/0.1248, allocations: 307.6 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.1249, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.1255, allocations: 451.2 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1259, allocations: 255.4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1262, allocations: 107.8 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1264, allocations: 159.6 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.1265, allocations: 8 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1266, allocations: 103.8 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.1269, allocations: 203.6 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1269, allocations: 8 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/0.127, allocations: 23.92 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1271, allocations: 83.69 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.1272, allocations: 99.05 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.1276, allocations: 246.7 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1276, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1276, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1276, allocations: 0 / 0.4909 GB, free: 8.68 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.0008968/0.1285, allocations: 0.6336 MB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1286, allocations: 15.89 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.1286, allocations: 38.73 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1287, allocations: 44.66 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.129, allocations: 304.5 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1291, allocations: 384 / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1291, allocations: 8.312 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1292, allocations: 45.62 kB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1292, allocations: 0 / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1293, allocations: 8 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1293, allocations: 0 / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.1294, allocations: 23.98 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.1299, allocations: 376.7 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.13, allocations: 26.58 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.13, allocations: 16.91 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1301, allocations: 0 / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1301, allocations: 38.56 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1301, allocations: 0 / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002835/0.1304, allocations: 101.3 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1305, allocations: 51.41 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.1314, allocations: 0.8652 MB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1314, allocations: 25.7 kB / 0.4935 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1316, allocations: 216.2 kB / 0.4937 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1316, allocations: 15.89 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1317, allocations: 13.72 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1319, allocations: 370.7 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.1319, allocations: 4 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.132, allocations: 11.98 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.132, allocations: 24.84 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1321, allocations: 4.062 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000156/0.1322, allocations: 97.33 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1322, allocations: 4 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1323, allocations: 4 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1323, allocations: 0 / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.1324, allocations: 8 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1324, allocations: 0 / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1324, allocations: 3.984 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1324, allocations: 0 / 0.4942 GB, free: 5.074 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 (2): * Single equations (assignments): 2 * 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.0001997/0.1327, allocations: 217.7 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1327, allocations: 43.72 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1329, allocations: 104.6 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1329, allocations: 0 / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1329, allocations: 7.938 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.133, allocations: 3.984 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1332, allocations: 277.5 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1333, allocations: 0 / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1333, allocations: 12.02 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1333, allocations: 0 / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1333, allocations: 0 / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1333, allocations: 4 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1333, allocations: 0 / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1335, allocations: 187.2 kB / 0.495 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.1336, allocations: 112.8 kB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1337, allocations: 4.031 kB / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1337, allocations: 4 kB / 0.4951 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1338, allocations: 3.984 kB / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1338, allocations: 0 / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006426/0.1344, allocations: 0.6589 MB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1344, allocations: 0 / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1347, allocations: 15.94 kB / 0.4958 GB, free: 3.34 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 (2): * Single equations (assignments): 2 * 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.001674/0.1364, allocations: 0.9704 MB / 0.4967 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1365, allocations: 31.91 kB / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1365, allocations: 0 / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.1366, allocations: 15.88 kB / 0.4968 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.137, allocations: 29.95 kB / 0.4968 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.1404, allocations: 3.119 MB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1409, allocations: 0.8143 MB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.141, allocations: 16 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1411, allocations: 111.4 kB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1411, allocations: 0 / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.1701, allocations: 5.685 MB / 0.5063 GB, free: 8.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.519, allocations: 4 kB / 0.5063 GB, free: 8.426 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_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_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches