Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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 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 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 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001209/0.001209, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.7 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4081/0.4081, allocations: 43.54 MB / 314.5 MB, free: 8.633 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009229/0.000923, allocations: 12 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1703, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002722/0.1731, allocations: 1.622 MB / 444.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1745, allocations: 0.6045 MB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1746, allocations: 0 / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.1752, allocations: 243.3 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1756, allocations: 175.5 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1769, allocations: 0.5576 MB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.1773, allocations: 195.5 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.1775, allocations: 64.69 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1777, allocations: 107.5 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1779, allocations: 147.5 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.178, allocations: 4 kB / 446.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1781, allocations: 43.86 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1783, allocations: 83.67 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.1783, allocations: 69.52 kB / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1787, allocations: 223.6 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1787, allocations: 0 / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1787, allocations: 0 / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1787, allocations: 0 / 447 MB, free: 8.875 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001078/0.1798, allocations: 0.6107 MB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.1799, allocations: 8.031 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.34e-05/0.18, allocations: 42.56 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.1801, allocations: 51.38 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1805, allocations: 305.2 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1806, allocations: 4 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.1806, allocations: 15.91 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1809, allocations: 129.5 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1809, allocations: 4 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.181, allocations: 4 kB / 448.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.181, allocations: 7.953 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.1812, allocations: 99.86 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.1821, allocations: 0.5197 MB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1823, allocations: 106.5 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.1823, allocations: 4 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1824, allocations: 38.48 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1824, allocations: 0 / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001055/0.1835, allocations: 448.1 kB / 449.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1835, allocations: 63.3 kB / 449.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.1844, allocations: 0.5525 MB / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1844, allocations: 29.7 kB / 450 MB, free: 5.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1846, allocations: 204.4 kB / 450.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.1847, allocations: 63.09 kB / 450.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.1847, allocations: 0 / 450.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1849, allocations: 350.8 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.1851, allocations: 75.95 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1852, allocations: 67.95 kB / 450.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1854, allocations: 75.41 kB / 450.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1854, allocations: 4 kB / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004488/0.1858, allocations: 237 kB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1859, allocations: 4 kB / 451 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1859, allocations: 7.922 kB / 451 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1859, allocations: 0 / 451 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1861, allocations: 35.98 kB / 451.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1861, allocations: 0 / 451.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1863, allocations: 15.95 kB / 451.1 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1863, allocations: 11.98 kB / 451.1 MB, free: 4.5 MB / 382.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 (17): * Single equations (assignments): 17 * 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.000169/0.1865, allocations: 181.7 kB / 451.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1865, allocations: 43.42 kB / 451.3 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.1871, allocations: 289.4 kB / 451.6 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1871, allocations: 0 / 451.6 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1871, allocations: 0 / 451.6 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1871, allocations: 7.984 kB / 451.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.188, allocations: 0.6816 MB / 452.3 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1881, allocations: 4 kB / 452.3 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1882, allocations: 39.92 kB / 452.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1882, allocations: 0 / 452.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1882, allocations: 7.938 kB / 452.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1882, allocations: 4 kB / 452.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1882, allocations: 3.938 kB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.1887, allocations: 338.3 kB / 452.7 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1888, allocations: 124.6 kB / 452.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1888, allocations: 0 / 452.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1889, allocations: 15.95 kB / 452.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.189, allocations: 15.97 kB / 452.8 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.189, allocations: 11.94 kB / 452.8 MB, free: 2.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.1895, allocations: 411.1 kB / 453.2 MB, free: 2.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1895, allocations: 0 / 453.2 MB, free: 2.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1898, allocations: 47.98 kB / 453.3 MB, free: 2.203 MB / 382.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 (17): * Single equations (assignments): 17 * 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.002245/0.1921, allocations: 1.468 MB / 454.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004072/0.1925, allocations: 171.8 kB / 454.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1925, allocations: 0 / 454.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1927, allocations: 99.88 kB / 455 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1932, allocations: 61.47 kB / 455.1 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2466/0.4399, allocations: 2.052 MB / 457.1 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4402, allocations: 0.83 MB / 458 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.4404, allocations: 58.56 kB / 458 MB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.4406, allocations: 125.2 kB / 458.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4406, allocations: 0 / 458.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.4614, allocations: 6.768 MB / 464.9 MB, free: 44.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.4617, allocations: 218.6 kB / 465.1 MB, free: 44.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.324, allocations: 0 / 465.1 MB, free: 44.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat