Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.0008012/0.0008011, allocations: 98.47 kB / 17 MB, free: 6.402 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.0008782/0.000878, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.367/1.367, allocations: 223.3 MB / 241.9 MB, free: 14.6 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.2134/0.2134, allocations: 44.23 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003256, allocations: 15.98 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001953/0.1272, allocations: 1.349 MB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.1279, allocations: 411.5 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.1279, allocations: 0 / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1281, allocations: 23.91 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1282, allocations: 31.84 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1285, allocations: 119.5 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1287, allocations: 75.75 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.1288, allocations: 8.234 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.1288, allocations: 35.84 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1289, allocations: 31.84 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1289, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.129, allocations: 47.97 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1291, allocations: 15.92 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1291, allocations: 37.58 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1293, allocations: 88.08 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1293, allocations: 0 / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1293, allocations: 0 / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1293, allocations: 0 / 473.9 MB, free: 11.31 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.0005395/0.1298, allocations: 415 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1299, allocations: 8.031 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1299, allocations: 38.56 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.13, allocations: 11.81 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1302, allocations: 193.1 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1302, allocations: 11.95 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1302, allocations: 7.984 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1305, allocations: 99.34 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1305, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1306, allocations: 8 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1306, allocations: 4 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.1309, allocations: 87.92 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1314, allocations: 312.7 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1316, allocations: 78.53 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1318, allocations: 56.95 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1318, allocations: 3.984 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1318, allocations: 34.5 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1318, allocations: 0 / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001568/0.1334, allocations: 472.8 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.1335, allocations: 81.11 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1336, allocations: 158.3 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1337, allocations: 33.7 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1338, allocations: 96.31 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1338, allocations: 31.62 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.1338, allocations: 4 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.134, allocations: 318.8 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1342, allocations: 95.86 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.1345, allocations: 113.7 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1348, allocations: 92.09 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1348, allocations: 4 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006029/0.1354, allocations: 237.4 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1355, allocations: 4 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1355, allocations: 0 / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1355, allocations: 0 / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1357, allocations: 47.95 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1357, allocations: 0 / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1359, allocations: 43.95 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1359, allocations: 7.953 kB / 477.1 MB, free: 7.922 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.136, allocations: 114.4 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1361, allocations: 7.906 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.1368, allocations: 258.1 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1368, allocations: 0 / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1368, allocations: 4 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1368, allocations: 0 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.1377, allocations: 0.5294 MB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1378, allocations: 384 / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1379, allocations: 55.95 kB / 478 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.138, allocations: 0 / 478 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.138, allocations: 4.281 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.138, allocations: 3.984 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.138, allocations: 3.953 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.1386, allocations: 331.2 kB / 478.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1387, allocations: 92.91 kB / 478.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1387, allocations: 4 kB / 478.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1389, allocations: 39.97 kB / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.139, allocations: 15.92 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.139, allocations: 0 / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.716e-05/0.1391, allocations: 113.3 kB / 478.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1391, allocations: 0 / 478.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1394, allocations: 43.92 kB / 478.7 MB, free: 6.219 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/0.1413, allocations: 1.188 MB / 479.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.1419, allocations: 211.7 kB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1419, allocations: 0 / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.1422, allocations: 107.9 kB / 480.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1425, allocations: 15.98 kB / 480.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1443, allocations: 0.876 MB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1446, allocations: 0.6965 MB / 481.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.864e-05/0.1447, allocations: 20.53 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.1448, allocations: 31.42 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1448, allocations: 0 / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1602, allocations: 3.138 MB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.1605, allocations: 240.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.098, allocations: 3.938 kB / 485.2 MB, free: 15.91 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat