Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001103/0.001103, allocations: 101.3 kB / 16.4 MB, free: 6.438 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.001072/0.001072, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1981/0.1981, allocations: 43.52 MB / 314.1 MB, free: 460 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.002703/0.002703, allocations: 65.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.141, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00307/0.1441, allocations: 1.569 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.1448, allocations: 331.6 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.1449, allocations: 0 / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.1456, allocations: 455.1 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.146, allocations: 255.5 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1464, allocations: 147.7 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1466, allocations: 155.7 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1468, allocations: 23.95 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1469, allocations: 99.8 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1471, allocations: 215.6 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1471, allocations: 4 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1472, allocations: 23.97 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.1473, allocations: 75.7 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.1474, allocations: 103 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1477, allocations: 246.7 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1477, allocations: 3.938 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1477, allocations: 0 / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1478, allocations: 4 kB / 0.491 GB, free: 8.59 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.0007092/0.1485, allocations: 0.6486 MB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1485, allocations: 15.89 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.1486, allocations: 34.73 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1486, allocations: 44.66 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1489, allocations: 296.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1489, allocations: 8.375 kB / 0.492 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.149, allocations: 384 / 0.492 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1491, allocations: 49.62 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1491, allocations: 4 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1491, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1492, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.1493, allocations: 35.91 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.1497, allocations: 380.8 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.1498, allocations: 30.56 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.1499, allocations: 24.91 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1499, allocations: 0 / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.15, allocations: 38.5 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.15, allocations: 0 / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002764/0.1502, allocations: 105.4 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1503, allocations: 51.41 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.1511, allocations: 0.8693 MB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1511, allocations: 25.7 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1513, allocations: 224 kB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1513, allocations: 7.938 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.1513, allocations: 21.66 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1515, allocations: 362.7 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.1515, allocations: 8 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.1516, allocations: 23.86 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.1517, allocations: 24.84 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1517, allocations: 4 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001471/0.1518, allocations: 97.39 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1518, allocations: 4 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1519, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1519, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.1519, allocations: 4 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.152, allocations: 4.094 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.152, allocations: 4 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.152, allocations: 4 kB / 0.4943 GB, free: 4.934 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 (2): * Single equations (assignments): 2 * 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.0001751/0.1522, allocations: 221.6 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.1523, allocations: 47.67 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1525, allocations: 108.7 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1525, allocations: 3.984 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1525, allocations: 4.031 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1525, allocations: 0 / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.1528, allocations: 285.5 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1528, allocations: 0 / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.1528, allocations: 4 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1528, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1528, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1529, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1529, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1531, allocations: 203.1 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.1532, allocations: 112.8 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1532, allocations: 8 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1533, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1533, allocations: 4 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1533, allocations: 0 / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005752/0.1539, allocations: 0.6511 MB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1542, allocations: 23.97 kB / 0.4959 GB, free: 3.18 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 (2): * Single equations (assignments): 2 * 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.001122/0.1553, allocations: 0.9747 MB / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1554, allocations: 27.97 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1555, allocations: 0 / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.1555, allocations: 15.94 kB / 0.4969 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1559, allocations: 30.23 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.1591, allocations: 3.154 MB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1596, allocations: 0.8182 MB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.1596, allocations: 15.92 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1598, allocations: 111.4 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1598, allocations: 0 / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.1818, allocations: 5.731 MB / 0.5066 GB, free: 8.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.396, allocations: 12.02 kB / 0.5066 GB, free: 8.168 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches