Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.0008609/0.000861, allocations: 96.27 kB / 16.99 MB, free: 5.941 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.001007/0.001007, allocations: 180.7 kB / 17.87 MB, free: 5.609 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.403/1.403, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2341/0.2341, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 8.625 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00267/0.1322, allocations: 1.614 MB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1337, allocations: 0.7252 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1338, allocations: 3.938 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.1343, allocations: 223.5 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1346, allocations: 175.5 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1356, allocations: 441.8 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.136, allocations: 183.6 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1363, allocations: 56.56 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1364, allocations: 107.5 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1367, allocations: 143.5 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1367, allocations: 4 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.1369, allocations: 63.86 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1371, allocations: 75.73 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.1371, allocations: 61.52 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1375, allocations: 243.8 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1375, allocations: 4 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1375, allocations: 0 / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1375, allocations: 0 / 475.6 MB, free: 9.551 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009336/0.1385, allocations: 0.5991 MB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1385, allocations: 12.03 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.1386, allocations: 42.55 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.1386, allocations: 43.44 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.139, allocations: 301.2 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.139, allocations: 8 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1391, allocations: 15.95 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.1393, allocations: 109.6 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1393, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1393, allocations: 11.94 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1393, allocations: 0 / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1395, allocations: 71.95 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.1402, allocations: 0.5002 MB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1403, allocations: 94.42 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.1404, allocations: 11.98 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1404, allocations: 30.56 kB / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1404, allocations: 0 / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001023/0.1415, allocations: 398.4 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.1415, allocations: 59.41 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.1421, allocations: 0.5447 MB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1422, allocations: 25.7 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1424, allocations: 208.3 kB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.1424, allocations: 55.14 kB / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.1424, allocations: 4 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1426, allocations: 354.8 kB / 479.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1427, allocations: 51.97 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1428, allocations: 51.97 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.143, allocations: 59.98 kB / 479.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.143, allocations: 0 / 479.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003092/0.1433, allocations: 207.2 kB / 479.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1433, allocations: 4 kB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1433, allocations: 0 / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1433, allocations: 3.984 kB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1435, allocations: 39.92 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1435, allocations: 4 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.1436, allocations: 12 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1436, allocations: 7.984 kB / 479.5 MB, free: 5.434 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 (17): * Single equations (assignments): 17 * 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.0001599/0.1438, allocations: 170.3 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.1438, allocations: 43.39 kB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.1443, allocations: 245.4 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1443, allocations: 0 / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1443, allocations: 0 / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1443, allocations: 3.984 kB / 480 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007777/0.1451, allocations: 0.6328 MB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1451, allocations: 0 / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1452, allocations: 35.98 kB / 480.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1452, allocations: 4 kB / 480.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1453, allocations: 7.938 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1453, allocations: 8 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1453, allocations: 0 / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1456, allocations: 310.8 kB / 481 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1458, allocations: 124.6 kB / 481.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1458, allocations: 4 kB / 481.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.1459, allocations: 8 kB / 481.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.146, allocations: 11.98 kB / 481.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.146, allocations: 7.984 kB / 481.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.1464, allocations: 411.1 kB / 481.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1464, allocations: 0 / 481.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000312/0.1467, allocations: 44 kB / 481.6 MB, free: 3.285 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 (17): * Single equations (assignments): 17 * 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.002248/0.149, allocations: 1.439 MB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.1494, allocations: 142.6 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1494, allocations: 0 / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1495, allocations: 79.91 kB / 483.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1499, allocations: 61.5 kB / 483.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.1526, allocations: 1.924 MB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.153, allocations: 0.8106 MB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1531, allocations: 49.92 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1533, allocations: 123.3 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1533, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.1708, allocations: 6.559 MB / 492.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.171, allocations: 210.7 kB / 492.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.939, allocations: 4 kB / 492.9 MB, free: 8.203 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat