Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",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.001175/0.001175, allocations: 109.3 kB / 16.4 MB, free: 6.332 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.001321/0.001321, allocations: 185.2 kB / 17.33 MB, free: 5.816 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.441/1.441, 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.2265/0.2265, allocations: 43.53 MB / 314.1 MB, free: 464 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.00145/0.00145, allocations: 71.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1333, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.00336/0.1368, allocations: 1.608 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006189/0.1374, allocations: 319.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.1375, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1378, allocations: 71.77 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1381, allocations: 59.75 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1384, allocations: 107.8 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1386, allocations: 75.75 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1388, allocations: 16.17 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.1389, allocations: 35.89 kB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.139, allocations: 47.84 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.139, allocations: 4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.1391, allocations: 31.98 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.1392, allocations: 23.91 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.1393, allocations: 35.73 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1396, allocations: 99.52 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1396, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.1396, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1396, allocations: 3.938 kB / 0.4899 GB, free: 9.734 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.0008974/0.1405, allocations: 422.7 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.1406, allocations: 15.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.946e-05/0.1406, allocations: 34.75 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1407, allocations: 8.891 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.141, allocations: 200.9 kB / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.141, allocations: 384 / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1411, allocations: 12.08 kB / 0.4905 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1413, allocations: 65.59 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1413, allocations: 4 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1414, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1414, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1415, allocations: 35.97 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.1421, allocations: 296.8 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1423, allocations: 50.5 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1425, allocations: 24.94 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1425, allocations: 0 / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1426, allocations: 30.56 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.1426, allocations: 0 / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009308/0.1435, allocations: 217.2 kB / 0.4912 GB, free: 8.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1436, allocations: 55.41 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1438, allocations: 215.2 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1439, allocations: 29.64 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.144, allocations: 100.1 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.144, allocations: 31.73 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1441, allocations: 21.72 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1443, allocations: 322.8 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1444, allocations: 32.05 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1445, allocations: 35.95 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1448, allocations: 80.75 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1448, allocations: 3.938 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002662/0.145, allocations: 105.6 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1451, allocations: 8 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1451, allocations: 0 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1451, allocations: 0 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1453, allocations: 15.98 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1453, allocations: 7.938 kB / 0.4922 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1453, allocations: 11.98 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1454, allocations: 8 kB / 0.4923 GB, free: 7.047 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.0001265/0.1455, allocations: 129.7 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1455, allocations: 15.91 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.1459, allocations: 123 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1459, allocations: 8 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1459, allocations: 3.938 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1459, allocations: 3.984 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.1466, allocations: 394.5 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1466, allocations: 0 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.1467, allocations: 19.98 kB / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1467, allocations: 7.938 kB / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1467, allocations: 0 / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1467, allocations: 4.469 kB / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1467, allocations: 0 / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.147, allocations: 219.3 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.1471, allocations: 85.06 kB / 0.4932 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1471, allocations: 11.94 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.1472, allocations: 11.98 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1473, allocations: 7.984 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1473, allocations: 0 / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1474, allocations: 160.9 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1477, allocations: 16 kB / 0.4934 GB, free: 5.738 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.00145/0.1491, allocations: 1.057 MB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1495, allocations: 83.86 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1495, allocations: 4 kB / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1496, allocations: 39.97 kB / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1501, allocations: 23.17 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.1523, allocations: 1.701 MB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1527, allocations: 0.708 MB / 0.497 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.1527, allocations: 12.97 kB / 0.497 GB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1528, allocations: 39.36 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1528, allocations: 0 / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.172, allocations: 3.013 MB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.688, allocations: 15.94 kB / 0.5 GB, free: 14.95 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches