Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001222/0.001222, 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.001425/0.001425, 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.415/1.415, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2176/0.2176, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.81 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1519, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003632/0.1556, allocations: 1.564 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.1565, allocations: 423.1 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.1566, allocations: 0 / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1569, allocations: 23.86 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1572, allocations: 39.78 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1576, allocations: 87.69 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1577, allocations: 59.91 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1579, allocations: 16.17 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.1579, allocations: 27.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.158, allocations: 27.84 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1581, allocations: 4 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1582, allocations: 47.98 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1583, allocations: 19.91 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1583, allocations: 19.88 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1586, allocations: 107.9 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1586, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1586, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1586, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005315/0.1592, allocations: 383.2 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1592, allocations: 8.031 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1593, allocations: 38.75 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1593, allocations: 4.844 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1595, allocations: 188.3 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1595, allocations: 384 / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1596, allocations: 8.125 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1598, allocations: 71.39 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1598, allocations: 7.844 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1598, allocations: 0 / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1598, allocations: 0 / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1599, allocations: 27.98 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1604, allocations: 304.8 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1605, allocations: 58.5 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.1606, allocations: 24.97 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1606, allocations: 3.984 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1607, allocations: 30.56 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1607, allocations: 7.938 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006761/0.1614, allocations: 189.2 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1614, allocations: 77.11 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1616, allocations: 140.9 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1616, allocations: 29.7 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.1617, allocations: 88.14 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1617, allocations: 31.64 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.1618, allocations: 17.72 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1619, allocations: 326.8 kB / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.162, allocations: 27.98 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.1621, allocations: 53.62 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1623, allocations: 72.84 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1623, allocations: 0 / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002564/0.1626, allocations: 109.5 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.1626, allocations: 8 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1627, allocations: 0 / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.1627, allocations: 0 / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1628, allocations: 19.98 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1628, allocations: 0 / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1629, allocations: 15.94 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1629, allocations: 4.266 kB / 474.1 MB, free: 9.215 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 (9): * Single equations (assignments): 9 * 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.0001005/0.163, allocations: 113.8 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.163, allocations: 7.906 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1634, allocations: 126.1 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1634, allocations: 0 / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1634, allocations: 4 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1634, allocations: 11.92 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.1639, allocations: 390.8 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.164, allocations: 0 / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.164, allocations: 19.98 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1641, allocations: 7.875 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1641, allocations: 0 / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1641, allocations: 8 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1641, allocations: 0 / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1644, allocations: 199.4 kB / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.1644, allocations: 81.02 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1644, allocations: 3.938 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1645, allocations: 7.984 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1646, allocations: 8 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1646, allocations: 11.98 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.1647, allocations: 107.2 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.165, allocations: 31.98 kB / 475.3 MB, free: 7.992 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 (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.001597/0.1666, allocations: 1.071 MB / 476.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1669, allocations: 71.95 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1669, allocations: 4 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.167, allocations: 35.92 kB / 476.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1674, allocations: 19.83 kB / 476.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1692, allocations: 1.518 MB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1696, allocations: 0.6924 MB / 478.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.1697, allocations: 24.94 kB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.1697, allocations: 31.53 kB / 478.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1698, allocations: 0 / 478.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.1935, allocations: 2.995 MB / 481.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.837, allocations: 2.953 kB / 481.7 MB, free: 1.656 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches