Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.001254/0.001254, allocations: 106.2 kB / 16.41 MB, free: 6.461 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.001237/0.001237, allocations: 189.5 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2393/0.2393, allocations: 43.52 MB / 314.1 MB, free: 448 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.00208/0.00208, allocations: 65.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1335, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00356/0.1371, allocations: 1.6 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.1378, allocations: 327.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.1379, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.1386, allocations: 455.1 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.139, allocations: 255.4 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1393, allocations: 111.8 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1395, allocations: 163.6 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1397, allocations: 20.17 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1398, allocations: 111.8 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.14, allocations: 211.6 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1401, allocations: 4 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.1402, allocations: 27.98 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1403, allocations: 87.67 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1404, allocations: 103 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1407, allocations: 266.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1408, allocations: 0 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1408, allocations: 0 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1408, allocations: 4 kB / 0.491 GB, free: 8.543 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.0009149/0.1417, allocations: 0.6607 MB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1417, allocations: 15.88 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.1418, allocations: 34.75 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.1419, allocations: 48.61 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.1423, allocations: 292.7 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1423, allocations: 4.375 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1423, allocations: 4.125 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1425, allocations: 61.66 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1425, allocations: 0 / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1425, allocations: 4 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.1425, allocations: 4 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1427, allocations: 39.91 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.1432, allocations: 384.7 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1434, allocations: 42.56 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.1435, allocations: 28.94 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1435, allocations: 0 / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1435, allocations: 38.5 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1436, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008378/0.1444, allocations: 288.6 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1445, allocations: 51.41 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.1454, allocations: 0.869 MB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1454, allocations: 25.7 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1456, allocations: 208.1 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.1457, allocations: 35.8 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1457, allocations: 17.72 kB / 0.4941 GB, free: 5.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1459, allocations: 370.7 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1461, allocations: 35.91 kB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1462, allocations: 36.03 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1464, allocations: 68.81 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1464, allocations: 8 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003115/0.1468, allocations: 145.3 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1468, allocations: 8 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1468, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1468, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1469, allocations: 27.97 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.147, allocations: 3.938 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.147, allocations: 8 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1471, allocations: 4 kB / 0.4948 GB, free: 4.473 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.0002035/0.1473, allocations: 217.7 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.1473, allocations: 39.72 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1477, allocations: 169.4 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1477, allocations: 7.984 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1477, allocations: 3.938 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1477, allocations: 4 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.1485, allocations: 482.5 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1485, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.1486, allocations: 23.92 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1486, allocations: 3.938 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1486, allocations: 11.98 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1486, allocations: 0 / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1486, allocations: 0 / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.149, allocations: 243.4 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.1491, allocations: 112.8 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1491, allocations: 15.92 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.1492, allocations: 7.984 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1493, allocations: 11.98 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1493, allocations: 0 / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006669/0.1499, allocations: 0.6472 MB / 0.4967 GB, free: 2.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.15, allocations: 3.938 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1502, allocations: 23.98 kB / 0.4967 GB, free: 2.363 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.002258/0.1525, allocations: 1.092 MB / 0.4978 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1528, allocations: 79.88 kB / 0.4979 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1528, allocations: 0 / 0.4979 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.153, allocations: 43.97 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1534, allocations: 21.91 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.1577, allocations: 3.284 MB / 0.5011 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.1583, allocations: 0.8182 MB / 0.5019 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.1583, allocations: 12.66 kB / 0.5019 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1585, allocations: 99.41 kB / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1585, allocations: 0 / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.1872, allocations: 6.098 MB / 0.508 GB, free: 6.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.551, allocations: 19.91 kB / 0.508 GB, free: 6.684 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_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_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches