Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001371/0.001371, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001424/0.001424, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2327/0.2327, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.09 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00486/0.132, allocations: 1.58 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.133, allocations: 419.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.1331, allocations: 0 / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1334, allocations: 95.67 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1338, allocations: 75.8 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1342, allocations: 110.4 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.1344, allocations: 67.89 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1346, allocations: 24.17 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1347, allocations: 35.84 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1348, allocations: 51.88 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.1349, allocations: 4 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1351, allocations: 51.86 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1351, allocations: 19.92 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1352, allocations: 31.73 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1355, allocations: 95.94 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1355, allocations: 4 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1355, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1355, allocations: 11.94 kB / 472 MB, free: 11.62 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.0007493/0.1363, allocations: 409.9 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1364, allocations: 8.031 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1364, allocations: 34.75 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1365, allocations: 12.84 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1367, allocations: 206.6 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1367, allocations: 384 / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1368, allocations: 8.125 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1369, allocations: 57.67 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1369, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.137, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.137, allocations: 3.938 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1371, allocations: 27.97 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1376, allocations: 308.7 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1377, allocations: 50.56 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.1378, allocations: 16.94 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1378, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1378, allocations: 34.56 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1378, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009929/0.1388, allocations: 241.4 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1389, allocations: 55.34 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1391, allocations: 230.7 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1392, allocations: 25.7 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1392, allocations: 108.1 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1393, allocations: 27.56 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.1394, allocations: 29.7 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1395, allocations: 322.8 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.1396, allocations: 27.98 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.1397, allocations: 31.97 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1399, allocations: 72.89 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1399, allocations: 0 / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002485/0.1401, allocations: 117.5 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1402, allocations: 4 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1402, allocations: 0 / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1402, allocations: 4 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1403, allocations: 15.98 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1403, allocations: 3.938 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.1404, allocations: 15.98 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1404, allocations: 4 kB / 474.5 MB, free: 8.918 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 (8): * Single equations (assignments): 8 * 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.000133/0.1405, allocations: 129.8 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1406, allocations: 15.81 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.1409, allocations: 127.3 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1409, allocations: 7.875 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1409, allocations: 3.938 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.141, allocations: 3.984 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.1415, allocations: 419.4 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1416, allocations: 7.938 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1416, allocations: 15.98 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1417, allocations: 0 / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1417, allocations: 8 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1417, allocations: 0 / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1417, allocations: 0 / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.142, allocations: 224.1 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.142, allocations: 88.95 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1421, allocations: 0 / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1421, allocations: 4 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1422, allocations: 7.984 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1422, allocations: 12 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1424, allocations: 168.7 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1424, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1426, allocations: 19.98 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001695/0.1443, allocations: 1.1 MB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1446, allocations: 83.89 kB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1446, allocations: 0 / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1448, allocations: 39.97 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1451, allocations: 17.61 kB / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1471, allocations: 1.709 MB / 478.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1474, allocations: 0.708 MB / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.165e-05/0.1475, allocations: 32.94 kB / 479.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.1476, allocations: 31.42 kB / 479.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1476, allocations: 0 / 479.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1705, allocations: 3.064 MB / 482.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.755, allocations: 4.234 kB / 482.5 MB, free: 0.8945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches