Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 187.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.4 MB / 222.5 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 94.84 kB / 270.9 MB, free: 13.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3303/0.3303, allocations: 43.56 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006849/0.0006849, allocations: 19.98 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1675, allocations: 58.86 MB / 490.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003679/0.1712, allocations: 1.345 MB / 491.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1727, allocations: 323.7 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.1728, allocations: 0 / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1731, allocations: 27.84 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1734, allocations: 35.88 kB / 492 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.1744, allocations: 143.7 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1747, allocations: 55.84 kB / 492.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1749, allocations: 12.23 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.175, allocations: 27.86 kB / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.876e-05/0.1751, allocations: 31.83 kB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1752, allocations: 4 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1754, allocations: 39.92 kB / 492.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.1755, allocations: 19.92 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.1756, allocations: 37.64 kB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1759, allocations: 92.06 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1759, allocations: 0 / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.176, allocations: 0 / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.176, allocations: 0 / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001157/0.1771, allocations: 419 kB / 492.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.1772, allocations: 8.031 kB / 492.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.1773, allocations: 30.56 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.1774, allocations: 19.77 kB / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.1779, allocations: 187 kB / 493.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1779, allocations: 4 kB / 493.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1779, allocations: 0 / 493.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1786, allocations: 119.3 kB / 493.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1786, allocations: 0 / 493.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1787, allocations: 0 / 493.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1787, allocations: 4 kB / 493.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.1795, allocations: 103.9 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1807, allocations: 344.7 kB / 493.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1813, allocations: 86.53 kB / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.1814, allocations: 0 / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.1815, allocations: 30.56 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.425e-06/0.1815, allocations: 7.938 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.004317/0.1858, allocations: 497.1 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.186, allocations: 77.19 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1863, allocations: 150.4 kB / 494.5 MB, free: 4.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.1864, allocations: 25.7 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1865, allocations: 166.5 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.1866, allocations: 23.56 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.1866, allocations: 4 kB / 494.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1868, allocations: 322.8 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.1876, allocations: 87.92 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.1885, allocations: 117.6 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.1893, allocations: 104 kB / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1893, allocations: 0 / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001807/0.1912, allocations: 229.7 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1912, allocations: 6.656 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1913, allocations: 7.922 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1913, allocations: 4 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.1919, allocations: 43.97 kB / 495.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1919, allocations: 4 kB / 495.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.1924, allocations: 39.95 kB / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1925, allocations: 4 kB / 495.7 MB, free: 3.562 MB / 330.7 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 (8): * Single equations (assignments): 8 * 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.0002239/0.1927, allocations: 125.8 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/0.1928, allocations: 11.86 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.1947, allocations: 258.5 kB / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1948, allocations: 0 / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1948, allocations: 0 / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1948, allocations: 3.984 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.1972, allocations: 0.5373 MB / 496.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.425e-06/0.1973, allocations: 0 / 496.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.1978, allocations: 55.95 kB / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.1978, allocations: 0 / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1979, allocations: 0 / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1979, allocations: 0 / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1979, allocations: 0 / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.1997, allocations: 339.2 kB / 497 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1998, allocations: 92.95 kB / 497.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1999, allocations: 4 kB / 497.1 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.2004, allocations: 31.97 kB / 497.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2005, allocations: 7.984 kB / 497.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.2006, allocations: 8 kB / 497.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.2008, allocations: 116.6 kB / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2008, allocations: 0 / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006551/0.2015, allocations: 35.92 kB / 497.3 MB, free: 1.848 MB / 330.7 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 (8): * Single equations (assignments): 8 * 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.004214/0.2057, allocations: 1.207 MB / 498.5 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.2076, allocations: 211.8 kB / 498.7 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.2076, allocations: 0 / 498.7 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.2085, allocations: 103.9 kB / 498.8 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2091, allocations: 19.98 kB / 498.8 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.2138, allocations: 0.9109 MB / 499.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.2145, allocations: 0.7043 MB / 0.4887 GB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.2147, allocations: 35.42 kB / 0.4888 GB, free: 14.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2148, allocations: 4 kB / 0.4888 GB, free: 14.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.941/3.156, allocations: 2.719 MB / 0.4914 GB, free: 11.89 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat