Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.000839/0.0008389, allocations: 97 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.0008566/0.0008566, 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.362/1.362, allocations: 223.3 MB / 241.9 MB, free: 312 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.2016/0.2016, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00191/0.1261, allocations: 1.333 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.1268, allocations: 415.5 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.1269, allocations: 4 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1271, allocations: 51.86 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1272, allocations: 47.88 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1276, allocations: 155.2 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1278, allocations: 71.77 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1279, allocations: 19.97 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.1279, allocations: 23.92 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.128, allocations: 35.84 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.128, allocations: 3.984 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.1281, allocations: 47.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1282, allocations: 15.98 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.1282, allocations: 37.64 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1283, allocations: 88.08 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1283, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1284, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1284, allocations: 0 / 474 MB, free: 11.29 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.0004953/0.1289, allocations: 410.9 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1289, allocations: 12.03 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.129, allocations: 30.56 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.129, allocations: 11.89 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1292, allocations: 190.9 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1292, allocations: 8 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1292, allocations: 7.859 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1294, allocations: 73.55 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1295, allocations: 4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1295, allocations: 7.984 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1295, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1296, allocations: 43.97 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.1301, allocations: 336.7 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1303, allocations: 62.55 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.1304, allocations: 32.97 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1304, allocations: 0 / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1305, allocations: 38.55 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1305, allocations: 0 / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001392/0.1319, allocations: 0.4933 MB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1319, allocations: 55.41 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1321, allocations: 194.1 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1321, allocations: 29.7 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1322, allocations: 96.14 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1322, allocations: 39.45 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1322, allocations: 0 / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.1323, allocations: 330.8 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1324, allocations: 59.95 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1326, allocations: 63.95 kB / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1327, allocations: 67.97 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1327, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003127/0.133, allocations: 189.3 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1331, allocations: 4 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1331, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1331, allocations: 4 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1332, allocations: 31.98 kB / 476.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1332, allocations: 0 / 476.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.1333, allocations: 15.94 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1333, allocations: 4 kB / 476.9 MB, free: 8.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.1334, allocations: 130.4 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1334, allocations: 15.91 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.1338, allocations: 202.5 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1339, allocations: 8 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1339, allocations: 0 / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1339, allocations: 3.984 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.1346, allocations: 0.5194 MB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1346, allocations: 0 / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.1347, allocations: 27.98 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1347, allocations: 0 / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1347, allocations: 8.062 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1347, allocations: 3.953 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1347, allocations: 0 / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1351, allocations: 292.9 kB / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.1351, allocations: 89 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1352, allocations: 192 / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.1353, allocations: 23.98 kB / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.1353, allocations: 15.94 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1353, allocations: 4 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1354, allocations: 144.1 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.1355, allocations: 0 / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1357, allocations: 31.92 kB / 478.4 MB, free: 6.543 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 (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.00151/0.1372, allocations: 1.175 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1376, allocations: 139.9 kB / 479.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1376, allocations: 0 / 479.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1377, allocations: 87.95 kB / 479.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1381, allocations: 22.59 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1395, allocations: 0.9143 MB / 480.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1398, allocations: 0.716 MB / 481.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.1399, allocations: 36.52 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1399, allocations: 31.42 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1399, allocations: 0 / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.153, allocations: 2.93 MB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.1532, allocations: 224.6 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.96, allocations: 0 / 484.6 MB, free: 452 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat