Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001628/0.001628, allocations: 104.8 kB / 16.4 MB, free: 6.406 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.001723/0.001723, allocations: 190.9 kB / 17.34 MB, free: 5.691 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.514/1.514, 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.2497/0.2497, allocations: 43.52 MB / 314.1 MB, free: 460 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.002036/0.002036, allocations: 65.8 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003526/0.1423, allocations: 1.608 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.1431, allocations: 323.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.1431, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1438, allocations: 451.1 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.1442, allocations: 259.4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1445, allocations: 111.8 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1448, allocations: 155.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1449, allocations: 20.16 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.145, allocations: 107.7 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1453, allocations: 203.6 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1453, allocations: 8 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1454, allocations: 27.98 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1455, allocations: 83.69 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.1456, allocations: 99 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.146, allocations: 266.6 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.146, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.146, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1461, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008231/0.1469, allocations: 0.6413 MB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1469, allocations: 19.89 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.147, allocations: 38.73 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.1471, allocations: 44.66 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1474, allocations: 300.6 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1474, allocations: 4.312 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1475, allocations: 12.12 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1476, allocations: 49.62 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1476, allocations: 0 / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1476, allocations: 0 / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1477, allocations: 0 / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.1478, allocations: 35.97 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.1483, allocations: 384.6 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1486, allocations: 46.5 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.1486, allocations: 20.94 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1487, allocations: 0 / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1487, allocations: 34.56 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1487, allocations: 0 / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000639/0.1494, allocations: 228.7 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1494, allocations: 55.41 kB / 0.4929 GB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.1504, allocations: 0.869 MB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1504, allocations: 29.7 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1506, allocations: 224.1 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1506, allocations: 15.83 kB / 0.494 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1507, allocations: 17.72 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1509, allocations: 358.8 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.151, allocations: 19.98 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.151, allocations: 19.98 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1512, allocations: 60.95 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1512, allocations: 0 / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000218/0.1514, allocations: 109.7 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1515, allocations: 8 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1515, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1515, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.1516, allocations: 11.98 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1516, allocations: 7.938 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.1516, allocations: 7.984 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1517, allocations: 7.984 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.0002326/0.1519, allocations: 217.7 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.152, allocations: 43.67 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.1523, allocations: 141 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1523, allocations: 0 / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1523, allocations: 7.938 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1523, allocations: 0 / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1529, allocations: 454.4 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1529, allocations: 0 / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.153, allocations: 15.98 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.153, allocations: 3.938 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.153, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.153, allocations: 192 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.153, allocations: 8 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.1533, allocations: 215.2 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1534, allocations: 116.8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1535, allocations: 3.938 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1535, allocations: 7.984 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1536, allocations: 0 / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1536, allocations: 4 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006988/0.1543, allocations: 0.6589 MB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1543, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1546, allocations: 19.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.002003/0.1566, allocations: 1.053 MB / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1568, allocations: 51.89 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1569, allocations: 0 / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.1569, allocations: 23.98 kB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1574, allocations: 25.91 kB / 0.4975 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.1615, allocations: 3.207 MB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.1621, allocations: 0.826 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.1622, allocations: 11.98 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.1623, allocations: 103.3 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1623, allocations: 3.938 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.1931, allocations: 5.966 MB / 0.5074 GB, free: 7.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.61, allocations: 3.906 kB / 0.5074 GB, free: 7.305 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_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_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches