Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001066/0.001066, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001021/0.001021, allocations: 170.3 kB / 18.25 MB, free: 5.504 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.363/1.363, allocations: 223.2 MB / 242.3 MB, free: 204 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.1943/0.1943, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 61.92 MB / 472.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002361/0.1267, allocations: 1.349 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.1276, allocations: 431.2 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.1277, allocations: 0 / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.1283, allocations: 447.2 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1286, allocations: 243.5 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1289, allocations: 119.7 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1292, allocations: 163.7 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1293, allocations: 12 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1294, allocations: 111.7 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1297, allocations: 203.6 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1297, allocations: 3.938 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.1298, allocations: 47.92 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.13, allocations: 87.67 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1301, allocations: 124.7 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1304, allocations: 259.2 kB / 475.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1305, allocations: 0 / 475.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1305, allocations: 0 / 475.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1305, allocations: 4 kB / 475.9 MB, free: 9.656 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.000735/0.1312, allocations: 0.6029 MB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1313, allocations: 12.03 kB / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.1313, allocations: 34.69 kB / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.1314, allocations: 44.38 kB / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1317, allocations: 308.1 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1317, allocations: 4.375 kB / 476.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1318, allocations: 4.375 kB / 476.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.132, allocations: 69.61 kB / 477 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.132, allocations: 3.938 kB / 477 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.132, allocations: 4 kB / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.132, allocations: 0 / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1321, allocations: 47.97 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1327, allocations: 400.6 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.133, allocations: 70.58 kB / 477.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.133, allocations: 24.97 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1331, allocations: 4 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1331, allocations: 30.56 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1331, allocations: 0 / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001599/0.1347, allocations: 0.535 MB / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1348, allocations: 55.34 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.1356, allocations: 0.8574 MB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1356, allocations: 29.7 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1358, allocations: 216.1 kB / 479.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1359, allocations: 35.45 kB / 479.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.1359, allocations: 13.72 kB / 479.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1361, allocations: 366.8 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1362, allocations: 51.91 kB / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1363, allocations: 52.02 kB / 479.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1367, allocations: 116.8 kB / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1367, allocations: 0 / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003314/0.137, allocations: 189 kB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1371, allocations: 7.938 kB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1371, allocations: 7.984 kB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1371, allocations: 3.938 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1372, allocations: 31.98 kB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1372, allocations: 0 / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.1373, allocations: 19.92 kB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1373, allocations: 4 kB / 480.1 MB, free: 5.207 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 0.0001927/0.1375, allocations: 209.8 kB / 480.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1376, allocations: 43.44 kB / 480.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.138, allocations: 229.3 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.138, allocations: 3.938 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.138, allocations: 0 / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1381, allocations: 3.984 kB / 480.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.1388, allocations: 0.5858 MB / 481.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1388, allocations: 3.938 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.1389, allocations: 31.97 kB / 481.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1389, allocations: 0 / 481.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.139, allocations: 8 kB / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.139, allocations: 0 / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.139, allocations: 0 / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.1394, allocations: 304.6 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1395, allocations: 116.5 kB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1396, allocations: 0 / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1397, allocations: 19.98 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1398, allocations: 7.984 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1398, allocations: 4 kB / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006073/0.1404, allocations: 0.655 MB / 482.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1404, allocations: 0 / 482.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1406, allocations: 32 kB / 482.4 MB, free: 2.848 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.001615/0.1423, allocations: 1.199 MB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.1427, allocations: 127.9 kB / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1427, allocations: 0 / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1428, allocations: 63.91 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1432, allocations: 30.08 kB / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.1474, allocations: 3.565 MB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.148, allocations: 0.8262 MB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.1481, allocations: 24.53 kB / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1482, allocations: 103.4 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1482, allocations: 0 / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1657, allocations: 5.854 MB / 494.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.166, allocations: 238 kB / 494.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/1.997, allocations: 0 / 494.4 MB, free: 6.941 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches