Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001057/0.001057, 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.001034/0.001034, 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.308/1.308, 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.2144/0.2144, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.41 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09639, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002953/0.09939, allocations: 1.623 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.1002, allocations: 0.6802 MB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.1002, allocations: 0 / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1005, allocations: 27.83 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1007, allocations: 35.91 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.339e-06/0.1007, allocations: 4 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1008, allocations: 39.77 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.1008, allocations: 4 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.1009, allocations: 7.938 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.1009, allocations: 19.91 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.101, allocations: 4 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.101, allocations: 8 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1011, allocations: 11.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1011, allocations: 23.81 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1012, allocations: 71.95 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1012, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1012, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1012, allocations: 0 / 471.9 MB, free: 11.7 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003602/0.1016, allocations: 366.1 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1017, allocations: 12.03 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.1017, allocations: 46.67 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1017, allocations: 4.844 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1019, allocations: 172.3 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1019, allocations: 384 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1019, allocations: 4.375 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1021, allocations: 123.3 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1021, allocations: 3.938 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1021, allocations: 3.984 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.1022, allocations: 23.98 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.1022, allocations: 47.84 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.1028, allocations: 0.8945 MB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.1028, allocations: 165.1 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.1029, allocations: 88.08 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1029, allocations: 75.28 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1029, allocations: 109.8 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1029, allocations: 0 / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.111e-05/0.103, allocations: 45.62 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1031, allocations: 126.7 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1032, allocations: 190.1 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1033, allocations: 25.7 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1033, allocations: 147.1 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.1033, allocations: 3.984 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1034, allocations: 41.62 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1035, allocations: 322.8 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.1036, allocations: 27.98 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1037, allocations: 161 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1039, allocations: 208.9 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1039, allocations: 3.984 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000293/0.1042, allocations: 197 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1042, allocations: 8 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1042, allocations: 4 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1042, allocations: 8 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1043, allocations: 35.92 kB / 475.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1044, allocations: 8.609 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.1044, allocations: 39.69 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1045, allocations: 8 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001067/0.1046, allocations: 213 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1046, allocations: 120.8 kB / 475.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.1047, allocations: 108.9 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/0.1048, allocations: 180.3 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.754e-05/0.1048, allocations: 192.2 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.1049, allocations: 176.3 kB / 476.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1051, allocations: 425.1 kB / 477 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.1052, allocations: 105 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.1052, allocations: 105 kB / 477.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.773e-05/0.1053, allocations: 184.2 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.1053, allocations: 176.3 kB / 477.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.489e-05/0.1054, allocations: 188.2 kB / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.979e-05/0.1054, allocations: 188.2 kB / 477.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1056, allocations: 315.6 kB / 478.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.1056, allocations: 186 kB / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.1057, allocations: 188.2 kB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1058, allocations: 108.9 kB / 478.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1059, allocations: 176.3 kB / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.1059, allocations: 104.9 kB / 479 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.106, allocations: 132 kB / 479.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.106, allocations: 4 kB / 479.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1063, allocations: 16 kB / 479.1 MB, free: 3.871 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 (0): * Single equations (assignments): 0 * 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.0007046/0.107, allocations: 0.9027 MB / 480 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1071, allocations: 75.78 kB / 480.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1072, allocations: 3.938 kB / 480.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1072, allocations: 0 / 480.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1075, allocations: 467.9 kB / 480.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1089, allocations: 1.873 MB / 482.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1092, allocations: 0.6967 MB / 483.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.1094, allocations: 53.02 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.1094, allocations: 23.42 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1094, allocations: 0 / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.1298, allocations: 2.019 MB / 485.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.76, allocations: 11.91 kB / 485.2 MB, free: 13.63 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_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_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches