Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001863/0.001863, allocations: 109.3 kB / 16.41 MB, free: 5.988 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.00224/0.00224, allocations: 189.5 kB / 17.34 MB, free: 5.602 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.459/1.459, 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.2223/0.2223, allocations: 43.52 MB / 314.1 MB, free: 468 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.002101/0.002101, allocations: 63.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1254, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003335/0.1288, allocations: 1.577 MB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.1295, allocations: 331.6 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.1295, allocations: 0 / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.1303, allocations: 451.2 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1306, allocations: 263.4 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1311, allocations: 143.7 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.1313, allocations: 171.6 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1315, allocations: 12.17 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1316, allocations: 107.8 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1319, allocations: 215.6 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1319, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.132, allocations: 19.98 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1321, allocations: 79.7 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1322, allocations: 111 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1326, allocations: 250.6 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1326, allocations: 4 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1326, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1326, allocations: 0 / 0.491 GB, free: 8.578 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008849/0.1335, allocations: 0.6564 MB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1336, allocations: 11.89 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1336, allocations: 34.75 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.1337, allocations: 52.59 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.134, allocations: 292.7 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.134, allocations: 4.375 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1341, allocations: 8.062 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1342, allocations: 57.67 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1343, allocations: 0 / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1343, allocations: 7.938 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1343, allocations: 0 / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1344, allocations: 31.97 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.135, allocations: 396.7 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1352, allocations: 50.5 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.1352, allocations: 28.94 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1353, allocations: 0 / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1353, allocations: 38.55 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1353, allocations: 0 / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003553/0.1357, allocations: 125.4 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1357, allocations: 63.28 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.1368, allocations: 0.8574 MB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1368, allocations: 25.7 kB / 0.4937 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.1372, allocations: 212.1 kB / 0.4939 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1372, allocations: 11.89 kB / 0.4939 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1372, allocations: 17.72 kB / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1374, allocations: 362.7 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.1375, allocations: 15.98 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.1376, allocations: 28.16 kB / 0.4943 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1378, allocations: 44.91 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1378, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002994/0.1381, allocations: 105.4 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1382, allocations: 7.938 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1382, allocations: 3.984 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1382, allocations: 4 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1383, allocations: 8 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1383, allocations: 0 / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.1384, allocations: 11.98 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1385, allocations: 3.984 kB / 0.4945 GB, free: 4.801 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 (3): * Single equations (assignments): 3 * 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.0002701/0.1388, allocations: 213.7 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.1388, allocations: 43.72 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.1392, allocations: 129 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1392, allocations: 0 / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1392, allocations: 8 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1392, allocations: 0 / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.1397, allocations: 293.5 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1397, allocations: 7.875 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.1398, allocations: 8 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1398, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1398, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1399, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1399, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1402, allocations: 211.2 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.1403, allocations: 120.8 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1403, allocations: 4 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.1404, allocations: 0 / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1404, allocations: 7.984 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1404, allocations: 0 / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.1411, allocations: 0.6511 MB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1411, allocations: 0 / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1414, allocations: 27.89 kB / 0.4961 GB, free: 2.996 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 (3): * Single equations (assignments): 3 * 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.001923/0.1433, allocations: 0.9933 MB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1435, allocations: 39.97 kB / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1435, allocations: 0 / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.1436, allocations: 31.91 kB / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.144, allocations: 23.06 kB / 0.4972 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.148, allocations: 3.178 MB / 0.5003 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.1486, allocations: 0.8182 MB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.1487, allocations: 19.92 kB / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.1489, allocations: 107.4 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1489, allocations: 4 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.1801, allocations: 5.814 MB / 0.5069 GB, free: 7.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/8.67, allocations: 15.97 kB / 0.5069 GB, free: 7.832 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_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_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches