Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.0016/0.0016, allocations: 105 kB / 16.4 MB, free: 6.461 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.00157/0.00157, allocations: 192.2 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.24/0.24, allocations: 43.53 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.002058/0.002058, allocations: 65.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1458, allocations: 57.81 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.00387/0.1497, allocations: 1.833 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1511, allocations: 0.6393 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.1512, allocations: 4 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.1517, allocations: 243.3 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.1521, allocations: 195.3 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1532, allocations: 435.1 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.1536, allocations: 247.4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1538, allocations: 44.38 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.154, allocations: 123.5 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1542, allocations: 183.4 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1543, allocations: 11.94 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1544, allocations: 43.98 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1546, allocations: 83.69 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1547, allocations: 103.2 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.1551, allocations: 274.6 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1551, allocations: 7.938 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1551, allocations: 0 / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1551, allocations: 4 kB / 0.4917 GB, free: 7.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001001/0.1562, allocations: 0.626 MB / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1562, allocations: 15.89 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1563, allocations: 34.75 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.1563, allocations: 40.66 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1568, allocations: 322.5 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1568, allocations: 384 / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1568, allocations: 16.31 kB / 0.4928 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.157, allocations: 81.25 kB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1571, allocations: 4 kB / 0.4928 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1571, allocations: 4 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1571, allocations: 0 / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1572, allocations: 47.97 kB / 0.4929 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.1579, allocations: 436.5 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1581, allocations: 62.55 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.1581, allocations: 32.91 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1582, allocations: 3.984 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1582, allocations: 34.56 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1582, allocations: 0 / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003712/0.1586, allocations: 129.4 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1587, allocations: 63.28 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.1593, allocations: 0.5448 MB / 0.4942 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1593, allocations: 25.7 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1595, allocations: 204.1 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1596, allocations: 19.84 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.1596, allocations: 17.72 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1598, allocations: 350.8 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.1599, allocations: 23.92 kB / 0.4948 GB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.1599, allocations: 19.98 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1601, allocations: 48.84 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1601, allocations: 0 / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002226/0.1603, allocations: 109.4 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1603, allocations: 4 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1604, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1604, allocations: 3.938 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1605, allocations: 19.94 kB / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1605, allocations: 3.984 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.1606, allocations: 15.92 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1606, allocations: 0 / 0.495 GB, free: 4.266 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 (6): * Single equations (assignments): 6 * 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.0001967/0.1608, allocations: 165.8 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.1609, allocations: 35.77 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1612, allocations: 124.9 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1612, allocations: 7.938 kB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1612, allocations: 4.5 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1612, allocations: 3.984 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1616, allocations: 273.5 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1616, allocations: 4 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1617, allocations: 15.94 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1617, allocations: 0 / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1617, allocations: 11.92 kB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1617, allocations: 3.938 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1617, allocations: 4 kB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.162, allocations: 211.3 kB / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.1621, allocations: 116.8 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1621, allocations: 0 / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.1622, allocations: 11.92 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1623, allocations: 8 kB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.1623, allocations: 0 / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004471/0.1627, allocations: 411.1 kB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.163, allocations: 35.94 kB / 0.4964 GB, free: 2.754 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 (6): * Single equations (assignments): 6 * 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.002743/0.1658, allocations: 1.226 MB / 0.4976 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.166, allocations: 51.91 kB / 0.4976 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.166, allocations: 0 / 0.4976 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.1661, allocations: 27.98 kB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.1667, allocations: 77.23 kB / 0.4977 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.1703, allocations: 2.725 MB / 0.5004 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.1708, allocations: 0.7904 MB / 0.5011 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.171, allocations: 33.5 kB / 0.5012 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1711, allocations: 99.39 kB / 0.5013 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1711, allocations: 4 kB / 0.5013 GB, free: 13.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.2042, allocations: 6.444 MB / 0.5076 GB, free: 7.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.276, allocations: 7.969 kB / 0.5076 GB, free: 7.156 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches