Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.0009513/0.0009513, allocations: 96.64 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.001004/0.001005, allocations: 183.2 kB / 17.87 MB, free: 5.609 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.371/1.371, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2234/0.2234, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002234/0.153, allocations: 1.345 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.1538, allocations: 395.5 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.154, allocations: 4 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1542, allocations: 19.84 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1544, allocations: 35.89 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.1549, allocations: 114.9 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1551, allocations: 51.88 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1552, allocations: 16.2 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.552e-05/0.1553, allocations: 27.86 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1554, allocations: 31.84 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1554, allocations: 7.938 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1555, allocations: 35.91 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1556, allocations: 15.92 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.1556, allocations: 37.7 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1558, allocations: 84.08 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1558, allocations: 4 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1558, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1559, allocations: 0 / 473.8 MB, free: 11.42 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.0006496/0.1565, allocations: 423 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1566, allocations: 8.031 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1566, allocations: 38.55 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.1567, allocations: 11.81 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1569, allocations: 187 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1569, allocations: 3.953 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.157, allocations: 4 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1573, allocations: 107.3 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1573, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1573, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1573, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1576, allocations: 91.92 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.1581, allocations: 320.7 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1584, allocations: 74.47 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1585, allocations: 8 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1585, allocations: 34.69 kB / 475 MB, free: 9.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1585, allocations: 0 / 475 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001671/0.1602, allocations: 476.8 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1602, allocations: 81.11 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1604, allocations: 156.4 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1604, allocations: 25.7 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.1605, allocations: 96.33 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1605, allocations: 35.48 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.1606, allocations: 0 / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1607, allocations: 326.8 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.161, allocations: 91.92 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1613, allocations: 113.7 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.1616, allocations: 91.95 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1616, allocations: 0 / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006383/0.1622, allocations: 237.3 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1623, allocations: 12 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1623, allocations: 0 / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1623, allocations: 3.984 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1625, allocations: 47.95 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1625, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1627, allocations: 35.97 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1627, allocations: 8 kB / 476.8 MB, free: 8.098 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 (10): * Single equations (assignments): 10 * 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.000115/0.1629, allocations: 126.2 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1629, allocations: 7.906 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.1636, allocations: 250.1 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1636, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1637, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1637, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1647, allocations: 0.5338 MB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1647, allocations: 3.984 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1649, allocations: 43.97 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1649, allocations: 4 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1649, allocations: 96 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1649, allocations: 3.938 kB / 477.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1649, allocations: 7.891 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.1657, allocations: 327.3 kB / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1657, allocations: 92.91 kB / 478.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1658, allocations: 4 kB / 478.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1659, allocations: 39.91 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.166, allocations: 12.36 kB / 478.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.166, allocations: 7.953 kB / 478.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1662, allocations: 116.9 kB / 478.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 478.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1665, allocations: 35.98 kB / 478.4 MB, free: 6.395 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 (9): * Single equations (assignments): 9 * 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.001926/0.1684, allocations: 1.193 MB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.1691, allocations: 203.7 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1691, allocations: 0 / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.1694, allocations: 99.92 kB / 479.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1697, allocations: 22.03 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.1705, allocations: 466.9 kB / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1709, allocations: 0.7004 MB / 481.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.171, allocations: 20.55 kB / 481.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.1711, allocations: 31.42 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1711, allocations: 0 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1873, allocations: 3.104 MB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.1875, allocations: 227.6 kB / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.983, allocations: 0 / 484.5 MB, free: 0.5586 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat