Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001336/0.001335, allocations: 97.38 kB / 16.98 MB, free: 5.938 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.001469/0.00147, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.452/1.452, allocations: 223.2 MB / 241.8 MB, free: 392 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.2016/0.2016, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002726, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1487, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002617/0.1514, allocations: 1.33 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.1523, allocations: 371.5 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1524, allocations: 0 / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1526, allocations: 55.86 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1528, allocations: 55.73 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1532, allocations: 115.2 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1534, allocations: 47.94 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1535, allocations: 11.98 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1535, allocations: 27.86 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1537, allocations: 35.83 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1537, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1538, allocations: 27.98 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1539, allocations: 27.86 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.1539, allocations: 33.7 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1541, allocations: 88.03 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1541, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1541, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1541, allocations: 0 / 473.8 MB, free: 11.43 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.0006041/0.1547, allocations: 399 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/0.1548, allocations: 12.03 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.1549, allocations: 34.55 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1549, allocations: 11.91 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1552, allocations: 194.8 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1552, allocations: 8 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1552, allocations: 7.859 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1555, allocations: 69.61 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1555, allocations: 0 / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1555, allocations: 4 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1555, allocations: 0 / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1557, allocations: 47.97 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.1562, allocations: 304.8 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1565, allocations: 58.55 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1565, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.1567, allocations: 34.69 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1567, allocations: 7.938 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002164/0.1589, allocations: 460.8 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.1589, allocations: 55.41 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1592, allocations: 198.2 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1593, allocations: 29.7 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1593, allocations: 104.1 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.1594, allocations: 39.39 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.1594, allocations: 0 / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1596, allocations: 326.8 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1598, allocations: 47.97 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.16, allocations: 51.97 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.1602, allocations: 56.3 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1602, allocations: 3.938 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005018/0.1608, allocations: 165.3 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1608, allocations: 4 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1608, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1608, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.161, allocations: 32.53 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.161, allocations: 4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1612, allocations: 19.98 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1612, allocations: 7.953 kB / 476.5 MB, free: 8.461 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.0001398/0.1614, allocations: 126.4 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.1614, allocations: 15.91 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/0.162, allocations: 186.1 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.162, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.162, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.162, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.163, allocations: 492 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1631, allocations: 3.984 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1632, allocations: 32.05 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1633, allocations: 0 / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1633, allocations: 4 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1633, allocations: 3.953 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1633, allocations: 0 / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.1639, allocations: 300.3 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.164, allocations: 92.97 kB / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.164, allocations: 3.984 kB / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1642, allocations: 16 kB / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.1643, allocations: 7.984 kB / 477.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1643, allocations: 4 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1645, allocations: 152.1 kB / 477.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1645, allocations: 3.938 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.165, allocations: 23.98 kB / 477.9 MB, free: 6.895 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.002439/0.1674, allocations: 1.306 MB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.1679, allocations: 127.9 kB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.168, allocations: 0 / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.1682, allocations: 68.03 kB / 479.4 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.0003684/0.1686, allocations: 15.98 kB / 479.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1707, allocations: 0.8406 MB / 480.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1712, allocations: 0.7199 MB / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1713, allocations: 16.55 kB / 481 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.1714, allocations: 35.42 kB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1714, allocations: 0 / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.1875, allocations: 2.816 MB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.1878, allocations: 215.7 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.961, allocations: 64 / 484.1 MB, free: 0.8945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat does not exist to compare? outputFormat=mat