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.001527/0.001527, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001793/0.001793, allocations: 194 kB / 18.12 MB, free: 5.383 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.36/1.36, allocations: 222.9 MB / 241.8 MB, free: 15.37 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.267/0.267, allocations: 44.18 MB / 336.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 60.66 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003327/0.1253, allocations: 1.673 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.1263, allocations: 0.6604 MB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.1264, allocations: 0 / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1266, allocations: 27.91 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1268, allocations: 35.89 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.038e-06/0.1269, allocations: 0 / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.127, allocations: 59.81 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1271, allocations: 11.94 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.1271, allocations: 7.938 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.1272, allocations: 19.91 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1272, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.1273, allocations: 11.94 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1273, allocations: 15.98 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1274, allocations: 19.81 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1275, allocations: 71.95 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1275, allocations: 4 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1275, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1275, allocations: 0 / 471.3 MB, free: 12.11 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.0004155/0.128, allocations: 367.3 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.128, allocations: 12.03 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.1281, allocations: 38.75 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1281, allocations: 4.844 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1282, allocations: 180.2 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1283, allocations: 384 / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1283, allocations: 8.375 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1285, allocations: 115.4 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1285, allocations: 7.875 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1285, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.1286, allocations: 27.97 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.1287, allocations: 47.91 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.1293, allocations: 0.8867 MB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.1294, allocations: 169.1 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.1295, allocations: 88.08 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1295, allocations: 79.31 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.1296, allocations: 113.8 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.522e-06/0.1296, allocations: 0 / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.1297, allocations: 37.61 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1297, allocations: 126.7 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1299, allocations: 186.1 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.13, allocations: 25.7 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.1301, allocations: 147.1 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/0.1301, allocations: 3.984 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1301, allocations: 45.61 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1303, allocations: 326.8 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.1303, allocations: 27.98 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1304, allocations: 159.4 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1307, allocations: 200.9 kB / 474.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1307, allocations: 0 / 474.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003126/0.131, allocations: 209 kB / 474.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.131, allocations: 8 kB / 474.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.131, allocations: 4.625 kB / 474.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1311, allocations: 12 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1312, allocations: 35.92 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1312, allocations: 7.938 kB / 474.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.1313, allocations: 31.69 kB / 474.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1313, allocations: 8 kB / 474.9 MB, free: 8.023 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.0001188/0.1314, allocations: 213 kB / 475.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.1315, allocations: 112.8 kB / 475.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1316, allocations: 128.9 kB / 475.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/0.1317, allocations: 180.2 kB / 475.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/0.1317, allocations: 176.3 kB / 475.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.087e-05/0.1318, allocations: 180.2 kB / 475.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1321, allocations: 425.1 kB / 476.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.1321, allocations: 101 kB / 476.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.1322, allocations: 116.9 kB / 476.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.828e-05/0.1323, allocations: 180.2 kB / 476.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.1324, allocations: 180.2 kB / 476.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.583e-05/0.1324, allocations: 176.3 kB / 477.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.1326, allocations: 184.2 kB / 477.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1328, allocations: 319.6 kB / 477.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.1329, allocations: 189.9 kB / 477.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.1329, allocations: 176.3 kB / 477.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.133, allocations: 105 kB / 478 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.1331, allocations: 192.2 kB / 478.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.1332, allocations: 105 kB / 478.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1333, allocations: 128.1 kB / 478.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1333, allocations: 0 / 478.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1336, allocations: 16 kB / 478.4 MB, free: 4.293 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.0008049/0.1344, allocations: 0.9196 MB / 479.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1345, allocations: 71.78 kB / 479.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1346, allocations: 0 / 479.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.1346, allocations: 5.25 kB / 479.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.135, allocations: 0.5302 MB / 480 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.137, allocations: 1.876 MB / 481.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1374, allocations: 0.7009 MB / 482.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.1376, allocations: 53.02 kB / 482.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1377, allocations: 27.38 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1377, allocations: 0 / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.1523, allocations: 1.907 MB / 484.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1526, allocations: 236.2 kB / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.079, allocations: 0 / 484.8 MB, free: 13.84 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