Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001199/0.001199, allocations: 103.8 kB / 16.41 MB, free: 6.465 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.001455/0.001455, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2475/0.2475, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 73.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1483, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003719/0.1521, allocations: 1.565 MB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.1529, allocations: 327.5 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.153, allocations: 0 / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.1534, allocations: 95.67 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1537, allocations: 79.72 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.154, allocations: 71.84 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1542, allocations: 83.75 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1544, allocations: 20.16 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.1544, allocations: 39.89 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1546, allocations: 55.83 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1546, allocations: 4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.1547, allocations: 27.98 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1548, allocations: 19.92 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.1548, allocations: 35.73 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1551, allocations: 107.5 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1551, allocations: 4 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1551, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1551, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006523/0.1558, allocations: 418.7 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.1558, allocations: 15.89 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.1559, allocations: 34.75 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.156, allocations: 12.84 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1562, allocations: 196.2 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1562, allocations: 8.359 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1563, allocations: 4.125 kB / 0.4905 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1564, allocations: 61.61 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1565, allocations: 4 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1565, allocations: 3.938 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1565, allocations: 4 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1566, allocations: 31.97 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1571, allocations: 300.8 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1572, allocations: 54.48 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.1573, allocations: 20.98 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1573, allocations: 0 / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1573, allocations: 30.56 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1573, allocations: 0 / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007051/0.158, allocations: 193.3 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1581, allocations: 55.41 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1584, allocations: 239.5 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1584, allocations: 29.7 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1585, allocations: 104.1 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.1586, allocations: 23.75 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.1586, allocations: 29.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1588, allocations: 322.8 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.1589, allocations: 20.36 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.1589, allocations: 31.92 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1591, allocations: 60.77 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1591, allocations: 4 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000243/0.1594, allocations: 109.5 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1594, allocations: 4 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1594, allocations: 0 / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.1594, allocations: 4 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1596, allocations: 19.98 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1596, allocations: 3.938 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.1596, allocations: 4 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1597, allocations: 4 kB / 0.4922 GB, free: 7.09 MB / 382.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.0001124/0.1598, allocations: 137.7 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1598, allocations: 11.91 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.1602, allocations: 119.4 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1602, allocations: 0 / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1602, allocations: 3.938 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1602, allocations: 0 / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.1607, allocations: 402.5 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1607, allocations: 0 / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.1608, allocations: 15.98 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1608, allocations: 3.938 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1608, allocations: 12 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1608, allocations: 0 / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1608, allocations: 0 / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1611, allocations: 199.4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1612, allocations: 89 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1612, allocations: 3.984 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1613, allocations: 7.984 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1613, allocations: 12 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1614, allocations: 0 / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1616, allocations: 175.2 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1616, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1618, allocations: 19.94 kB / 0.4934 GB, free: 5.789 MB / 382.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.001513/0.1634, allocations: 1.034 MB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1636, allocations: 59.97 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1636, allocations: 0 / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.1637, allocations: 39.91 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1641, allocations: 16 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1663, allocations: 1.683 MB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1667, allocations: 0.7119 MB / 0.4968 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.1667, allocations: 12.97 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.1668, allocations: 31.52 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1668, allocations: 7.938 kB / 0.4969 GB, free: 2.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1893, allocations: 2.989 MB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.251, allocations: 16.27 kB / 0.4998 GB, free: 15.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches