Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001265/0.001265, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001177/0.001177, allocations: 185.5 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2943/0.2943, allocations: 43.52 MB / 314.1 MB, free: 484 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.002234/0.002234, allocations: 72.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003179/0.1278, allocations: 1.616 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1294, allocations: 0.9613 MB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.1294, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1297, allocations: 27.83 kB / 0.49 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1299, allocations: 43.78 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1303, allocations: 155.7 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1305, allocations: 67.83 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1306, allocations: 19.97 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.1307, allocations: 27.86 kB / 0.4903 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1308, allocations: 39.08 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1308, allocations: 4 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1309, allocations: 55.91 kB / 0.4904 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.131, allocations: 19.97 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.1311, allocations: 23.81 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1313, allocations: 99.62 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1313, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1313, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1313, allocations: 3.938 kB / 0.4905 GB, free: 9.141 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.0005931/0.1319, allocations: 406.9 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1319, allocations: 15.89 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.132, allocations: 30.75 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.132, allocations: 8.891 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1323, allocations: 192.2 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1323, allocations: 4.375 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1323, allocations: 4.359 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1325, allocations: 79.33 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1325, allocations: 0 / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1326, allocations: 4 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1326, allocations: 4 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1327, allocations: 35.91 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.1332, allocations: 312.7 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1333, allocations: 46.56 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.1334, allocations: 24.94 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1335, allocations: 3.938 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1335, allocations: 38.55 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1335, allocations: 4 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008132/0.1343, allocations: 225.4 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1344, allocations: 81.09 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1346, allocations: 148.3 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1346, allocations: 29.64 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1347, allocations: 96.09 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1347, allocations: 31.78 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1348, allocations: 17.72 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.135, allocations: 322.8 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1351, allocations: 35.97 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1352, allocations: 53.67 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1355, allocations: 88.89 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1355, allocations: 4 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003401/0.1358, allocations: 129.8 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1359, allocations: 4 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1359, allocations: 3.984 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1359, allocations: 8 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.136, allocations: 19.97 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.136, allocations: 3.938 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.1361, allocations: 8 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1361, allocations: 3.984 kB / 0.4929 GB, free: 6.414 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 0.0001022/0.1362, allocations: 121.8 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1363, allocations: 7.953 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.1366, allocations: 142.3 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1366, allocations: 0 / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1366, allocations: 3.938 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1366, allocations: 0 / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.1372, allocations: 414.4 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1373, allocations: 4 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.1373, allocations: 19.98 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1374, allocations: 3.938 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1374, allocations: 0 / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1374, allocations: 0 / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1374, allocations: 0 / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1378, allocations: 219.5 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1378, allocations: 85.06 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1378, allocations: 15.86 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.1379, allocations: 8 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.138, allocations: 7.984 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.138, allocations: 0 / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.1381, allocations: 115.2 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1381, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1384, allocations: 31.94 kB / 0.4941 GB, free: 5.129 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.002117/0.1405, allocations: 1.1 MB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.1408, allocations: 95.86 kB / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1408, allocations: 0 / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.141, allocations: 43.97 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1413, allocations: 27.92 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.1435, allocations: 1.581 MB / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1438, allocations: 0.7002 MB / 0.4975 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.403e-05/0.1439, allocations: 24.64 kB / 0.4975 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.144, allocations: 27.42 kB / 0.4976 GB, free: 1.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.144, allocations: 0 / 0.4976 GB, free: 1.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.1706, allocations: 3.129 MB / 0.5006 GB, free: 14.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.064, allocations: 4.062 kB / 0.5006 GB, free: 14.24 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches