Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001314/0.001314, 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.001426/0.001426, 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.316/1.316, 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.2026/0.2026, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.28 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1012, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00307/0.1044, allocations: 1.666 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.1051, allocations: 451 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.1052, allocations: 0 / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1054, allocations: 19.86 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1056, allocations: 43.78 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1059, allocations: 135.6 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1061, allocations: 79.66 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1062, allocations: 28.19 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.1063, allocations: 31.86 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1063, allocations: 35.84 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1064, allocations: 4 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1065, allocations: 59.97 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.1065, allocations: 23.91 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1066, allocations: 27.81 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1068, allocations: 127.9 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1068, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1068, allocations: 3.938 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1068, allocations: 0 / 472.1 MB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006326/0.1075, allocations: 415.2 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1075, allocations: 8.031 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.1075, allocations: 30.75 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1076, allocations: 12.84 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1078, allocations: 204.1 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1078, allocations: 384 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1078, allocations: 4.375 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1081, allocations: 99.23 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1081, allocations: 4 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1081, allocations: 0 / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1082, allocations: 0 / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.1084, allocations: 63.92 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1089, allocations: 308.8 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1091, allocations: 74.47 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1093, allocations: 40.95 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1093, allocations: 12.05 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1093, allocations: 34.56 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1093, allocations: 3.938 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00152/0.1108, allocations: 376.8 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1109, allocations: 81.05 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1111, allocations: 159.4 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1111, allocations: 25.7 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1112, allocations: 104 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1112, allocations: 27.56 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1112, allocations: 25.7 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1114, allocations: 326.8 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.1117, allocations: 68.02 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.112, allocations: 93.58 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.1125, allocations: 144.7 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1125, allocations: 0 / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006513/0.1132, allocations: 189.5 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1132, allocations: 7.984 kB / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1132, allocations: 0 / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1132, allocations: 3.938 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1135, allocations: 44.28 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1135, allocations: 3.984 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.1137, allocations: 27.97 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1137, allocations: 4 kB / 475 MB, free: 8.32 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 (10): * Single equations (assignments): 10 * 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 9.458e-05/0.1138, allocations: 117.8 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1138, allocations: 7.906 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.1145, allocations: 214.1 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1145, allocations: 4.312 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1145, allocations: 0 / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1145, allocations: 4 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.1155, allocations: 0.4942 MB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1155, allocations: 3.938 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1157, allocations: 35.95 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1157, allocations: 4 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1157, allocations: 4 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1157, allocations: 0 / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1157, allocations: 3.938 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1164, allocations: 287.2 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1164, allocations: 85 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1164, allocations: 8 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1166, allocations: 23.97 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.1167, allocations: 11.98 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1167, allocations: 7.984 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.44e-05/0.1168, allocations: 116.8 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1168, allocations: 0 / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1171, allocations: 35.98 kB / 476.5 MB, free: 6.766 MB / 350.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 (9): * Single equations (assignments): 9 * 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.00186/0.1189, allocations: 1.147 MB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.1196, allocations: 171.8 kB / 477.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1196, allocations: 3.938 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.1199, allocations: 83.86 kB / 477.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1203, allocations: 19.64 kB / 477.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.1231, allocations: 1.797 MB / 479.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1233, allocations: 0.6963 MB / 480.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.1234, allocations: 16.53 kB / 480.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.1235, allocations: 39.64 kB / 480.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1235, allocations: 0 / 480.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1425, allocations: 3.707 MB / 484.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.778, allocations: 8.266 kB / 484.2 MB, free: 15.22 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches