Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.00132/0.00132, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001298/0.001297, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.89 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003183/0.1409, allocations: 1.62 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1424, allocations: 1.059 MB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.1425, allocations: 0 / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.1426, allocations: 23.86 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1429, allocations: 43.78 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.1433, allocations: 178.4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1434, allocations: 67.78 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1435, allocations: 23.97 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.1436, allocations: 15.94 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1437, allocations: 39.83 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1438, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1439, allocations: 47.98 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.144, allocations: 19.92 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.144, allocations: 35.78 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1442, allocations: 107.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1442, allocations: 3.938 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1442, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1442, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.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.0005044/0.1448, allocations: 395.2 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1448, allocations: 12.03 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1448, allocations: 34.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1449, allocations: 8.844 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1451, allocations: 197 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1451, allocations: 8.375 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1451, allocations: 384 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1453, allocations: 79.27 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1454, allocations: 0 / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1454, allocations: 0 / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1454, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1455, allocations: 43.95 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1459, allocations: 304.7 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1461, allocations: 54.48 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.1462, allocations: 28.94 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1462, allocations: 0 / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1462, allocations: 34.56 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1462, allocations: 0 / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007906/0.147, allocations: 225.5 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1471, allocations: 77.11 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1472, allocations: 151.8 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1472, allocations: 25.7 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.1473, allocations: 100.1 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1473, allocations: 19.72 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1474, allocations: 21.7 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1475, allocations: 322.8 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1476, allocations: 35.95 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1478, allocations: 49.69 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.148, allocations: 100.8 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.148, allocations: 4 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002941/0.1483, allocations: 117.8 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1484, allocations: 4 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1484, allocations: 0 / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1484, allocations: 4 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1485, allocations: 15.98 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1485, allocations: 8 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.1486, allocations: 19.98 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1486, allocations: 4 kB / 475.1 MB, free: 8.266 MB / 350.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.0001215/0.1488, allocations: 129.7 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1488, allocations: 11.89 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.1493, allocations: 138.3 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1493, allocations: 0 / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1493, allocations: 3.938 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1494, allocations: 3.984 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.1501, allocations: 410.3 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1502, allocations: 0 / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1503, allocations: 19.98 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1503, allocations: 7.938 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1503, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1503, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1504, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1508, allocations: 219.3 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1509, allocations: 89.09 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1509, allocations: 3.938 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1511, allocations: 15.98 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1512, allocations: 7.984 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1512, allocations: 0 / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1513, allocations: 111.2 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1513, allocations: 0 / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000489/0.1518, allocations: 31.98 kB / 476.3 MB, free: 6.977 MB / 350.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.002137/0.154, allocations: 1.098 MB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.1544, allocations: 87.88 kB / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1545, allocations: 0 / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1547, allocations: 51.89 kB / 477.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.1552, allocations: 12 kB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1579, allocations: 1.598 MB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1582, allocations: 0.6963 MB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1584, allocations: 25.09 kB / 479.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.1585, allocations: 31.45 kB / 479.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1585, allocations: 4 kB / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1849, allocations: 3.049 MB / 482.9 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.726, allocations: 6.938 kB / 482.9 MB, free: 448 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches