Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.001366/0.001366, allocations: 109 kB / 16.41 MB, free: 6.434 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.001312/0.001312, allocations: 185 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2242/0.2242, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 71.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1287, allocations: 57.81 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003682/0.1325, allocations: 1.938 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1337, allocations: 0.6783 MB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1339, allocations: 3.938 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.1345, allocations: 259.3 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.1349, allocations: 187.3 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1359, allocations: 451.1 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.1363, allocations: 271.3 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1365, allocations: 68.7 kB / 0.4912 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1367, allocations: 135.4 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1369, allocations: 191.3 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.137, allocations: 8 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.1372, allocations: 71.95 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1373, allocations: 83.75 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1375, allocations: 115 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1379, allocations: 314.4 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1379, allocations: 0 / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1379, allocations: 0 / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1379, allocations: 7.875 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009471/0.1389, allocations: 0.6609 MB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1389, allocations: 11.89 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.139, allocations: 50.67 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1391, allocations: 44.66 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.1395, allocations: 310.6 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1395, allocations: 8.375 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1396, allocations: 12.38 kB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1399, allocations: 117.5 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1399, allocations: 0 / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1399, allocations: 4 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.14, allocations: 4 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1402, allocations: 63.95 kB / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.141, allocations: 496.4 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1412, allocations: 90.48 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.1413, allocations: 37 kB / 0.4939 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1413, allocations: 11.97 kB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1414, allocations: 38.5 kB / 0.4939 GB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1414, allocations: 0 / 0.4939 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009823/0.1424, allocations: 380.5 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1424, allocations: 51.41 kB / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.1431, allocations: 0.5487 MB / 0.4949 GB, free: 4.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1431, allocations: 25.7 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1433, allocations: 208.4 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.1434, allocations: 67.36 kB / 0.4952 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.1434, allocations: 33.7 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1436, allocations: 350.8 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1438, allocations: 51.97 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1439, allocations: 54.56 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1441, allocations: 128.7 kB / 0.4958 GB, free: 3.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1441, allocations: 0 / 0.4958 GB, free: 3.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003478/0.1445, allocations: 190.2 kB / 0.4959 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1445, allocations: 8 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1445, allocations: 0 / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1446, allocations: 0 / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1447, allocations: 35.92 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1447, allocations: 0 / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.1448, allocations: 7.984 kB / 0.496 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1448, allocations: 27.92 kB / 0.496 GB, free: 3.23 MB / 382.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 (17): * Single equations (assignments): 17 * 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.000178/0.145, allocations: 173.7 kB / 0.4962 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.1451, allocations: 39.72 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.1456, allocations: 244.2 kB / 0.4965 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1456, allocations: 0 / 0.4965 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1456, allocations: 0 / 0.4965 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1456, allocations: 4 kB / 0.4965 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/0.1465, allocations: 0.6231 MB / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1465, allocations: 0 / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1466, allocations: 35.97 kB / 0.4971 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.1466, allocations: 4 kB / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1466, allocations: 0 / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1466, allocations: 3.938 kB / 0.4971 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1466, allocations: 4 kB / 0.4971 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.1471, allocations: 306.3 kB / 0.4974 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.1472, allocations: 116.8 kB / 0.4975 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1472, allocations: 4 kB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.1473, allocations: 15.88 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.1474, allocations: 11.98 kB / 0.4975 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1474, allocations: 4 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.1478, allocations: 415.1 kB / 0.4979 GB, free: 1.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 0.4979 GB, free: 1.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1482, allocations: 47.94 kB / 0.498 GB, free: 1.109 MB / 382.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 (17): * Single equations (assignments): 17 * 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.00342/0.1516, allocations: 1.424 MB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.152, allocations: 135.8 kB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.152, allocations: 0 / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1522, allocations: 71.91 kB / 0.4996 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.1528, allocations: 77.31 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.1568, allocations: 3.039 MB / 0.5026 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1573, allocations: 0.8026 MB / 0.5034 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.1575, allocations: 53.89 kB / 0.5035 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.1576, allocations: 115.4 kB / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1576, allocations: 0 / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.1886, allocations: 7.255 MB / 0.5106 GB, free: 4.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.345, allocations: 19.98 kB / 0.5107 GB, free: 3.988 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches