Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001607/0.001607, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001809/0.001809, allocations: 192 kB / 18.56 MB, free: 4.434 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.361/1.361, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2285/0.2285, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.92 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003105/0.1242, allocations: 1.638 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.1251, allocations: 447.1 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1251, allocations: 3.938 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.1257, allocations: 451.1 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1261, allocations: 259.4 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1265, allocations: 171.1 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1268, allocations: 167.7 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1269, allocations: 23.98 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.127, allocations: 103.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1272, allocations: 215.6 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1273, allocations: 4 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1274, allocations: 55.95 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.1275, allocations: 83.64 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1276, allocations: 107 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1279, allocations: 271.2 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1279, allocations: 0 / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.128, allocations: 4 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.128, allocations: 0 / 473.3 MB, free: 10.31 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.0008136/0.1288, allocations: 0.6375 MB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1288, allocations: 8.031 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1289, allocations: 38.73 kB / 474 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.129, allocations: 52.31 kB / 474 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1293, allocations: 300.2 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1293, allocations: 384 / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1293, allocations: 8.281 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1295, allocations: 69.61 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1295, allocations: 0 / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1295, allocations: 4 kB / 474.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1295, allocations: 3.984 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1296, allocations: 39.91 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1302, allocations: 408.6 kB / 474.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1303, allocations: 46.59 kB / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.1304, allocations: 20.94 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1304, allocations: 0 / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1304, allocations: 34.56 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.1304, allocations: 0 / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.1314, allocations: 319.9 kB / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1315, allocations: 55.34 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1325, allocations: 0.869 MB / 476.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1326, allocations: 33.7 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1327, allocations: 220 kB / 476.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.1328, allocations: 31.64 kB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1328, allocations: 17.72 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.133, allocations: 366.8 kB / 476.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.1331, allocations: 31.92 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.1332, allocations: 36.03 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1334, allocations: 72.83 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1334, allocations: 4 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002595/0.1337, allocations: 141.1 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1337, allocations: 8 kB / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1337, allocations: 0 / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1337, allocations: 0 / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1339, allocations: 23.86 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1339, allocations: 4 kB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.1339, allocations: 7.984 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.134, allocations: 8 kB / 477.2 MB, free: 6.195 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 (8): * Single equations (assignments): 8 * 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.0002067/0.1342, allocations: 217.7 kB / 477.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1342, allocations: 43.44 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.1346, allocations: 161.5 kB / 477.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.1346, allocations: 7.938 kB / 477.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1346, allocations: 3.984 kB / 477.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1346, allocations: 4 kB / 477.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.1353, allocations: 0.5226 MB / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1354, allocations: 0 / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.1354, allocations: 19.98 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1354, allocations: 0 / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1355, allocations: 0 / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1355, allocations: 4.031 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1355, allocations: 4 kB / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1358, allocations: 252.1 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1359, allocations: 112.5 kB / 478.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.136, allocations: 3.938 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.1361, allocations: 15.98 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1361, allocations: 4.422 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1361, allocations: 4 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.1368, allocations: 0.6511 MB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1368, allocations: 0 / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1371, allocations: 28 kB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001642/0.1388, allocations: 1.138 MB / 480.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.139, allocations: 83.94 kB / 480.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.139, allocations: 0 / 480.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1392, allocations: 43.91 kB / 480.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1396, allocations: 29.39 kB / 480.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1439, allocations: 3.398 MB / 483.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.1444, allocations: 0.8337 MB / 484.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1445, allocations: 28.7 kB / 484.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.1447, allocations: 115.4 kB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.116e-06/0.1447, allocations: 112 / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1696, allocations: 6.226 MB / 491.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.787, allocations: 11.92 kB / 491.1 MB, free: 8.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches