Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.0008349/0.0008349, allocations: 92.19 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.000821/0.0008212, 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.452/1.452, allocations: 223.3 MB / 241.9 MB, free: 300 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.2316/0.2316, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001912/0.1199, allocations: 1.31 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.1205, allocations: 387.6 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.1206, allocations: 0 / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.1211, allocations: 443.2 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1215, allocations: 239.5 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1218, allocations: 115.5 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.122, allocations: 139.6 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.1221, allocations: 8.172 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1222, allocations: 103.8 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1225, allocations: 167.7 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1225, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.1226, allocations: 27.98 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1227, allocations: 87.69 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.1228, allocations: 61.52 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.123, allocations: 191.9 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.123, allocations: 0 / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.123, allocations: 0 / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.123, allocations: 4 kB / 474.9 MB, free: 10.36 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.0006285/0.1236, allocations: 0.5911 MB / 475.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1237, allocations: 12.03 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1237, allocations: 42.48 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.1238, allocations: 47.38 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.124, allocations: 271.4 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.124, allocations: 4 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1241, allocations: 7.953 kB / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1242, allocations: 61.67 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1243, allocations: 3.906 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1243, allocations: 4 kB / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1243, allocations: 0 / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1244, allocations: 51.84 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.1249, allocations: 392.7 kB / 476.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.125, allocations: 46.56 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.125, allocations: 28.94 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1251, allocations: 0 / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1251, allocations: 34.56 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1251, allocations: 3.938 kB / 476.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007739/0.1259, allocations: 316 kB / 476.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1259, allocations: 59.34 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.1268, allocations: 0.8574 MB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1268, allocations: 29.7 kB / 477.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1269, allocations: 212 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.127, allocations: 23.64 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.127, allocations: 4 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1271, allocations: 362.8 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1272, allocations: 43.97 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.1273, allocations: 36.05 kB / 478.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1274, allocations: 52.11 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1274, allocations: 0 / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.1277, allocations: 161.1 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1278, allocations: 4 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1278, allocations: 0 / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1278, allocations: 0 / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1279, allocations: 27.92 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1279, allocations: 0 / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.128, allocations: 15.98 kB / 478.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.128, allocations: 8 kB / 478.7 MB, free: 6.367 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 (7): * Single equations (assignments): 7 * 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.0001737/0.1282, allocations: 210.3 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1282, allocations: 35.53 kB / 478.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.1286, allocations: 193.6 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1286, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1286, allocations: 7.922 kB / 479.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1286, allocations: 0 / 479.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.1292, allocations: 0.5062 MB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1293, allocations: 3.938 kB / 479.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.1293, allocations: 31.92 kB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1294, allocations: 4 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1294, allocations: 0 / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1294, allocations: 0 / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1294, allocations: 0 / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1297, allocations: 262.8 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.1298, allocations: 108.6 kB / 480 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1298, allocations: 8 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1299, allocations: 15.98 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.13, allocations: 4 kB / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.13, allocations: 0 / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005655/0.1305, allocations: 0.6511 MB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 0 / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1308, allocations: 27.98 kB / 480.7 MB, free: 4.207 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 (7): * Single equations (assignments): 7 * 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.001319/0.1321, allocations: 1.104 MB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.1324, allocations: 91.95 kB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1324, allocations: 0 / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1326, allocations: 55.91 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1329, allocations: 25.89 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1357, allocations: 2.386 MB / 484.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1361, allocations: 0.8301 MB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.834e-05/0.1362, allocations: 4.672 kB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1363, allocations: 111.4 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1363, allocations: 0 / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1518, allocations: 5.46 MB / 490.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.152, allocations: 233.6 kB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.054, allocations: 0 / 491 MB, free: 10.06 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat does not exist to compare? outputFormat=mat