Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0008366/0.0008366, allocations: 93.69 kB / 17.35 MB, free: 6.371 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.0008076/0.0008075, allocations: 173.3 kB / 18.25 MB, free: 5.527 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.356/1.356, allocations: 223.2 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003434, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 61.92 MB / 472.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00236/0.1259, allocations: 1.337 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.1269, allocations: 423.3 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.127, allocations: 0 / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.1275, allocations: 447.2 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1279, allocations: 243.6 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1283, allocations: 118.6 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1286, allocations: 163.6 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1287, allocations: 12.19 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1288, allocations: 107.8 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1291, allocations: 203.6 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1291, allocations: 0 / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.1292, allocations: 27.98 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.1293, allocations: 91.67 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.1294, allocations: 124.6 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1296, allocations: 255.1 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1297, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1297, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1297, allocations: 0 / 475.8 MB, free: 9.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000666/0.1303, allocations: 0.5912 MB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1304, allocations: 8.031 kB / 476.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1304, allocations: 42.75 kB / 476.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1305, allocations: 40.38 kB / 476.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1307, allocations: 296.2 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1308, allocations: 384 / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1308, allocations: 12.06 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.131, allocations: 61.61 kB / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.131, allocations: 0 / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.131, allocations: 4 kB / 476.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.131, allocations: 4 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1312, allocations: 43.97 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1316, allocations: 388.7 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1318, allocations: 58.5 kB / 477.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.1319, allocations: 24.94 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1319, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1319, allocations: 38.56 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.132, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009022/0.1329, allocations: 316.1 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1329, allocations: 51.41 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.1338, allocations: 0.8691 MB / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1338, allocations: 25.7 kB / 478.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1339, allocations: 208.1 kB / 478.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.134, allocations: 27.72 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.134, allocations: 13.72 kB / 478.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1342, allocations: 358.8 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1343, allocations: 47.95 kB / 479.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1344, allocations: 39.97 kB / 479.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.1347, allocations: 101 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1347, allocations: 0 / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003043/0.135, allocations: 157.1 kB / 479.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.135, allocations: 4 kB / 479.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.135, allocations: 3.984 kB / 479.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.135, allocations: 3.984 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1352, allocations: 27.98 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1352, allocations: 3.938 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.1353, allocations: 15.98 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1353, allocations: 7.938 kB / 479.7 MB, free: 5.637 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001764/0.1355, allocations: 209.7 kB / 479.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.1355, allocations: 43.44 kB / 479.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.1359, allocations: 181.4 kB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1359, allocations: 0 / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1359, allocations: 7.875 kB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1359, allocations: 8 kB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.1366, allocations: 0.4984 MB / 480.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1366, allocations: 0 / 480.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.1367, allocations: 31.97 kB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1367, allocations: 3.938 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1367, allocations: 0 / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1367, allocations: 0 / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1367, allocations: 8 kB / 480.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.1371, allocations: 258.9 kB / 480.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.1372, allocations: 116.5 kB / 481 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1372, allocations: 11.94 kB / 481 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1373, allocations: 12 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1374, allocations: 3.984 kB / 481.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1374, allocations: 4 kB / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.138, allocations: 0.6511 MB / 481.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.138, allocations: 0 / 481.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1383, allocations: 28 kB / 481.7 MB, free: 3.469 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 (7): * Single equations (assignments): 7 * 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.001431/0.1397, allocations: 1.089 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.14, allocations: 103.9 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.14, allocations: 0 / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1402, allocations: 43.97 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1405, allocations: 25.95 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.1442, allocations: 3.424 MB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1446, allocations: 0.8302 MB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.1447, allocations: 8.984 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1448, allocations: 103.4 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1448, allocations: 0 / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.16, allocations: 5.498 MB / 492.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.1602, allocations: 231.8 kB / 493.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.038, allocations: 4.062 kB / 493.1 MB, free: 8.215 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches