Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.0009072/0.0009073, allocations: 96.38 kB / 16.99 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.0009223/0.0009222, allocations: 177.9 kB / 17.88 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 396 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.2301/0.2301, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002501/0.1262, allocations: 1.661 MB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1279, allocations: 0.9284 MB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.128, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1282, allocations: 31.72 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1285, allocations: 143.6 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.1293, allocations: 387.6 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1296, allocations: 183.4 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1297, allocations: 56.83 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1299, allocations: 107.5 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1301, allocations: 151.5 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1301, allocations: 4 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1302, allocations: 43.92 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1304, allocations: 127.6 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.1305, allocations: 77.45 kB / 475.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1308, allocations: 291.7 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1308, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1308, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1308, allocations: 0 / 475.7 MB, free: 9.473 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001041/0.1319, allocations: 0.7309 MB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1319, allocations: 12.03 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.132, allocations: 50.48 kB / 476.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.132, allocations: 55.25 kB / 476.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.1326, allocations: 427.1 kB / 477 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1326, allocations: 8 kB / 477 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.1326, allocations: 11.95 kB / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1329, allocations: 155.2 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.133, allocations: 3.906 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.133, allocations: 8 kB / 477.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.133, allocations: 0 / 477.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.1333, allocations: 115.9 kB / 477.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.1342, allocations: 0.6917 MB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1344, allocations: 125.2 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1345, allocations: 8 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1345, allocations: 34.69 kB / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1345, allocations: 3.938 kB / 478.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001901/0.1364, allocations: 0.7446 MB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.1365, allocations: 89.05 kB / 479 MB, free: 6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.1374, allocations: 0.8662 MB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1375, allocations: 33.7 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1377, allocations: 256.3 kB / 480.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.1377, allocations: 71.08 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.1378, allocations: 0 / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1379, allocations: 370.8 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1382, allocations: 111.9 kB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1385, allocations: 125.6 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.1388, allocations: 111.9 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1388, allocations: 0 / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006685/0.1394, allocations: 336.7 kB / 481.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1395, allocations: 11.98 kB / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1395, allocations: 192 / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1395, allocations: 0 / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.1398, allocations: 64.23 kB / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1398, allocations: 0 / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.14, allocations: 35.97 kB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1401, allocations: 7.938 kB / 481.3 MB, free: 3.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002142/0.1403, allocations: 214.2 kB / 481.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.1404, allocations: 51.34 kB / 481.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/0.1412, allocations: 389.9 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1412, allocations: 4 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1412, allocations: 0 / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1412, allocations: 0 / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1425, allocations: 0.919 MB / 482.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1426, allocations: 4 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.1428, allocations: 63.89 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1428, allocations: 0 / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1428, allocations: 4 kB / 483 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1428, allocations: 3.984 kB / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1429, allocations: 7.984 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.1436, allocations: 0.5138 MB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.1438, allocations: 156.3 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1439, allocations: 8 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1441, allocations: 27.97 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.1442, allocations: 31.89 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1442, allocations: 8 kB / 483.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007235/0.145, allocations: 0.6354 MB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.145, allocations: 4 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.1454, allocations: 60 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001774/0.1471, allocations: 1.396 MB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.1478, allocations: 266.6 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1478, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1481, allocations: 139.8 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1486, allocations: 66.95 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.1533, allocations: 3.399 MB / 489.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1538, allocations: 0.8725 MB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.154, allocations: 87.22 kB / 490.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.1542, allocations: 175.4 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1542, allocations: 0 / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1758, allocations: 8.955 MB / 499.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.1761, allocations: 219.8 kB / 500 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.029, allocations: 0 / 500 MB, free: 0.9883 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat