Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001595/0.001595, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.001891/0.001891, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.421/1.421, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.1968/0.1968, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.73 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003781/0.1414, allocations: 1.68 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.1425, allocations: 0.6605 MB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1425, allocations: 7.938 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1428, allocations: 27.89 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.143, allocations: 31.91 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.41e-06/0.1431, allocations: 4 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1433, allocations: 43.83 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1433, allocations: 0 / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.1434, allocations: 11.94 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1435, allocations: 23.91 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1435, allocations: 0 / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.1435, allocations: 12 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.1436, allocations: 11.98 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.1436, allocations: 19.81 kB / 471.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1438, allocations: 83.88 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1438, allocations: 0 / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1438, allocations: 0 / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1438, allocations: 0 / 471.4 MB, free: 12.02 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004653/0.1443, allocations: 367.3 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1444, allocations: 8.031 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.1444, allocations: 38.75 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1444, allocations: 4.844 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1446, allocations: 172.3 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1446, allocations: 4.375 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1446, allocations: 4.375 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1449, allocations: 123.3 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1449, allocations: 3.938 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1449, allocations: 4 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.1449, allocations: 23.92 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.145, allocations: 47.91 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.1457, allocations: 0.8867 MB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1459, allocations: 169.1 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.1459, allocations: 84.08 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.146, allocations: 79.28 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/0.146, allocations: 105.9 kB / 473.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.146, allocations: 7.938 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.348e-05/0.1461, allocations: 33.61 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.1462, allocations: 130.7 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1464, allocations: 186.1 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1464, allocations: 25.7 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1466, allocations: 147.1 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.1466, allocations: 3.984 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1466, allocations: 41.62 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1468, allocations: 330.8 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.1469, allocations: 35.92 kB / 474.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.147, allocations: 156 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.1473, allocations: 196.9 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1473, allocations: 0 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003605/0.1477, allocations: 209 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1477, allocations: 4.625 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1477, allocations: 4 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.1478, allocations: 12 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1479, allocations: 35.92 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1479, allocations: 8 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.148, allocations: 27.69 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1481, allocations: 11.98 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001451/0.1482, allocations: 209 kB / 475.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.1483, allocations: 124.8 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.1484, allocations: 120.9 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.1485, allocations: 180.2 kB / 475.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001586/0.1487, allocations: 176.3 kB / 475.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.244e-05/0.1488, allocations: 188.2 kB / 476.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.149, allocations: 429.1 kB / 476.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.367e-05/0.1491, allocations: 113 kB / 476.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.1491, allocations: 104.9 kB / 476.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.1492, allocations: 176.3 kB / 476.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.1493, allocations: 176.3 kB / 477.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/0.1494, allocations: 184.2 kB / 477.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.1495, allocations: 176.3 kB / 477.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1497, allocations: 323.6 kB / 477.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.1498, allocations: 182 kB / 477.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.1499, allocations: 184.2 kB / 478.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.15, allocations: 109 kB / 478.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1501, allocations: 188.2 kB / 478.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.1501, allocations: 101 kB / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1503, allocations: 136 kB / 478.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1503, allocations: 0 / 478.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1506, allocations: 16 kB / 478.6 MB, free: 4.203 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 (0): * Single equations (assignments): 0 * 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.0008867/0.1515, allocations: 0.9242 MB / 479.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1517, allocations: 67.8 kB / 479.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1517, allocations: 1.25 kB / 479.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.1517, allocations: 3.984 kB / 479.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.1521, allocations: 467.7 kB / 480.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1539, allocations: 1.882 MB / 482 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1542, allocations: 0.7084 MB / 482.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.1545, allocations: 49.02 kB / 482.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.1546, allocations: 31.42 kB / 482.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1546, allocations: 0 / 482.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.1692, allocations: 1.944 MB / 484.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.1694, allocations: 240.4 kB / 484.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.157, allocations: 3.938 kB / 484.9 MB, free: 13.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches