Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.0007882/0.0007882, allocations: 98.56 kB / 17 MB, free: 6.418 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.0008114/0.0008115, allocations: 188.6 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.366/1.366, allocations: 223.2 MB / 241.9 MB, free: 224 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.273/0.273, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002741/0.1405, allocations: 1.333 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1415, allocations: 415.5 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1416, allocations: 0 / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.142, allocations: 51.86 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1422, allocations: 55.81 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.1428, allocations: 155 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1431, allocations: 63.83 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1432, allocations: 19.98 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.1433, allocations: 35.84 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1434, allocations: 35.78 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1434, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1436, allocations: 47.97 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.1436, allocations: 15.92 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1437, allocations: 45.64 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1439, allocations: 80.09 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1439, allocations: 4 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1439, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1439, allocations: 0 / 474 MB, free: 11.27 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.0006501/0.1446, allocations: 407 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.1447, allocations: 8.031 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.1447, allocations: 34.56 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.1448, allocations: 19.81 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1451, allocations: 194.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1451, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1451, allocations: 7.953 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1454, allocations: 69.66 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1454, allocations: 7.938 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1454, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1454, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1457, allocations: 51.97 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.1463, allocations: 332.6 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1467, allocations: 62.55 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1468, allocations: 29.06 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1469, allocations: 7.938 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1469, allocations: 38.5 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1469, allocations: 0 / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001917/0.1488, allocations: 497.2 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1489, allocations: 51.41 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1492, allocations: 202.1 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1492, allocations: 29.7 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1494, allocations: 108 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.1494, allocations: 35.45 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1494, allocations: 4 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1496, allocations: 326.8 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.1499, allocations: 59.95 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1501, allocations: 67.91 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1503, allocations: 71.89 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1503, allocations: 4 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000472/0.1508, allocations: 173.5 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1508, allocations: 6.5 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1509, allocations: 0 / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1509, allocations: 0 / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.151, allocations: 35.97 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.151, allocations: 0 / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.1511, allocations: 19.94 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1511, allocations: 8 kB / 476.9 MB, free: 8.137 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 0.0001105/0.1513, allocations: 134.2 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1513, allocations: 15.81 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.1517, allocations: 198.3 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1517, allocations: 4 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1518, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1518, allocations: 4 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.1526, allocations: 0.5155 MB / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1526, allocations: 0 / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1527, allocations: 35.91 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1527, allocations: 0 / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1527, allocations: 8 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.1527, allocations: 3.953 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1527, allocations: 64 / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.1531, allocations: 297.5 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1532, allocations: 85.02 kB / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1532, allocations: 7.984 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1533, allocations: 12 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.1534, allocations: 15.88 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.1534, allocations: 8.188 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1535, allocations: 147.2 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1538, allocations: 35.89 kB / 478.4 MB, free: 6.512 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.001591/0.1554, allocations: 1.168 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.1558, allocations: 147.8 kB / 479.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1558, allocations: 0 / 479.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1559, allocations: 76.02 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1563, allocations: 30.91 kB / 479.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1579, allocations: 0.9193 MB / 480.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1582, allocations: 0.7162 MB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.937e-05/0.1583, allocations: 36.38 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1584, allocations: 43.36 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1584, allocations: 0 / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1723, allocations: 2.962 MB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.1725, allocations: 216.6 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.969, allocations: 0 / 484.7 MB, free: 384 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat