Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001026/0.001026, allocations: 100.9 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.0008829/0.000883, allocations: 188.4 kB / 17.88 MB, free: 5.59 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.4/1.4, allocations: 223.2 MB / 241.8 MB, free: 384 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.2134/0.2134, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003529, allocations: 9.125 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002119/0.132, allocations: 1.31 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.1327, allocations: 375.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1328, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.1333, allocations: 439.2 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.1336, allocations: 235.5 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1339, allocations: 111.3 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1341, allocations: 111.8 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1342, allocations: 24.05 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1343, allocations: 95.8 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1346, allocations: 147.7 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1346, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.1347, allocations: 16 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1348, allocations: 83.73 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.1349, allocations: 73.44 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1351, allocations: 184 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1351, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1351, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1351, allocations: 0 / 474.7 MB, free: 10.47 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.0008716/0.136, allocations: 0.5948 MB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.1361, allocations: 12.03 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1361, allocations: 34.56 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.1362, allocations: 43.42 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1366, allocations: 275.4 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1366, allocations: 0 / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1367, allocations: 7.953 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1368, allocations: 57.62 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1369, allocations: 0 / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1369, allocations: 0 / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1369, allocations: 4 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.137, allocations: 23.98 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1377, allocations: 392.7 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1379, allocations: 46.5 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.138, allocations: 4.078 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.138, allocations: 30.56 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.138, allocations: 0 / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006708/0.1387, allocations: 244 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1387, allocations: 55.41 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.1396, allocations: 0.8652 MB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1396, allocations: 25.7 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1398, allocations: 228 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1399, allocations: 15.75 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.1399, allocations: 0 / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1401, allocations: 366.7 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.1401, allocations: 23.98 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1402, allocations: 23.98 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.1403, allocations: 28.17 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1403, allocations: 0 / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000209/0.1405, allocations: 121.1 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1405, allocations: 8 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1406, allocations: 0 / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1406, allocations: 0 / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.1407, allocations: 15.98 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1407, allocations: 3.938 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.1407, allocations: 8 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1407, allocations: 4 kB / 478.2 MB, free: 6.727 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 (5): * Single equations (assignments): 5 * 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.0001986/0.1409, allocations: 218.2 kB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.141, allocations: 39.44 kB / 478.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1413, allocations: 145.3 kB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1413, allocations: 0 / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1413, allocations: 0 / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1413, allocations: 11.91 kB / 478.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1419, allocations: 466.4 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1419, allocations: 3.938 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1419, allocations: 12 kB / 479.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.142, allocations: 3.984 kB / 479.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.142, allocations: 4 kB / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.142, allocations: 0 / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.142, allocations: 0 / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1423, allocations: 223.1 kB / 479.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.1424, allocations: 116.5 kB / 479.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1424, allocations: 8.062 kB / 479.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.1425, allocations: 4 kB / 479.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.1426, allocations: 11.98 kB / 479.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1426, allocations: 0 / 479.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006892/0.1433, allocations: 0.6511 MB / 480.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.328e-06/0.1433, allocations: 0 / 480.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1436, allocations: 27.94 kB / 480.1 MB, free: 4.699 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 (5): * Single equations (assignments): 5 * 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.001622/0.1452, allocations: 1.045 MB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1455, allocations: 63.95 kB / 481.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1455, allocations: 3.938 kB / 481.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.1456, allocations: 27.98 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1459, allocations: 21.97 kB / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.1492, allocations: 2.223 MB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1496, allocations: 0.8262 MB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.1497, allocations: 15.97 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1498, allocations: 99.41 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1498, allocations: 3.938 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.1675, allocations: 5.364 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.1678, allocations: 221 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.944, allocations: 3.938 kB / 490 MB, free: 10.92 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat