Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001061/0.001061, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001069/0.001069, allocations: 192 kB / 18.55 MB, free: 4.566 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.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2257/0.2257, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 70.77 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1375, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003017/0.1405, allocations: 1.575 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.1414, allocations: 415.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1415, allocations: 0 / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1418, allocations: 107.7 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.142, allocations: 75.77 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1424, allocations: 123.1 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1425, allocations: 71.88 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1426, allocations: 16.17 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.144e-05/0.1427, allocations: 43.83 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1428, allocations: 63.81 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.1429, allocations: 4 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.965e-05/0.143, allocations: 51.92 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.143, allocations: 23.86 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.1431, allocations: 39.72 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1433, allocations: 103.9 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1433, allocations: 0 / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1433, allocations: 0 / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1433, allocations: 7.938 kB / 472.1 MB, free: 11.56 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.0004842/0.1438, allocations: 414.9 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1438, allocations: 12.03 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.1439, allocations: 46.69 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.1439, allocations: 12.75 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1441, allocations: 200.1 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1441, allocations: 4.375 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1442, allocations: 4.125 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1443, allocations: 61.66 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1443, allocations: 0 / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1444, allocations: 0 / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1444, allocations: 0 / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.1445, allocations: 31.97 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1449, allocations: 308.7 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.145, allocations: 46.56 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1451, allocations: 20.94 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1451, allocations: 4 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1451, allocations: 34.5 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1451, allocations: 0 / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009823/0.1461, allocations: 237 kB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1462, allocations: 59.34 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.1465, allocations: 238.6 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1466, allocations: 29.7 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.1467, allocations: 108.1 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1467, allocations: 35.61 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1468, allocations: 17.72 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.147, allocations: 322.8 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1471, allocations: 35.97 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1472, allocations: 31.98 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1473, allocations: 72.81 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1473, allocations: 0 / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002404/0.1476, allocations: 109.5 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1476, allocations: 4 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1476, allocations: 0 / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1477, allocations: 4 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1478, allocations: 19.98 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1478, allocations: 7.875 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.1478, allocations: 4 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1479, allocations: 4 kB / 474.5 MB, free: 8.836 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.0001299/0.148, allocations: 130.9 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.148, allocations: 15.8 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.1484, allocations: 143.3 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1484, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1484, allocations: 7.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1484, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.1491, allocations: 415.2 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1491, allocations: 11.97 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.1492, allocations: 23.98 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1492, allocations: 0 / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1492, allocations: 0 / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1492, allocations: 4 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1492, allocations: 432 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1496, allocations: 220.2 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.1497, allocations: 92.86 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1497, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1498, allocations: 4 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.1499, allocations: 19.91 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1499, allocations: 0 / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.1501, allocations: 187.2 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1501, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1504, allocations: 16 kB / 475.8 MB, free: 7.465 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.00194/0.1523, allocations: 1.098 MB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1527, allocations: 79.83 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1527, allocations: 4 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1528, allocations: 35.98 kB / 477 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.1533, allocations: 19.45 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1553, allocations: 1.778 MB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1556, allocations: 0.7119 MB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1557, allocations: 20.64 kB / 479.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.1558, allocations: 35.42 kB / 479.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1558, allocations: 4 kB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1787, allocations: 3.163 MB / 482.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.581, allocations: 11.17 kB / 482.8 MB, free: 0.6289 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches