Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001148/0.001148, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001233/0.001233, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.539/1.539, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2165/0.2165, allocations: 43.52 MB / 314.1 MB, free: 472 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.00165/0.00165, allocations: 64.38 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004635/0.1595, allocations: 1.546 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.162, allocations: 0.9339 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.1621, allocations: 4 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1625, allocations: 19.86 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1628, allocations: 43.77 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1633, allocations: 83.77 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1635, allocations: 55.84 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1637, allocations: 15.98 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1638, allocations: 19.92 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.164, allocations: 27.84 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.164, allocations: 4 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1642, allocations: 43.98 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.1643, allocations: 19.91 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1643, allocations: 19.88 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1646, allocations: 87.66 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1647, allocations: 0 / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1647, allocations: 0 / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1647, allocations: 0 / 0.4903 GB, free: 9.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006955/0.1654, allocations: 382.5 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1655, allocations: 11.89 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.1655, allocations: 38.75 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1656, allocations: 4.891 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1659, allocations: 196.2 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1659, allocations: 4.375 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.166, allocations: 4.375 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1662, allocations: 67.33 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1662, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1662, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1663, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1664, allocations: 23.98 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.167, allocations: 280.8 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1673, allocations: 38.56 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.1674, allocations: 20.86 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1674, allocations: 8.016 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1675, allocations: 30.56 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.1675, allocations: 4 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008753/0.1684, allocations: 133.8 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.1685, allocations: 77.11 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1687, allocations: 129.8 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1688, allocations: 29.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1688, allocations: 88.14 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1689, allocations: 23.78 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1689, allocations: 25.66 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1691, allocations: 322.7 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1692, allocations: 19.98 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1694, allocations: 33.69 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1696, allocations: 49.06 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1696, allocations: 0 / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000314/0.1699, allocations: 85.61 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.17, allocations: 7.984 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.17, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.17, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1701, allocations: 15.94 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1702, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.1702, allocations: 7.984 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1703, allocations: 7.938 kB / 0.4923 GB, free: 6.977 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 (5): * Single equations (assignments): 5 * 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.0001164/0.1704, allocations: 117.8 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.1705, allocations: 7.953 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1709, allocations: 85.61 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1709, allocations: 0 / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1709, allocations: 4 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1709, allocations: 0 / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.1715, allocations: 354.4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1716, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.1717, allocations: 15.98 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1717, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1717, allocations: 192 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.1717, allocations: 7.938 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1717, allocations: 0 / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.1721, allocations: 179.4 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1722, allocations: 81.09 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1722, allocations: 4 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1724, allocations: 7.938 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.1724, allocations: 7.984 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1725, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1726, allocations: 103.2 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1726, allocations: 4 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.1731, allocations: 27.88 kB / 0.4933 GB, free: 5.875 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 (5): * Single equations (assignments): 5 * 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.002251/0.1753, allocations: 1.045 MB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1757, allocations: 43.97 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1757, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1758, allocations: 23.98 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.1764, allocations: 23.83 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1787, allocations: 1.381 MB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1791, allocations: 0.6885 MB / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.1792, allocations: 11.98 kB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1793, allocations: 23.42 kB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1793, allocations: 0 / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2038, allocations: 2.734 MB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.256, allocations: 7.906 kB / 0.4991 GB, free: 15.74 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches