Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.001238/0.001238, allocations: 104.2 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.001342/0.001342, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2018/0.2018, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.75 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002941/0.1048, allocations: 1.639 MB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.1056, allocations: 431 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.1056, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1059, allocations: 59.8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1061, allocations: 67.73 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1065, allocations: 139.4 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1066, allocations: 75.83 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.1067, allocations: 15.98 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.1068, allocations: 35.89 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.1069, allocations: 59.81 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1069, allocations: 4 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.107, allocations: 51.86 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.1071, allocations: 19.92 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1071, allocations: 35.75 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1073, allocations: 115.9 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1073, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1074, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1074, allocations: 0 / 472.1 MB, free: 11.52 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.0004776/0.1078, allocations: 422.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1079, allocations: 8.031 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.1079, allocations: 34.75 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.108, allocations: 16.84 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1082, allocations: 206.6 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.1082, allocations: 384 / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1082, allocations: 8.375 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1084, allocations: 73.47 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1084, allocations: 4 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1084, allocations: 0 / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1084, allocations: 4 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1086, allocations: 39.91 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1089, allocations: 304.7 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1091, allocations: 62.58 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.1092, allocations: 24.97 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1092, allocations: 0 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1093, allocations: 38.56 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1093, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001403/0.1107, allocations: 388.7 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1107, allocations: 55.41 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1109, allocations: 211.3 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1109, allocations: 29.7 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.111, allocations: 104 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.111, allocations: 35.5 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1111, allocations: 33.64 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.1112, allocations: 322.8 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1113, allocations: 43.97 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1115, allocations: 43.91 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1117, allocations: 104.8 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1117, allocations: 0.5625 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002999/0.112, allocations: 137.8 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.112, allocations: 4 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1121, allocations: 3.938 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1121, allocations: 7.938 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1122, allocations: 27.92 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1122, allocations: 8 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.1123, allocations: 11.98 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1123, allocations: 4 kB / 474.8 MB, free: 8.512 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 8.682e-05/0.1124, allocations: 129.8 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1124, allocations: 11.81 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1128, allocations: 167 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1128, allocations: 7.938 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1128, allocations: 0 / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1128, allocations: 3.984 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.1135, allocations: 483.9 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1135, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1136, allocations: 23.98 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1136, allocations: 7.938 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1136, allocations: 4 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1136, allocations: 0 / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1136, allocations: 4 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.114, allocations: 253 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.114, allocations: 89.02 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1141, allocations: 7.984 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.1142, allocations: 8 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1142, allocations: 11.98 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1142, allocations: 4 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1144, allocations: 159.9 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1144, allocations: 0 / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1146, allocations: 31.89 kB / 476.2 MB, free: 7.02 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.001441/0.1161, allocations: 1.139 MB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.1164, allocations: 103.8 kB / 477.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1164, allocations: 0 / 477.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1166, allocations: 59.91 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1169, allocations: 32.39 kB / 477.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1189, allocations: 1.828 MB / 479.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1192, allocations: 0.7119 MB / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.1193, allocations: 24.55 kB / 480.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.1194, allocations: 35.42 kB / 480.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1194, allocations: 3.938 kB / 480.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.1372, allocations: 3.328 MB / 483.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.806, allocations: 19.97 kB / 483.5 MB, free: 15.85 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches