Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001273/0.001273, allocations: 100 kB / 17.63 MB, free: 5.523 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.001305/0.001305, allocations: 192.1 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.17 MB / 336.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.27 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002811/0.1183, allocations: 1.639 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.119, allocations: 427.1 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.1191, allocations: 4 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.1193, allocations: 55.8 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1196, allocations: 55.75 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1199, allocations: 130.8 kB / 471.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1201, allocations: 67.83 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1202, allocations: 23.98 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.1202, allocations: 31.84 kB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1204, allocations: 47.83 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1204, allocations: 11.88 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1205, allocations: 47.98 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.1206, allocations: 23.97 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1206, allocations: 35.73 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1208, allocations: 107.9 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1208, allocations: 4 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1208, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1208, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005595/0.1214, allocations: 407.1 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1215, allocations: 8.031 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.1215, allocations: 38.67 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1215, allocations: 20.84 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1218, allocations: 201.7 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1218, allocations: 4.375 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1218, allocations: 384 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.122, allocations: 69.59 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.122, allocations: 0 / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.122, allocations: 4 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.122, allocations: 0 / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.1223, allocations: 43.91 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1227, allocations: 304.7 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.123, allocations: 58.58 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.1231, allocations: 32.97 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1231, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.1232, allocations: 34.56 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1232, allocations: 0 / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001376/0.1245, allocations: 388.8 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1246, allocations: 55.41 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1248, allocations: 193.8 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1248, allocations: 25.7 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.1248, allocations: 100.1 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1249, allocations: 43.39 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.1249, allocations: 25.66 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.125, allocations: 322.8 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1252, allocations: 51.91 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1253, allocations: 39.97 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.1255, allocations: 100.8 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1255, allocations: 0 / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000291/0.1258, allocations: 142.4 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1259, allocations: 4 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1259, allocations: 0 / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1259, allocations: 3.938 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.126, allocations: 27.92 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.126, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.1261, allocations: 19.98 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1261, allocations: 4 kB / 474.8 MB, free: 8.648 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001005/0.1262, allocations: 129.8 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1263, allocations: 11.81 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1266, allocations: 162.3 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1267, allocations: 3.938 kB / 475.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1267, allocations: 4 kB / 475.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1267, allocations: 4 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.1273, allocations: 471.9 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1273, allocations: 4 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.1274, allocations: 32.03 kB / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1274, allocations: 0 / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1274, allocations: 0 / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1275, allocations: 4 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1275, allocations: 0 / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1278, allocations: 252.9 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1279, allocations: 89 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1279, allocations: 8 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.128, allocations: 7.984 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1281, allocations: 15.98 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1281, allocations: 0 / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1282, allocations: 143.2 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1282, allocations: 4 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1285, allocations: 27.94 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001523/0.13, allocations: 1.139 MB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1303, allocations: 115.9 kB / 477.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1303, allocations: 0 / 477.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1305, allocations: 55.91 kB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1309, allocations: 18.94 kB / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1328, allocations: 1.782 MB / 479.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1331, allocations: 0.704 MB / 479.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.1331, allocations: 28.53 kB / 479.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.1332, allocations: 35.42 kB / 480 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1332, allocations: 0 / 480 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1527, allocations: 3.211 MB / 483.2 MB, free: 208 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.608, allocations: 14.86 kB / 483.2 MB, free: 196 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches