Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.0008586/0.0008585, allocations: 98.39 kB / 16.99 MB, free: 6.398 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.0008844/0.0008844, allocations: 184.1 kB / 17.87 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.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2033/0.2033, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 9 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001974/0.1452, allocations: 1.318 MB / 472.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.1459, allocations: 0.6447 MB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.146, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1462, allocations: 19.91 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1463, allocations: 27.91 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.1463, allocations: 0 / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1465, allocations: 27.89 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1465, allocations: 4 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.102e-05/0.1466, allocations: 8 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.1466, allocations: 15.92 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.198e-06/0.1467, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.1467, allocations: 8 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.1467, allocations: 11.94 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1468, allocations: 37.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1469, allocations: 52.12 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.1469, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1469, allocations: 4 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1469, allocations: 0 / 473.7 MB, free: 11.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000361/0.1473, allocations: 363.2 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1473, allocations: 8.031 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1474, allocations: 34.56 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1474, allocations: 7.906 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1476, allocations: 178.9 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1476, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1476, allocations: 7.891 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1478, allocations: 118.8 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1478, allocations: 0 / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1478, allocations: 7.984 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.1479, allocations: 23.92 kB / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.148, allocations: 39.91 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.1486, allocations: 0.8945 MB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.1487, allocations: 173.1 kB / 475.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1487, allocations: 83.28 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1488, allocations: 109.9 kB / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1488, allocations: 3.938 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.33e-05/0.1488, allocations: 37.55 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.1489, allocations: 126.7 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1491, allocations: 186.1 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1491, allocations: 29.69 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.1492, allocations: 151.1 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.1492, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1492, allocations: 4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1494, allocations: 322.8 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.1494, allocations: 35.97 kB / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1495, allocations: 154.9 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.1496, allocations: 67.92 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1496, allocations: 0 / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002804/0.1499, allocations: 197.8 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.15, allocations: 11.94 kB / 477 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.15, allocations: 4 kB / 477 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.15, allocations: 8 kB / 477 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1501, allocations: 35.92 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1501, allocations: 7.938 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.1502, allocations: 23.78 kB / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1502, allocations: 15.95 kB / 477.1 MB, free: 7.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001189/0.1504, allocations: 213.5 kB / 477.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1504, allocations: 116.9 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.1505, allocations: 116.8 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.836e-05/0.1506, allocations: 180.3 kB / 477.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-05/0.1506, allocations: 184.2 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.1507, allocations: 176.3 kB / 478.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1509, allocations: 429.2 kB / 478.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/0.151, allocations: 104.9 kB / 478.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.151, allocations: 105 kB / 478.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.814e-05/0.1511, allocations: 184.2 kB / 478.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.1511, allocations: 176.3 kB / 479.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-05/0.1512, allocations: 184.2 kB / 479.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.676e-05/0.1513, allocations: 188.3 kB / 479.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1514, allocations: 315.5 kB / 479.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.1515, allocations: 186 kB / 479.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.1516, allocations: 184.2 kB / 480.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.1517, allocations: 109 kB / 480.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1517, allocations: 180.2 kB / 480.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1518, allocations: 104.9 kB / 480.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.1519, allocations: 128.1 kB / 480.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1519, allocations: 0 / 480.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1522, allocations: 19.98 kB / 480.6 MB, free: 3.965 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 (0): * Single equations (assignments): 0 * 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.0009201/0.1531, allocations: 0.9172 MB / 481.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1533, allocations: 76.72 kB / 481.6 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1533, allocations: 320 / 481.6 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.1533, allocations: 7.938 kB / 481.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1537, allocations: 0.5302 MB / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.156, allocations: 3.626 MB / 485.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1563, allocations: 0.7009 MB / 486.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.1565, allocations: 53.02 kB / 486.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.1566, allocations: 27.36 kB / 486.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1566, allocations: 4 kB / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.1682, allocations: 1.884 MB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.1684, allocations: 219.6 kB / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.908, allocations: 0 / 488.7 MB, free: 11.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat does not exist to compare? outputFormat=mat