Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.001281/0.001281, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001302/0.001302, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.593/1.593, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2346/0.2346, allocations: 43.53 MB / 314.1 MB, free: 452 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.002049/0.002049, allocations: 65.62 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003334/0.1423, allocations: 1.6 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.143, allocations: 323.6 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.1431, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.1438, allocations: 451.2 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.1443, allocations: 259.4 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1447, allocations: 115.6 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1451, allocations: 159.7 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1452, allocations: 16.17 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.1453, allocations: 107.8 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1456, allocations: 207.6 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1456, allocations: 4 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1458, allocations: 31.92 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1459, allocations: 87.67 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.146, allocations: 99 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1464, allocations: 262.6 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1464, allocations: 0 / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1464, allocations: 0 / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1464, allocations: 0 / 0.491 GB, free: 8.582 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.0009012/0.1473, allocations: 0.6491 MB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1474, allocations: 15.89 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1474, allocations: 38.69 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1475, allocations: 44.66 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1479, allocations: 296.6 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1479, allocations: 384 / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1479, allocations: 12.06 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1481, allocations: 53.67 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1481, allocations: 0 / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1481, allocations: 0 / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1482, allocations: 11.98 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.1483, allocations: 19.98 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.1488, allocations: 396.6 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.149, allocations: 38.56 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1491, allocations: 20.94 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1491, allocations: 4 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1491, allocations: 34.5 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1491, allocations: 0 / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006531/0.1498, allocations: 221 kB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1498, allocations: 59.34 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1508, allocations: 0.8691 MB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1509, allocations: 25.7 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1511, allocations: 220.1 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1511, allocations: 19.83 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.1512, allocations: 17.72 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1514, allocations: 362.8 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1514, allocations: 15.98 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.1515, allocations: 23.98 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1517, allocations: 53.03 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1517, allocations: 3.938 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002287/0.1519, allocations: 117.3 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1519, allocations: 11.98 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.152, allocations: 3.984 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.152, allocations: 0 / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.152, allocations: 8 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1521, allocations: 11.94 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.1521, allocations: 3.984 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1522, allocations: 4 kB / 0.4946 GB, free: 4.695 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 (5): * Single equations (assignments): 5 * 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.0002044/0.1524, allocations: 213.7 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.1524, allocations: 47.66 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.1527, allocations: 137 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1527, allocations: 7.938 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1528, allocations: 3.938 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1528, allocations: 0 / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.1534, allocations: 454.5 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1534, allocations: 0 / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1534, allocations: 15.98 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1535, allocations: 3.938 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1535, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1535, allocations: 4.188 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1535, allocations: 7.938 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1538, allocations: 211.2 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1539, allocations: 116.8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1539, allocations: 3.938 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.154, allocations: 7.984 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.154, allocations: 4 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.154, allocations: 4 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.1547, allocations: 0.6511 MB / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1547, allocations: 0 / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.155, allocations: 23.94 kB / 0.4964 GB, free: 2.699 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 (5): * Single equations (assignments): 5 * 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.002022/0.157, allocations: 1.064 MB / 0.4974 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1573, allocations: 43.97 kB / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1573, allocations: 0 / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.1574, allocations: 27.92 kB / 0.4975 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1578, allocations: 25.95 kB / 0.4975 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.1618, allocations: 3.199 MB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.1625, allocations: 0.8221 MB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.1625, allocations: 8 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.1627, allocations: 103.4 kB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.597e-06/0.1627, allocations: 0 / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.1936, allocations: 5.977 MB / 0.5074 GB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.573, allocations: 7.844 kB / 0.5074 GB, free: 7.305 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_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_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches