Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.00108/0.00108, allocations: 98.3 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.001281/0.001281, 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.396/1.396, allocations: 223.2 MB / 241.9 MB, free: 264 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.2077/0.2077, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 13.16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002204/0.1419, allocations: 1.33 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.1427, allocations: 383.6 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1428, allocations: 4 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1432, allocations: 67.83 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1433, allocations: 51.89 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1437, allocations: 115.2 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1439, allocations: 67.77 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.144, allocations: 23.97 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.1441, allocations: 23.91 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.1442, allocations: 51.75 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1442, allocations: 4 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.1443, allocations: 43.94 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.1444, allocations: 15.92 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.1444, allocations: 37.64 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1446, allocations: 88.08 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1446, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1446, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1446, allocations: 4 kB / 473.9 MB, free: 11.32 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.0005318/0.1451, allocations: 406.9 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1452, allocations: 12.03 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.1452, allocations: 34.56 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1453, allocations: 15.8 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1455, allocations: 195.6 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1455, allocations: 8 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1456, allocations: 3.953 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1458, allocations: 77.61 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1458, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1458, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1458, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.146, allocations: 47.97 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1464, allocations: 304.7 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1466, allocations: 66.52 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.1467, allocations: 32.97 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1468, allocations: 0 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.1468, allocations: 34.56 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1468, allocations: 0 / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001421/0.1482, allocations: 468.7 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1483, allocations: 55.39 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1485, allocations: 211.3 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1486, allocations: 29.7 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1486, allocations: 108.1 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1487, allocations: 39.39 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.1487, allocations: 0 / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1488, allocations: 326.8 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.149, allocations: 47.97 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1491, allocations: 55.97 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1492, allocations: 55.91 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1493, allocations: 7.938 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003029/0.1496, allocations: 149.5 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1496, allocations: 8 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1496, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1496, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1497, allocations: 35.92 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1498, allocations: 0 / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.1498, allocations: 19.94 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1499, allocations: 0.5625 kB / 476.7 MB, free: 8.289 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.0001187/0.15, allocations: 134.4 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.15, allocations: 11.91 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.1504, allocations: 187.2 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1504, allocations: 4 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1504, allocations: 4 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1505, allocations: 0 / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.1511, allocations: 488 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1512, allocations: 7.984 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.1513, allocations: 36.05 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1513, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1513, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1513, allocations: 7.953 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1513, allocations: 0 / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1517, allocations: 276.9 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.1517, allocations: 89 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1518, allocations: 4 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.1519, allocations: 16 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1519, allocations: 11.94 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1519, allocations: 7.984 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1521, allocations: 156.9 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1521, allocations: 4 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1523, allocations: 24 kB / 478.2 MB, free: 6.738 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.001671/0.154, allocations: 1.153 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.1543, allocations: 119.9 kB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1543, allocations: 0 / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1545, allocations: 79.83 kB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1549, allocations: 19.95 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1563, allocations: 0.8912 MB / 480.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1567, allocations: 0.7276 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.1567, allocations: 12.55 kB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.1568, allocations: 35.42 kB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1568, allocations: 4 kB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.1725, allocations: 2.912 MB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.1727, allocations: 212.7 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.125, allocations: 4 kB / 484.3 MB, free: 0.75 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat does not exist to compare? outputFormat=mat