Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.0009016/0.0009014, allocations: 94.58 kB / 17 MB, free: 6.418 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.001118/0.001119, allocations: 188.8 kB / 17.89 MB, free: 5.945 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.453/1.453, allocations: 223.2 MB / 241.9 MB, free: 312 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.2282/0.2282, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003132, allocations: 9.094 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003069/0.1718, allocations: 1.305 MB / 473 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.173, allocations: 411.5 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1731, allocations: 0 / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008344/0.174, allocations: 443.2 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.1745, allocations: 247.5 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.1751, allocations: 150.9 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1755, allocations: 131.7 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1756, allocations: 16.17 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1758, allocations: 99.78 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1761, allocations: 171.7 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1761, allocations: 0 / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1762, allocations: 23.94 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1764, allocations: 83.73 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.1765, allocations: 65.45 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1768, allocations: 195.9 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1769, allocations: 0 / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1769, allocations: 4 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1769, allocations: 3.938 kB / 475 MB, free: 10.32 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.001076/0.178, allocations: 0.5893 MB / 475.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.1781, allocations: 8.031 kB / 475.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.363e-05/0.1781, allocations: 42.53 kB / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.1782, allocations: 43.44 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.1787, allocations: 275.4 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1787, allocations: 0 / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1788, allocations: 15.86 kB / 475.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.179, allocations: 57.61 kB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1791, allocations: 4 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1791, allocations: 4 kB / 476 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1791, allocations: 0 / 476 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1793, allocations: 27.98 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.18, allocations: 400.7 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1803, allocations: 54.5 kB / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.1804, allocations: 16.86 kB / 476.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1804, allocations: 4.078 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1805, allocations: 34.56 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1805, allocations: 0 / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008892/0.1814, allocations: 251.9 kB / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1815, allocations: 55.34 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.1827, allocations: 0.8691 MB / 477.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1828, allocations: 25.7 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.183, allocations: 220.1 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1831, allocations: 19.73 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1831, allocations: 0 / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.1833, allocations: 370.8 kB / 478.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1835, allocations: 23.98 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1836, allocations: 23.98 kB / 478.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1837, allocations: 31.97 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1837, allocations: 3.938 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003378/0.184, allocations: 129.3 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1841, allocations: 6.5 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1841, allocations: 4.062 kB / 478.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1841, allocations: 0 / 478.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1842, allocations: 15.98 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1842, allocations: 0 / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1844, allocations: 12 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1844, allocations: 0 / 478.5 MB, free: 6.5 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 (5): * Single equations (assignments): 5 * 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.0002975/0.1847, allocations: 218.2 kB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.1848, allocations: 43.44 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.1852, allocations: 153 kB / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1852, allocations: 3.938 kB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1853, allocations: 0 / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1853, allocations: 4 kB / 479 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.1861, allocations: 482.4 kB / 479.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1861, allocations: 4 kB / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.1862, allocations: 15.98 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1862, allocations: 0 / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1862, allocations: 4 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1863, allocations: 0 / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1863, allocations: 0 / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1866, allocations: 230.9 kB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1868, allocations: 112.9 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.1868, allocations: 0 / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.187, allocations: 11.94 kB / 479.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.187, allocations: 8.156 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1871, allocations: 8 kB / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009974/0.1881, allocations: 0.6589 MB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1881, allocations: 3.938 kB / 480.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.1886, allocations: 20 kB / 480.5 MB, free: 4.438 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 (5): * Single equations (assignments): 5 * 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.002173/0.1908, allocations: 1.048 MB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1911, allocations: 63.91 kB / 481.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1911, allocations: 0 / 481.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1912, allocations: 31.98 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.1918, allocations: 26.3 kB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.1965, allocations: 2.365 MB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.1972, allocations: 0.8223 MB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1973, allocations: 23.97 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.1975, allocations: 107.5 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1975, allocations: 0 / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2211, allocations: 5.442 MB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.2214, allocations: 227.5 kB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.094, allocations: 0 / 490.6 MB, free: 10.42 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat