Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.00075/0.0007502, allocations: 93.11 kB / 17.35 MB, free: 6.375 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.0008219/0.0008223, allocations: 174.1 kB / 18.25 MB, free: 5.523 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.316/1.316, allocations: 223.3 MB / 242.3 MB, free: 220 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.1887/0.1887, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 8.656 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.001999/0.1281, allocations: 1.357 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.129, allocations: 411.3 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.129, allocations: 0 / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1293, allocations: 47.86 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1295, allocations: 55.81 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1299, allocations: 119.3 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1301, allocations: 71.81 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1302, allocations: 15.98 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.1303, allocations: 31.84 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.1304, allocations: 43.83 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1304, allocations: 8 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1305, allocations: 43.98 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.1306, allocations: 19.92 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.1307, allocations: 53.44 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1309, allocations: 103.9 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1309, allocations: 0 / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1309, allocations: 0 / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1309, allocations: 0 / 474.7 MB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005257/0.1314, allocations: 411.1 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1315, allocations: 12.03 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.1315, allocations: 34.75 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1316, allocations: 8.844 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1318, allocations: 196.1 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1318, allocations: 384 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1318, allocations: 12.31 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.132, allocations: 69.55 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.132, allocations: 11.98 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.132, allocations: 4 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.132, allocations: 0 / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1322, allocations: 43.97 kB / 475.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.1325, allocations: 316.6 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1328, allocations: 58.55 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1329, allocations: 28.97 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1329, allocations: 4 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1329, allocations: 30.56 kB / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1329, allocations: 0 / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001488/0.1344, allocations: 472.8 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1345, allocations: 51.41 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1347, allocations: 192.5 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1347, allocations: 25.7 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1347, allocations: 104.1 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1348, allocations: 31.47 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1348, allocations: 21.7 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1349, allocations: 322.8 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1351, allocations: 51.97 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1352, allocations: 59.95 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1355, allocations: 112.8 kB / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1355, allocations: 0 / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003155/0.1358, allocations: 153.5 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1358, allocations: 8 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1358, allocations: 11.92 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1359, allocations: 3.938 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.136, allocations: 27.98 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.136, allocations: 0 / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.1361, allocations: 19.92 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1361, allocations: 8 kB / 477.6 MB, free: 7.773 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 (11): * Single equations (assignments): 11 * 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 8.941e-05/0.1362, allocations: 125.8 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1362, allocations: 15.81 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.1366, allocations: 174.9 kB / 477.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1366, allocations: 7.938 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1366, allocations: 0 / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.1366, allocations: 7.984 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.1372, allocations: 488 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1373, allocations: 0 / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1374, allocations: 32.05 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1374, allocations: 7.938 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1374, allocations: 0 / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1374, allocations: 4 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1374, allocations: 3.938 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1378, allocations: 269 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1378, allocations: 92.98 kB / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1379, allocations: 8 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.138, allocations: 15.98 kB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.138, allocations: 7.984 kB / 478.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.138, allocations: 4 kB / 478.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1381, allocations: 143.2 kB / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1381, allocations: 0 / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1384, allocations: 27.98 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001524/0.1399, allocations: 1.158 MB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.1403, allocations: 115.9 kB / 480.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1403, allocations: 8 kB / 480.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1404, allocations: 63.91 kB / 480.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1408, allocations: 22.3 kB / 480.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1428, allocations: 1.857 MB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.143, allocations: 0.7119 MB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.969e-05/0.1431, allocations: 20.41 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.1432, allocations: 31.42 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1432, allocations: 4 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.1555, allocations: 2.825 MB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.1557, allocations: 233 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.938, allocations: 0 / 486 MB, free: 15.33 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches