Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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.00119/0.00119, allocations: 103.8 kB / 16.4 MB, free: 6.5 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.001123/0.001123, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.501/1.501, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2303/0.2303, allocations: 43.52 MB / 314.1 MB, free: 456 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.001615/0.001615, allocations: 65.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1178, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003618/0.1214, allocations: 1.612 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1231, allocations: 0.9301 MB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.1232, allocations: 3.938 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1234, allocations: 31.84 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1237, allocations: 51.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.124, allocations: 103.8 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1242, allocations: 59.78 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1243, allocations: 24.16 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.1243, allocations: 23.92 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1245, allocations: 27.86 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1245, allocations: 4 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1247, allocations: 59.89 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1247, allocations: 11.94 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.1248, allocations: 31.8 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.125, allocations: 99.62 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.125, allocations: 0 / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.125, allocations: 0 / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.125, allocations: 0 / 0.4904 GB, free: 9.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005333/0.1256, allocations: 399 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1256, allocations: 11.89 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1257, allocations: 34.75 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1257, allocations: 4.891 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1259, allocations: 204.1 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.1259, allocations: 8.312 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.126, allocations: 4.125 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1261, allocations: 79.38 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1262, allocations: 0 / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1262, allocations: 4 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1262, allocations: 0 / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1263, allocations: 31.97 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1267, allocations: 288.8 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1268, allocations: 46.66 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.1269, allocations: 24.83 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1269, allocations: 4 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.127, allocations: 30.56 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.127, allocations: 0 / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000768/0.1277, allocations: 209.3 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1278, allocations: 81.09 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1279, allocations: 146 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.128, allocations: 29.64 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.128, allocations: 96.14 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1281, allocations: 23.73 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1281, allocations: 21.72 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1282, allocations: 318.8 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1283, allocations: 39.91 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1285, allocations: 45.69 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1287, allocations: 76.84 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1287, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002633/0.1289, allocations: 105.6 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.129, allocations: 4 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.129, allocations: 0 / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.129, allocations: 11.94 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1291, allocations: 19.98 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1291, allocations: 3.938 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.1292, allocations: 11.98 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1292, allocations: 0 / 0.4927 GB, free: 6.562 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 (7): * Single equations (assignments): 7 * 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.69e-05/0.1293, allocations: 121.8 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1294, allocations: 7.953 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.1297, allocations: 130.5 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1297, allocations: 7.922 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1297, allocations: 7.922 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1297, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1303, allocations: 386.9 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1303, allocations: 0 / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.1304, allocations: 19.98 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1304, allocations: 3.938 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1304, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1304, allocations: 3.938 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1304, allocations: 8.062 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1307, allocations: 211.5 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1308, allocations: 85.06 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1308, allocations: 3.938 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1309, allocations: 7.984 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1309, allocations: 11.98 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.131, allocations: 4 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.511e-05/0.131, allocations: 107.1 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1311, allocations: 4 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1313, allocations: 27.92 kB / 0.4938 GB, free: 5.32 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 (7): * Single equations (assignments): 7 * 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.001461/0.1328, allocations: 1.081 MB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1331, allocations: 75.94 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1331, allocations: 0 / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1332, allocations: 47.91 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1336, allocations: 19.89 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1355, allocations: 1.523 MB / 0.4965 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1358, allocations: 0.6963 MB / 0.4972 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1359, allocations: 24.58 kB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.1359, allocations: 27.42 kB / 0.4972 GB, free: 1.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1359, allocations: 0 / 0.4972 GB, free: 1.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.1587, allocations: 3.036 MB / 0.5002 GB, free: 14.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.601, allocations: 11.95 kB / 0.5002 GB, free: 14.63 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches