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.001227/0.001227, allocations: 95.75 kB / 16.98 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.001429/0.001429, allocations: 183.7 kB / 17.87 MB, free: 5.957 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.33/1.33, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.192/0.192, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001963/0.1284, allocations: 1.314 MB / 472.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000881/0.1293, allocations: 0.6486 MB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.1294, allocations: 0 / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1295, allocations: 11.94 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.1297, allocations: 35.88 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.1297, allocations: 0 / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1299, allocations: 23.91 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1299, allocations: 4 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.13, allocations: 8 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.1301, allocations: 11.94 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1301, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.724e-05/0.1301, allocations: 15.97 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1302, allocations: 11.94 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1302, allocations: 37.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1303, allocations: 48.14 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1304, allocations: 3.938 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1304, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1304, allocations: 0 / 473.7 MB, free: 11.45 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.000412/0.1308, allocations: 367.2 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1308, allocations: 8.031 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.1309, allocations: 38.55 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1309, allocations: 7.906 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1311, allocations: 170.9 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1311, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1311, allocations: 7.891 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1313, allocations: 130.8 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1313, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1313, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.1314, allocations: 19.92 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.1315, allocations: 47.91 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.1321, allocations: 0.8906 MB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.1322, allocations: 169.1 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1322, allocations: 79.28 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.1323, allocations: 109.8 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 3.526e-06/0.1323, allocations: 96 / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.952e-05/0.1323, allocations: 37.55 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1324, allocations: 130.7 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1326, allocations: 178.1 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1326, allocations: 29.7 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.1327, allocations: 155.1 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-06/0.1327, allocations: 4 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.1327, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1328, allocations: 322.8 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.1329, allocations: 27.98 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.133, allocations: 158.9 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.1331, allocations: 75.91 kB / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1331, allocations: 0 / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002853/0.1334, allocations: 189.7 kB / 477 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1334, allocations: 8 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1335, allocations: 7.938 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1335, allocations: 7.984 kB / 477 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1336, allocations: 39.92 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1336, allocations: 7.938 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.1337, allocations: 23.78 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1337, allocations: 15.95 kB / 477.1 MB, free: 7.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.1339, allocations: 221.6 kB / 477.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.1339, allocations: 112.8 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.134, allocations: 116.8 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.048e-05/0.1341, allocations: 176.3 kB / 477.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.825e-05/0.1341, allocations: 188.2 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/0.1342, allocations: 176.3 kB / 478.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1344, allocations: 429.2 kB / 478.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-05/0.1345, allocations: 104.9 kB / 478.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.1345, allocations: 101 kB / 478.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.1346, allocations: 184.2 kB / 478.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.1347, allocations: 180.2 kB / 479.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.044e-05/0.1347, allocations: 184.3 kB / 479.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.324e-05/0.1348, allocations: 184.2 kB / 479.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1349, allocations: 315.5 kB / 479.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.135, allocations: 194 kB / 479.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.1351, allocations: 180.2 kB / 480.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.1352, allocations: 105 kB / 480.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.1353, allocations: 180.3 kB / 480.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.1353, allocations: 108.9 kB / 480.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.1354, allocations: 132.1 kB / 480.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1354, allocations: 0 / 480.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1357, allocations: 12 kB / 480.6 MB, free: 3.973 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 (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.0007643/0.1365, allocations: 0.9117 MB / 481.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1366, allocations: 72.91 kB / 481.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1367, allocations: 4.125 kB / 481.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.1367, allocations: 7.938 kB / 481.6 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.137, allocations: 0.5224 MB / 482.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1391, allocations: 3.633 MB / 485.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1394, allocations: 0.7048 MB / 486.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.1396, allocations: 53.02 kB / 486.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1397, allocations: 19.44 kB / 486.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1397, allocations: 3.938 kB / 486.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.1536, allocations: 1.888 MB / 488.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.1539, allocations: 219.8 kB / 488.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.896, allocations: 0 / 488.7 MB, free: 11.88 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat