Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001629/0.001629, 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.001935/0.001935, 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.392/1.392, 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.2257/0.2257, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.27 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.145, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003544/0.1486, allocations: 1.564 MB / 470.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.1495, allocations: 435.1 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.1495, allocations: 4 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1498, allocations: 19.84 kB / 471.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.15, allocations: 35.84 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1503, allocations: 122.7 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1504, allocations: 59.84 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1506, allocations: 8.188 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.1506, allocations: 27.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.1507, allocations: 27.84 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1507, allocations: 4 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1508, allocations: 47.97 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.1509, allocations: 19.92 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1509, allocations: 23.86 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1511, allocations: 95.98 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1512, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1512, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1512, allocations: 0 / 471.8 MB, free: 11.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004754/0.1517, allocations: 379.2 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1517, allocations: 8.031 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1518, allocations: 38.75 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1518, allocations: 12.84 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.152, allocations: 188.2 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.152, allocations: 384 / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.152, allocations: 4.125 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1522, allocations: 63.41 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1522, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1522, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1523, allocations: 3.984 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.1524, allocations: 31.91 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1528, allocations: 288.9 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1529, allocations: 50.5 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.153, allocations: 20.94 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.153, allocations: 8 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1531, allocations: 30.56 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1531, allocations: 0 / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006227/0.1537, allocations: 185.2 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1538, allocations: 77.11 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1539, allocations: 144.8 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1539, allocations: 25.7 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.154, allocations: 96.12 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.154, allocations: 23.5 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.1541, allocations: 21.72 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1542, allocations: 326.8 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.1543, allocations: 31.97 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.1544, allocations: 41.7 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1546, allocations: 73.03 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1546, allocations: 0 / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/0.1548, allocations: 113.5 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1548, allocations: 4 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1548, allocations: 0 / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1548, allocations: 32 / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.155, allocations: 23.98 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.155, allocations: 0 / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.155, allocations: 11.92 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.155, allocations: 0 / 474.1 MB, free: 9.273 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 9.58e-05/0.1551, allocations: 121.8 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1552, allocations: 7.844 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1554, allocations: 114 kB / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1555, allocations: 0 / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1555, allocations: 4 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1555, allocations: 7.922 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.156, allocations: 386.4 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.156, allocations: 0 / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.1561, allocations: 19.98 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1561, allocations: 3.938 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1561, allocations: 0 / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1561, allocations: 0 / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1561, allocations: 4 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1563, allocations: 191.4 kB / 474.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1564, allocations: 89 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1564, allocations: 11.94 kB / 475 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1565, allocations: 4 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1565, allocations: 3.984 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1565, allocations: 4 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.1566, allocations: 103.3 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1569, allocations: 27.98 kB / 475.2 MB, free: 8.086 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.001456/0.1584, allocations: 1.088 MB / 476.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1586, allocations: 67.94 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1587, allocations: 4 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.1587, allocations: 39.91 kB / 476.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1592, allocations: 14.92 kB / 476.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1609, allocations: 1.486 MB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1612, allocations: 0.6924 MB / 478.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.1613, allocations: 24.94 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.1614, allocations: 31.42 kB / 478.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1614, allocations: 0 / 478.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1804, allocations: 2.94 MB / 481.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.704, allocations: 10.62 kB / 481.6 MB, free: 1.816 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches